Instruction manual

Table Of Contents
Page
79
PC215E
Y1 = 8
Y2 = 12
Z1 = 16
Z2 = 20.
chan2 Integer. Timer/counter #2 channel number
within the chip (0, 1 or 2).
clk2 Integer. Timer #2 clock source. Use one of the
following pre-defined constants:-
CLK_CLK = 0: CLK(chan#1) - external i/p
CLK_10MHZ = 1: 10 MHz
CLK_1MHZ = 2: 1 MHz
CLK_100KHZ = 3: 100 kHz
CLK_10KHZ = 4: 10 kHz
CLK_1KHZ = 5: 1 kHz
CLK_OUTN_1 = 6: OUT(chan#1-1)
CLK_EXT = 7: EXTCLK(chip) - external
i/p
gat2 Integer. Timer #2 gate source. Use one of the
following pre-defined constants:-
GAT_VCC = 0: Enabled
GAT_GND = 1: Disabled
GAT_EXT = 2: GAT(chan) - external i/p
GAT_OUTN_2 = 3: /OUT(chan-2)
Returns Integer:
Differential counter handle (positive integer). Use this handle as the
hD parameter in calls to TCgetDiffCount, TCgetRatio and
TCfreeDiffCounters when referring to this particular differential
counter pair.
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoard
See Also TCsetGate
TCfreeDiffCounters