Instruction manual

AMPDIO DRIVERS
Page 130
6.4.7.10 Read a 32-bit Event Counter TCgetEventCount
Gets the number of events since a given 32-bit event counter, as previously set up by the
TCsetEventCounter function, was set up or reset.
SUPPORTED IN VERSION 4.42 ONWARDS.
i = TCgetEventCount (h, hE, pcount)
where h short: board handle as issued by the
registerBoardEx function.
hE short: event counter handle as issued by the
TCsetEventCounter function.
pcount pointer to unsigned long: points to a variable
into which the 32-bit event count is written.
Returns short: 0 = counter not overflowed
1 = counter overflowed
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetEventCounter
See Also TCresetEventCounter
TCfreeEventCounter
6.4.7.11 Free up 32-bit Event Counter TCfreeEventCounter
Frees up a 32-bit event counter as previously set up by the TCsetEventCounter function. Call
this function when the event counter is no longer required.
SUPPORTED IN VERSION 4.42 ONWARDS.
i = TCfreeEventCounter (h, hE)
where h short: board handle as issued by the
registerBoardEx function.
hE short: event counter handle as issued by the
TCsetEventCounter function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetEventCounter
See Also TCgetEventCount