LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable then ebable a boolean while in run mode

Hello,
I would like to disable a boolean button in run mode and then later have it enabled. An example of what I would like to do is allow the user to press a boolean and then once they start on another task not be able to press the boolean again untill the end of that task. This is all while the VI is in the run mode.

Thanks,

~Caltech
0 Kudos
Message 1 of 3
(1,418 Views)
Create a property node for the control, then programmatically write 0, 1, or 2 to it, depending on the desired state.
(0: enabled, 1: disabled, 3: disabled and greyed out).
Message 2 of 3
(1,418 Views)
Hello Caltech,

Attached is an example that demonstrates the disable property that altenbach mentioned.

TIP: Keep the context help window (ctrl-h) open when working with property nodes. This window will show you what type of data each property expects.

Good luck with your development,

Matt F
Message 3 of 3
(1,418 Views)