07-19-2013 02:20 PM
I am encountering a problem while trying to read the voltage output from DAQ card continuously. It seems a very small structural mistake, but I still couldn't figure out. I can only read the correct output once and after that it always gives the value of 0.
07-19-2013 02:24 PM
Maybe it is trying to read the next value too quickly? See if adding a wait time improves it at all.
07-19-2013 04:09 PM
I plugged my 6009 into my PC, opened it in MAX, and configured a MyVoltageTask task for it. I specified 1 Sample (On Demand), reading AI0 in differential mode.
I then opened your VI and substituted my task name for yours. It ran fine, with voltages changing rapidly (I didn't try to time it, but it was probably running at 1KHz).
Short answer -- your LabVIEW code seems to be fine. Check out your device in MAX, and see if you can get it to run.