Instruction manual
AMPDIO DRIVERS
Page 125
i = TCsetStopwatch (h, chip, chan)
where h short: board handle as issued by the
registerBoardEx function.
chip short: address offset of the timer/counter chip.
One of the following pre-defined constants may
be used:
X1 = 0
X2 = 4
Y1 = 8
Y2 = 12
Z1 = 16
Z2 = 20
chan short: timer/counter channel number within the
chip (0, 1 or 2). This channel and the next
channel (chan+1) are used. The second
channel may be on the next timer/counter chip.
Returns short: Stopwatch handle (>= 0). Use this in calls to the other stopwatch
functions to refer to this stopwatch.
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also TCsetEventRecorder
TCstartStopwatch
TCfreeStopwatch
6.4.7.2 Start a Millisecond Stopwatch — TCstartStopwatch
Starts a stopwatch that has been previously set up by the TCsetStopwatch function.
i = TCstartStopwatch (h, hS)
where h short: board handle as issued by the
registerBoardEx function.
hS short: handle to stopwatch as issued by the
TCsetStopwatch function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetStopwatch
See Also TCgetElapsedTime
TCfreeStopwatch