Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6210 polling rate

Hi all,

 

I am running a Labview software that reads a counter on a usb 6210. The DAQ is connected to a function generator (FG) outputting a TTL signal at a given frequency. I have noticed that when I increase the frequency past a certain frequency (dependant on the machine I am running the software on about 1kHz on one and around 2.4 kHz on the other), the counter skips certain counts. I am aware that the DAQ doesn't actually miss the counts, however I am not able to poll it fast enough to see the incremental counts past a certain limit. After some investigation and research it seems that the bottleneck is in the USB polling speed in the DAQmx READ function. Also, buffered measurements are not a solution in this particular application. I really need to repeatedly poll the device for single samples.

 

Does anybody know a patch to reduce this delay ? Even small improvements are welcome. I have already made sure to disconnect any other USB devices. If this is an OS induced delay is there any way to edit the system parameters to increase USB polling ?

 

Thanks in advance

 

 

0 Kudos
Message 1 of 4
(2,661 Views)

This definitely sounds like an OS issue.  Windows just won't let you keep up.  You could try a PCIe or PXI setup, which will reduce communication overhead with the DAQ.  But I still suspect you will miss counts as long as you are using Windows.  You may need to move to a Real Time OS or an FPGA DAQ.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,635 Views)

even 10kHz shouldn't be a problem. I expect the solution in your software.

Can you attach the vi?

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


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

Hi Henrik,

I really hope you are right ! 10 kHz would be amazing. You'll find the simplified .vi below it should work with any NI USB DAQ as the code was adapted from the examples provided by NI. Thx for your help!

 

 

0 Kudos
Message 4 of 4
(2,604 Views)