Instruction manual

Table Of Contents
Page
75
PC215E
6.6.4.7 Set Timer Count Value - TCsetCount
Sends a 16-bit count value to a timer/counter.
i = TCsetCount (h, chip, chan, count)
where h
Integer. Board handle as issued by the
registerBoard function.
chip Integer. 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 Integer. Timer/counter channel number within
the chip (0, 1 or 2).
count Long Integer. 16-bit Count value.
Returns Integer:
OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoard
TCsetClock
TCsetGate
TCsetMode
See Also TCgetCount