i am using the CVI 7.1 and daqmx 9.02.
i am using a API wapper to call the measurement dll which made base on daqmx 9.0.2. somehow i notice there is a error occured and system reprot
Task is invlid or does not existing. error code -200088
and this error does not occur aways. i checked this error in debug version. and found the error was generated by function
DAQmxErrChk(InitalAndConfigAccqustion(SysPtr,gDaqPtr->gDaqTask[gTaskA8], "Dev6071E_8/ai16:18", "inCurrent135","OnboardClock",DAQmx_Val_RSE, 0, 10,DAQmx_Val_Volts,SampleRatePerChan,NumOfPoints));
DAQmxErrChk(DAQmxSetReadAttribute (gDaqPtr->gDaqTask[gTaskA8], DAQmx_Read_RelativeTo, DAQmx_Val_FirstSample));
and i did get any error from previos inital function.
if i exit the api wapper to release the measurement dll and restart api to load dll again. this problem disappered.
does somboday can help in this case?
B.R
Gerry