Example Code

Custom NI Security Dialogue using NI LabVIEW Datalogging and Supervisory Control Module and LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

 

Overview

This VI pops up a login prompt that allows a user to log into their domain account configured with DSC Security Tool (Tools » Security » Domain Account Manager). The login screen disappears after a specified Login Timeout.

 

Description

This example show how to implement a custom dialog and handle incorrect user inputs.
The domain and account has to be configured with the DSC Security Tool: Tools»Security»Domain Account Manager. In the following Link is a description:

Enhanced System Security with the LabVIEW Datalogging and Supervisory Control Module

Requirements

 Software

  • LabVIEW Base Development System 2012 (or compatible)
  • LabVIEW Datalogging and Supervisory Control Module (DSC) 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

Steps to Implement or Execute Code

  1. Run the VI.

The username and password has to be configured the Domain Account Manager (Tools » Security » Domain Account Manager)

 

Additional Information or References

 Security User Login DSC Module LV2012 NIVerified.vi - Front Panel.pngSecurity User Login DSC Module LV2012 NIVerified.vi - Block Diagram.png

 

**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.