Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with USB-6341

Solved!
Go to solution

Hello all - 

 

I'm looking for some help with a USB-6341 X Series DAQ. I am trying to acquire N samples at a specified sampling rate, using a very basic Labview 2012 interface on a Windows 7 machine - the front panel is a waveform graph, and the block diagram is the DAQ Assistant wired to the graph (I change the number of samples and sample rate in the DAQ Assistant interface). If I choose number of samples and sampling rates that multiply out to 10 seconds or less, I have no issues. 10 samples, 1 Hz? OK! 10K samples, 1K hz? No sweat! 

 

If I pick a number of samples and rate pair that works out to longer than 10 seconds? Error 200284, "Some or all of the samples requested have not yet been acquired."

 

Continuous acquisition in Labview, or looking at the test panels, shows no problems. The displayed voltage works out with the digital display on the instrument I'm sampling, so other than not taking data for longer than 10 seconds, everything seems to work.

 

Any thoughts on a problem source or fix?

 

Any help will be appreciated.

 

John

0 Kudos
Message 1 of 4
(3,512 Views)
Solution
Accepted by topic author John_Easton

 

Additional Timing Settings under the "Advanced Timing" tab and increase the timeout...

0 Kudos
Message 2 of 4
(3,511 Views)

Doing all of the acquisition at once and changing the timeout will make your user interface unresponsive so I prefer to set the number of samples to equal or less than the sample rate and just loop the DAQmx Read x number of times.

0 Kudos
Message 3 of 4
(3,503 Views)

Thanks for pointing that out - I missed it while pulling my hair out! It worked very well.

 

John

0 Kudos
Message 4 of 4
(3,494 Views)