Instruction manual
AMPDIO DRIVERS
Page 116
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).
pmode pointer to short: pointer to a short integer
variable into which the current counter mode is
to be stored.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
ERRSUPPORT
Prior Calls registerBoardEx
See Also TCsetMode
TCgetStatus
6.4.5.12 Set Timer Count Value — TCsetCount
Sends a 16-bit count value to a timer/counter.
i = TCsetCount (h, chip, chan, count)
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).
count long: 16-bit Count value.
Returns short: OK
or ERRHANDLE