06-16-2015 10:12 AM
Hello,
I am trying to learn DAQ on labview. So, I made a basic digital input vi, with a virtual digital input device. For some reason I cannot get it to output anything other then zero, but when I run the daq assistant (when setting up daq assistant) the boolean values toggle between 0 and 1. But, in my VI I cannot get any input other then zero.
I have attached my VI.
Thank you
Solved! Go to Solution.
06-16-2015 10:31 AM - edited 06-16-2015 10:32 AM
You should wire up your stop button to the Stop input on the DAQ Assistant. You are openening and closing the task each time when you do not do that. I think that is also resetting the toggling of the simulated device.
06-16-2015 10:40 AM - edited 06-16-2015 10:41 AM
That did the trick.
So, if I didn't wire the stop button to the stop daq assistant terminal, the daq assistant is basically triggering on and off?
Thank you
06-16-2015 11:05 AM
kenypatel wrote:
So, if I didn't wire the stop button to the stop daq assistant terminal, the daq assistant is basically triggering on and off?
Not quite. The task was being created and destroyed with each iteration of the loop. By telling the DAQ Assistant that you are not stopping, it leaves the task open.