LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200279 in Analogue & Digital inputs

Hi anon,

 

If I increase the sampling rate I get the 200279 error. This usb-6001 may be low spec but it has up to 20kS/s so it should be able to give 1000 samples over a 10 sec period.

I did NOT recommend to change the samplerate!

 

I suggest (aka "strongly advise") to get rid of the DAQmxRead with just "1 Sample"!

Read blocks of 100 samples as you did before (as it seems from your quoted message) using DAQmxRead with mode "1 channel N samples"!!!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 13
(447 Views)

OK, I changed the sampling rate and removed the queue. The problem is that my data is not passed from one while loop to the other. If I uses the queue then obviously the main loop waits for the secondary to output data hence there is a delay. Any suggestions?

0 Kudos
Message 12 of 13
(440 Views)

Hi anon,

 

The problem is that my data is not passed from one while loop to the other.

In your VI you didn't need to transfer data to the other loop…

 

If I uses the queue then obviously the main loop waits for the secondary to output data hence there is a delay. Any suggestions?

You could use a timeout on the Dequeue…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 13
(438 Views)