From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,308 Views)
Solution
Accepted by topic author 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,282 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,240 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,231 Views)