Retrieves the current Measure Mode.
Ret = TimGetMeasureMode(MeasureMode)
MeasureMode [ VB.NET: Short ] [ C, C++: short *] [ C#: out short ]
Measure Mode
Definition |
Value |
Description |
TIM_MEASURE_HIGH |
0 |
High precision |
TIM_MEASURE_NORMAL |
1 |
Normal precision |
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]
Definition |
Value |
Description |
TIM_ERR_SUCCESS |
0 |
Normal completed |
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)
TM_MEASURE_HIGH
In the case of High precision, because the Timer is polling always, the precision is raised. Therefore the CPU load is increased.
In the case of Normal precision, because the monitor interval is free, the CPU load is reduced.