Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is error -88704?

Hi all,

When I call DAQmxReadAnalogF64(...), it sometimes returns -88704.

DAQmxGetExtendedErrorInfo returns:

DAQmx Error: An internal error occurred.
Task Name: _unnamedTask<2>
Status Code: -88704

This isn't defined in nidaqmx.h - can anyone tell me what it means?

The card is a PCI-6224.

Thanks!


Message Edited by LeifBloomquist on 11-27-2007 01:24 PM
0 Kudos
Message 1 of 3
(3,497 Views)
Hi LeifBloomquist,
 
Thank you for posting.  From what I understand, you are receiving an internal error when you call an analog read function in your program.  What type of programming environment ( e.g. .NET, CVI) and version are you using?  Also what version of DAQmx is installed on your system? Does this error only occur with the DAQmxReadAnalogF64 function and not other analog read options?
 
I searched the error and found that there have been some corrective action requests filed on this topic.  However, since an internal error is vague in the exact description of the problem, I can only provide you with some troubleshooting techniques to try. 
 
The first instance where this error occurred was relating to using the DAQmx and Traditional DAQ driver at the same time.  This specific error was with resource reservation of your devices.  Therefore I would try going into MAX (Measurement and Automation Explorer) and right clicking on your PCI-6224 card and reset your device. However, if you have Traditional DAQ installed on your system, the device might be associated with it.  So you should first right click on Traditional NI-DAQ devices and "reset device for Traditional DAQ" then right click on the device in DAQmx and reset it again for this driver. 
 
While you are in MAX, try communcating with the device using Test Panels.  If it works in MAX by doing a simple analog input, it could be an issue with the software command you are using.
 
If this doesn't help, your version of DAQmx might have some type of corruption.  Then I would recommend uninstalling your DAQmx version by going to Add/Remove Programs in the control panel.  Then navigate to this link to download the latest version of the DAQmx driver. 
 
Hopefully some of these suggestions will give you a better idea to narrow down the problem!
Regards,
Vanessa L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,475 Views)
Hi Vanessa,

I'm working in Visual C++ 6.0.

It turns out I had a threading problem - two threads in my code were trying to poll the DAQ at the same time - I guess that's not allowed! Smiley Wink   I fixed the problem with the threads with a simple mutex, and the error went away.
0 Kudos
Message 3 of 3
(3,445 Views)