11-23-2016 02:22 PM
I am having problems with a USB-6009 loosing data when the computer (Intel Atom based with embedded XP) has any increased usage or a USB item is connected. When we use a computer with an Intel Celeron with embedded Windows 7, it doesn’t show this problem but still randomly loses data. (I use a tester that generates an analog curve that we capture and process. By writing the data read from the NI driver after being read (NI function DAQmxReadAnalogF64), I can clearly see missing data.
However both systems loose capture data even though we are constantly reading in a dedicated thread, only reading the data via DAQmxReadAnalogF64 and putting it into a queue. Other threads handle the processing of the data. The program is a service along with a GUI applications use very little CPU (around 0-10%) Written in C++ using the C++ NI API.
The problem can be easily recreated on the Atom based computer by plugging in a USB drive or Keyboard which causes the data lost.
The NI buffer is set to 100,000 samples and we are running two channels at 20,000 samples per second each.
Any idea how to prevent data loose which appears to be coming from the NI drivers?
Thanks
Sheldon
11-26-2016 12:58 AM