Retrieves the elapsed time and stops the measurement.
Ret = TimCountStop(CountId, Microseconds)
CountId [ VB.NET: Short ] [ C, C++: short ] [ C#: short ]
ID that is the Timer identifier.
The
ID Retrieved by function TimCountStart.
Microseconds [ VB.NET: Integer ] [ C, C++: unsigned long *] [ C#: out uint ]
Elapsed time [us]
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]
Definition |
Value |
Description |
TIM_ERR_SUCCESS |
0 |
Normal completed |
TIM_ERR_DLL_INVALID_ID |
10001 |
Invalid ID specified. Please confirm whether the initialization function has completed normally. |
TIM_ERR_DLL_NOT_INITIALIZED |
10010 |
It is not initialized.Please confirm whether the initialization function has completed normally. |
TIM_ERR_DLL_BUFF_ADDRESS |
10100 |
Invalid data buffer address. |
The others (See also:Details of Error Code)
None
Retrieves the elapsed time and stops the measurement.
TimCountStart,
TimCountLap, TimCountReset