Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

counter timeout 6211

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

0 Kudos
Message 11 of 12
(2,512 Views)

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

0 Kudos
Message 12 of 12
(2,507 Views)