Instruction manual
AMPDIO DRIVERS
Page 124
i = TCgetRatio (h, hD, pratio)
where h short: board handle as issued by the
registerBoardEx function.
hD short: differential counter handle as issued by
the TCsetDiffCounters function.
pratio pointer to float: pointer to a 32-bit floating
point variable into which the value representing
the ratio of counts (Counter#2 / Counter#1) will
be placed.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetDiffCounters
See Also TCgetDiffCount
TCfreeDiffCounters
6.4.6.4 Free Differential Counter Pair — TCfreeDiffCounters
Frees the counter/timers associated with a differential pair, as set up by function
TCsetDifferentialCounters. Call this function when finished with the differential counter.
i = TCfreeDiffCounters (h, hD)
where h short: board handle as issued by the
registerBoardEx function.
hD short: differential counter handle as issued by
the TCsetDiffCounters function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetDiffCounters
See Also TCgetDiffCount
TCgetRatio
6.4.7 Millisecond Stopwatch, Event Recorder and Event Counting Functions
6.4.7.1 Prepare a Millisecond Stopwatch — TCsetStopwatch
Sets up a stopwatch, which uses two timer/counters to count in milliseconds for about 50
days. See section 3.1.4 for more details on the Stopwatch application.