05-22-2012 02:59 AM
Hello,
I am new to Labview. Can anyone here tell me how to set a password to protect my user interface? For example, only after you key in the correct password then you can control and with the data.
05-22-2012 03:12 AM
Hello tangjh88,
The simples way is: Labview / Example Finder / "logins" - Login dialog.vi
There you can see an example how to handle useraccounts. My recommendation is serialize the user database with encryption to hard drive, so the user accounts can be loaded and saved when you leave your application.
If you want to control the user interface controls and indicators, you should use Control - Disabled property of the Control class.
(Right click on a control or indicator , create property node - disabled.)
I hope it helps!
05-22-2012 03:58 AM
Thank you D60 for your prompt reply and recommend.
05-30-2012 03:50 AM
Hello D60, I could not find the exmaple. The Error: The NI System Websever not running. Do you have the example? Can you upload it? Thank you.
05-30-2012 08:36 AM
Hi tangjh88,
Disable the controls on the front panel by using DISABLE property node so that the user cannot edit the values. Maybe you will have a special button for enabling all the controls, you can use here event structure to handle the task.
05-30-2012 08:57 AM
Ok. Thank you kurat for your reply.