LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Update on Voltage Output

Hi there,

 

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. 

 

Best

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

Maybe it is trying to read the next value too quickly? See if adding a wait time improves it at all.

Message 2 of 3
(2,253 Views)

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.

 

BS

Message 3 of 3
(2,228 Views)