Instruction manual
AMPDIO DRIVERS
Page 113
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).
pgate pointer to short: pointer to a short integer
variable into which the current gate source is to
be stored.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
ERRSUPPORT
Prior Calls registerBoardEx
See Also TCsetGate
6.4.5.8 Get Linked Gate Channel — TCgetLinkedGateChannel
Determines the GAT_OUTN_2 source channel for a specified timer counter channel.
SUPPORTED IN VERSION 4.40 ONWARDS.
i = TCgetLinkedGateChannel (h, chip, chan, pGatChip, pGatChan)
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).
pGatChip pointer to short: pointer to a short integer
variable into which the address offset of the