Instruction manual

Table Of Contents
Page
85
PC215E
6.6.7.2 Start a Millisecond Stopwatch - TCstartStopwatch
Starts a stopwatch which has been previously setup by the TCsetStopwatch function.
i = TCstartStopwatch (h, hS)
where
h Integer. Board handle as issued by the
registerBoard function.
hS Integer. Handle to stopwatch as issued by the
TCsetStopwatch function.
Returns Integer:
OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoard
TCsetStopwatch
See Also TCgetElapsedTime
TCfreeStopwatch
6.6.7.3 Get Stopwatch Elapsed Time - TCgetElapsedTime
Gets the elapsed time, in milliseconds, since a given stopwatch was started.
i = TCgetElapsedTime (h, hS, lPtr)
where
h Integer. Board handle as issued by the
registerBoard function.
hS Integer. Stopwatch handle as issued by the
TCsetStopwatch function.
lPtr Pointer to Long. Pointer to a variable defined
as a long integer into which the elapsed time
result will be placed.
Returns Integer:
OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoard
TCsetStopwatch
TCstartStopwatch
See Also TCgetTimeString
TCsetEventRecorder