Instruction manual

AMPDIO DRIVERS
Page 111
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).
pClkChip pointer to short: pointer to a short integer
variable into which the address offset of the
timer/counter chip containing the linked
channel is to be stored.
pClkChan pointer to short: pointer to a short integer
variable into which the channel number of the
linked timer/counter channel is to be stored.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
See Also TCgetLinkedGateChannel
TCsetClock
6.4.5.6 Connect Timer/Counter Gate Source TCsetGate
Configures a timer/counter gate input source.
Gate input sources 4 to 7 are implemented on the PCI230+ and PCI260+.
i = TCsetGate (h, chip, chan, gate)
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