LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xcontrol always returns default value

I have an Xcontrol that holds an enum in the data in shift register. I have a control on the Xcontrol and that should update the value that will be returned whent the control is read, but the control only ever returns the default value of the enum. I have tried updating the value in the data in shift register, and the data in element of the display state in shift register, and neither works.  I can change the Xcontrol using the value propery of a property node. How do I do the same thing with a front panel control of the Xcontrol?

0 Kudos
Message 1 of 3
(2,456 Views)

Post your code so we can see what you're doing.  We might be able to give some advice then.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 2 of 3
(2,453 Views)

I had one of my coworkers look at my code. Turns out, I forgot to wire a value change event into one of my event cases. Never underestimate the value of a second pair of eyes.

Message 3 of 3
(2,396 Views)