04-19-2012 10:41 AM
I get the error code from the function call:
mLastError = DAQmxReadCounterScalarF64(GetTaskHandle(), 1.0 /* timeout in seconds */, value, NULL);
Ooh, do you mean that I shall ignore -200474, and the returned value is valid ?
Is that the resolution in the VI example ?
Best Regards
Heinrich
04-20-2012 02:03 AM
Hey,
the error clusters contains an integer with error code which you can- in this case - ignore, a string containing the name of error source and a boolean which saves whether error status in true or false. So what they do in the example, is to set error status (the green one) back to false.
can you try that?
Best regards