Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent 200010 errors

Using the DAQmx C++ interface (version 8.7.1f3) for a S series NI PCI-6110 board, I am recieveing intermittent 200010 error messages when doing a DAQmxReadBinaryI16 call. (200010 is DAQmxWarningStoppedBeforeDone)

 

We are using the device to collect 3100 points of data off 4 separately channels. The data collection is a triggered start and then externally clocked in.

The data is collected at a variety of frequencies from 128 Hz to 1/2 Hz.

 

We are examining the electronics and other aspects, but the NI DAQmx interface code is new to the system (after upgrading from the Traditional DAQ legacy code a year ago). So the code here is suspect as well.

 

I have attached the source code (some area removed to simplify).

0 Kudos
Message 1 of 4
(6,696 Views)
Sometimes you will get this error when you get a memory buffer overflow. Do you have two many applications open on your computer? How is your memory looking in he task manager? If you reduce the sample rate, will the error go away? This error could be related to a memory or bus bandwidth limitation.
Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 2 of 4
(6,675 Views)

Thank you for the suggestions. 

 

The application interfacing to the NIDAQ card is the only application running on the PC. At times something minor may run, but it is reproducable with no other applications active.

It was also reproducable not long after restarting the system. Did not see any memory usage issues relating to the occurrences.

 

Alteration of the sampling rate is not an option, as we have been using these for the past decade plus for data collection. (Difference now being a re-write to upgrade to DAQmx from Traditional, so as to support Windows Vista PCs.)

 

We are trying new cables connecting between the source and 6110 board.

 

Kevin

 

0 Kudos
Message 3 of 4
(6,666 Views)

Hey Kevin,

 

Do you get the same errors when running our shipping examples? Program Files>>National Instruments>>NI DAQ>>Text Based Code Support?

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 4 of 4
(6,606 Views)