LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I password protect a control?

I would like to arrange it so that some controls have controlled access, so only some people can modify its value. Is this easily done in property nodes or must I create a custom control?
0 Kudos
Message 1 of 4
(3,181 Views)
One of the properties of a control is "Disabled". A control can be either enabled, disabled, or disabled and grayed out. Your password scheme would have to be implemented when a user selects either a different button or via a pull-down menu.
0 Kudos
Message 2 of 4
(3,181 Views)
I haven't yet seen a parameter for password protection on an individual control. However, you could have a string control (set for "password display") where the user types in a password which is then compared to a constant you've hidden elsewhere (text file, or a simple hidden string containing the matching password). If the 2 equal, then a True indication outputs to a Case statement allowing access to your controls. If the passwords don't match, a False results, and your Case statement could then display a dialogue, etc. This is surely just one method of many. Good Luck, Doug
0 Kudos
Message 3 of 4
(3,181 Views)
yethiraj wrote:

> I would like to arrange it so that some controls have controlled
> access, so only some people can modify its value. Is this easily done
> in property nodes or must I create a custom control?

May be attached will do what you are looking for.

--
Sergey Krasnishov
____________________________________
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
http://acs.levsha.ru
Message 4 of 4
(3,181 Views)