LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to authorize only some of the controls like text field,knob in my VI?

I am using it to avoid unnecessary problems created by the user in my GUI and my block diagram. 

I want a password to overwrite some the controls from their initial value. Other controls are set by the user.

I am using LabVIEW 2010.

0 Kudos
Message 1 of 2
(2,204 Views)

You could use the event structure ("event loop") for this. 

 

For any control that you want to protect, you'd create a value change case. Within this case, implement e.g. a pop-up subVI that prompts for a password and returns if the user typed in the correct password. If password is OK, perform the value change or action related to a button pushed, and if password is not OK, do nothing.

Best regards,

Jarle Ekanger, MSc, PhD, CLD
Flow Design Bureau AS

- "The resistance of wires in LabVIEW is not dependent on their length."
Message 2 of 2
(2,190 Views)