05-26-2010 10:43 AM
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).
05-27-2010 06:13 PM
05-28-2010 10:20 AM
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
06-02-2010 03:52 PM
Hey Kevin,
Do you get the same errors when running our shipping examples? Program Files>>National Instruments>>NI DAQ>>Text Based Code Support?