TimCountStop


Function

Retrieves the elapsed time and stops the measurement.

Format

Ret = TimCountStop(CountId, Microseconds)

Parameters

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]

Return value

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)

Initial Value

None

Remarks

Retrieves the elapsed time and stops the measurement.

See Also

TimCountStart, TimCountLap, TimCountReset