ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i make username and password access for my vi

How do make username and password access for mu vi

0 Kudos
Message 1 of 2
(5,561 Views)

If you want to just prevent somebody from accessing your VI, you can set a password by following these directions.

If you are asking how to setup a scheme for your VI where a user can gain certain permissions depending on their user name and password, you will need to setup a manual permissions handler in your VI. For example, you could have a lookup table with a set of known user names which links to a permission level string. Each time you want to run a VI, you can pass in the permission level string and handle it in the VI (e.g. case structure).

0 Kudos
Message 2 of 2
(5,473 Views)