Instruction manual

AMPDIO DRIVERS
Page 123
GAT_VCC = 0: Enabled
GAT_GND = 1: Disabled
GAT_EXT = 2: GAT(chan2) external i/p
GAT_OUTN_2 = 3: /OUT(chan22)
Returns short: Differential counter handle (>= 0). 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 registerBoardEx
See Also TCsetGate
TCgetDiffCount
TCgetRatio
TCfreeDiffCounters
6.4.6.2 Read Differential Count TCgetDiffCount
Reads the difference between the count values of the two counters specified in the
TCsetDiffCounters function.
i = TCgetDiffCount (h, hD, pdiff)
where h short: board handle as issued by the
registerBoardEx function.
hD short: differential counter handle as issued by
the TCsetDiffCounters function.
pdiff pointer to long: pointer to a long integer
variable into which the 16-bit count value
representing (Count#2 Count#1) will be
placed.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetDiffCounters
See Also TCgetRatio
TCfreeDiffCounters
6.4.6.3 Read Differential Ratio TCgetRatio
Reads the ratio of the count values of the two counter/timers specified in function
TCsetDiffCounters.