LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error when more data are acquired

i'm using usb 6259 to acquire data.
I get error when I try to increase the samples per loop. If I increase the sample rate, I get a new problem, a buffer size must be increased also. I can't edit the buffer size because it's modified automatically in this program, an external buffer block is not allowed.
what should I do ? 

problem 1.png

0 Kudos
Message 1 of 2
(1,966 Views)

Your problem is one of misunderstanding basic arithmetic. If you have a sample rate of 1000 Samples/sec and request 10000 samples, then it's pretty clear that the acquisition is going to take 10 seconds. That is why the error message says to increase the timeout value. If you want 10000 samples, you can lower the number of samples requested and just run the loop x number of times.

0 Kudos
Message 2 of 2
(1,951 Views)