Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQPad 6020E - 10845 error

We currently use the DAQPad in various custom data collection systems. Recently another 3rd party application seems to spike the PC's CPU usage level. This results a lot of the times in the A?D collection from the DAQPad to generate a -10845 (overflow) error. Unfortunately we have to live with this 3rd party application.
 
I DO understand what the error means. Luckily for me I can interrupt the data collection briefly to restart everything to resync/reinitialize all of my instruments and proceed on.
 
Unfortunately I can't seem to clear the -10845 error even with a call to
DAQ_Clear() and AD_CLear().
How do I remove the error completly?
 
There are several unhelpful suggestions that say "Ignore the error" but in my data system we need the info from the A/D to be synced with some LASER return data. I need to know if a new occurrence of the overflow has occurred so I can restart acquisition.
 
Thanks,
Dan
 
0 Kudos
Message 1 of 2
(2,693 Views)
Hello Dan,

If DAQ_Clear() and AI_Clear() are not working for you, I would recommend the funciton Init_DA_Brds(), as this function should reset your device back to its default state.  Information about how to use this function can be found in the Traditional NI-DAQ (Legacy) C Function Reference Help, and also in the following Knowledgebase:

KB 3HIDG2BJ: How Do I Reset My DAQ Device From A Text Based Language?

Let us know if this helps,

Travis G.
Applications Engineering
National Instruments
www.ni.com/support
0 Kudos
Message 2 of 2
(2,681 Views)