Discussion:
DAQmxFailed error code -2147220712 signification
(too old to reply)
AlexCMC
2007-02-20 19:10:12 UTC
Permalink
Using the PCI-6528 card, we developped an application that was working fine and the discrete driver was able to read and write discrete. After a certain time, for no apparent reason, the application started having problem with the discrete card installation. We found a problem by logging messages using:
Error: if( DAQmxFailed(error) )  DAQmxGetExtendedErrorInfo(errBuff,2048); if( taskHandle!=0 ) {  // DAQmx Stop Code  DAQmxStopTask(taskHandle);  DAQmxClearTask(taskHandle); } if( DAQmxFailed(error) ) {  if(pml) pml->logMessage(1, "DAQmx Error from channelWrite ", "%s(%d): %s", __FILE__, __LINE__, errBuff);  if(pml) pml->logMessage(1, "Error - 1st", "%s(%d): %d", __FILE__, __LINE__, error);
 }
after each DAQmxReadDigitalLines or DAQmxWriteDigitalLines calls. The errBuff is empty and the error value is -2147220712. Could you please help me on the meaning of this return code?
Thanks,
Alex
Ed W
2007-02-22 04:10:08 UTC
Permalink
This post might be inappropriate. Click to display it.
Loading...