Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

data socket/event structure:value change compatibility

Hello,

I am developing an application where I would like to have two vi's (windows) running, one of essentially (master) controls, and the other that processes and communicates with several daq cards, and runs an automated test. This latter vi in large part runs with an event structure:value change method, and (hopefully) your pid controller toolkit to update the daq/dac, and I would prefer to leave it this way. I have found that I cannot cause a value change event in the processing vi from the "controls" vi via a data socket connection. I have tried using a dummy third variable and it's value property but this didn't work either. Is there any way to cause this value change event from an outside vi?

Sincer
ely,

Scott Storms
Siemens medical
0 Kudos
Message 1 of 2
(2,729 Views)
Hi Scott,

Please read the document below:
Event Structure Does Not Capture the Value Changed Event for Indicator Wired to Iteration Terminal

Datasocket value changes are also considered changing values programmatically and hence will not trigger value change events.

You can try using a while loop and monitor the value of the control. Compare the current iteration's value to the previous iteration value (shift register) and wire the result into a case structure.

I hope this helps.

Feroz
National Instruments
0 Kudos
Message 2 of 2
(2,729 Views)