LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Grayed out a button in NXG

Solved!
Go to solution

Hello, I am starting to use labview NXG.

I would like to desactivate/activate some button while the code is running. I knew how to  gray out some button with the normal labview but I can't figure it out with NXG

I tried to use "modify variable propertie" function but I can't understand how does it work. Does someone have some info or an example.

 

Thanks,

Vincent

 

 

0 Kudos
Message 1 of 4
(2,313 Views)
Solution
Accepted by vincent20100

Create a reference to the button

Wire the reference to a property node

Choose the "Disabled" property on the property node

Set it to True/False to gray it out or make it normal again

0 Kudos
Message 2 of 4
(2,287 Views)

Thanks a lot Kyle,

 

but how do you create a reference to the button? On labview it used to be with a right click on the button but I find it in NXG.

0 Kudos
Message 3 of 4
(2,245 Views)

I found the solution. I used NXG 1.0. I updated to NXG 3.0. Now I can create the reference from a right click

0 Kudos
Message 4 of 4
(2,236 Views)