LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading voltage but reads four then lags and reads 4 and continues

reading analog input and output voltage at the same time. Output of the voltage looks correct (at the rate specified), but the analog input reads in 4 at correct intervals, pauses, and goes again with 4 readings, and so on. Is this due to my VI or is it hardware realted (computer)?
 
I include the VI.
 
Thanks
 
 
0 Kudos
Message 1 of 3
(2,587 Views)

Hi,

Its ur VI that's unable to achieve sync between  AI and AO

Try using this example VI that's given in  labview examples for your application

regards

 

0 Kudos
Message 2 of 3
(2,576 Views)
Just to add a note to the great answer that has already been given:

The DAQ Assistant is an express VI that uses lower level code 'behind the scenes'(you can see this by right clicking the node and selecting 'Open Front panel'. Problems are often encountered when using multiple DAQ Asstants in a single loop, as they will execute in parallel and compete for resources. Only one can use the resource at any one time so you get this sequential behaviour.

Happy programming!
0 Kudos
Message 3 of 3
(2,553 Views)