Set Access to Front Panel Controls and Indicators

You can configure security settings for front panel controls and indicators to restrict access to the objects.

To control access to a front panel object, right-click the object and select Properties from the shortcut menu and select the Security tab in the Properties dialog box. Click the Add button to add to the list all the individual user accounts or groups of users you want to have access to that object and set the access level for each user or group. LabVIEW stores security settings with each control.

You also can configure security settings for multiple front panel controls and indicators at one time. Use the Front Panel Security dialog box to configure security settings quickly and to copy security settings from one front panel object to another.
Note You cannot configure security for ActiveX controls or ActiveX containers.

Restricting Access within an HMI Application

Use the Security VIs to restrict access and enforce security within a Human Machine Interface (HMI).

Setting an Engine User Account

You can specify an engine user to ensure that the local Shared Variable Engine (SVE) has access to shared variable data no matter who is logged into the local LabVIEW Datalogging and Supervisory Control (DSC) Module application. If a locally-defined shared variable in the SVE attempts to access shared variable data across the network using the Publish-Subscribe Protocol networking protocol, the local SVE uses the engine user account.

If the remote computer recognizes the account, the computer grants the access rights defined for that account. If the remote computer does not recognize the account, the computer grants the proxy user access rights that are defined on the remote computer.

Prompting an Operator to Log into an Application

Use the Security Invoke Login Dialog VI to launch the Login dialog box and return the user name and access level. You can include the application control login as part of the HMI.

Logging an Operator into or out of an Application Programmatically

Use the Security Programmatic Login VI to log in an operator. To use this VI, you must enter a user name and password. If you use the VI correctly, the user is logged into the system, and a Login dialog box does not appear.

Use the Security Programmatic Logout VI to log the current user out of the DSC Module.

Identifying the Current Operator

Use the Security Interactive User Info VI to return the name and current operator name and information. Use this VI to retrieve information about any user account.