LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-panel buttons do not trigger evets when their state is changed from the main panel

I want to control a button in a sub-panel that triggers an event. When I change the button's state in the main panel, the button's state changes, but doesn't activate the event.
I used this example https://forums.ni.com/t5/LabVIEW/subpanel-control-button-programmatically/m-p/2729895#M807809, and I got the same outcome as using global variables.
What am I doing wrong?

 

Thank you in advance.

 

0 Kudos
Message 1 of 2
(537 Views)

When you use the "Value" property to change the value of a control programmatically, no event will be generated. You need to use the property "Value (signaling)"  if you want an event being generated.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(498 Views)