LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Role of timing and rate in the buffered acquisition

Solved!
Go to solution

Hi

I am trying a buffered acquisition. 

In the timing VI, when i specify the rate to be around 2000, i do not get any error message and the data acqusition continues. Also i am giving a time of 1000ms in the wait until next millisecond vi in the while loop.

But if i increase the rate to be around 5000 and increase the millisecond count to 2000, then i get the following error message.

 

 

-200279   DAQmx Read (Analog 1D DBL 1Chan NSamp).vi:1<append>
<B>Property: </B>RelativeTo
<B>Corresponding Value: </B>Current Read Position

<B>Property: </B>Offset
<B>Corresponding Value: </B>


<B>Task Name: </B>MyVoltageTask 

 

What is the importance of timing in the while loop and specifying the rate in the timing VI????

Somil Gautam
Think Weird
0 Kudos
Message 1 of 4
(2,812 Views)
Solution
Accepted by topic author Somil
0 Kudos
Message 2 of 4
(2,806 Views)

Thanks.

Actually, setting the timing in while loop to 1/10 th rate in the timing VI is a good practice.I had increased the timing and as a result the buffer was getting overwritten.

Somil Gautam
Think Weird
0 Kudos
Message 3 of 4
(2,795 Views)
glad :smileyhappy:
0 Kudos
Message 4 of 4
(2,791 Views)