LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event structure

In a .vi to be depolyed to a crio 9014 controller, I have a numeric control (numeric1) bound to a network shared variable.  I'd like to have an event fire when the value of that numeric control changes, but I've tried this and the event structure does not react.  In this case, the value of the control would be changing as a result of a user entering a value in a control (numeric2) bound to the same variable, but in a vi running on a remote computer.  If I trigger the event manually, that is by entering a value in numeric1 from the keyboard, the event does fire.  Can someone give me a nudge in the right direction on this?  Thanks.

0 Kudos
Message 1 of 4
(2,643 Views)

When you talk about binding a control to a variable, exactly what are you talking about?  A local variable, a shared variable, a property node?  If you could post a screen shot of the code.

 

Programmatically writing a value to either a local variable or a Value property node won't fire an event structure for that control.  You need to write the value to the Value(signalling) property for the control.

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

See the link on using events in RT. Front panel user events are not possible in LabVIEW RT.

Can I Use the Event Structure in LabVIEW RT?

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 3 of 4
(2,606 Views)

Great!  Thanks for the help.

 

John M

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