APCI-/CPCI-1500 Technical
description Chapter 9
94
17) i_APCI1500_ReadCounter3 (...)
Syntax:
<Return value> = i_APCI1500_ReadCounter3
(BYTE b_BoardHandle,
PLONG_
pl_ReadValue)
Parameters:
BYTE
b_BoardHandle
Handle of the
xPCI-1500
PLONG
pl_ReadValue
When the counter/watchdog is used as
a counter, it returns the current value
of the counter.
Task:
Reads the current value of the third counter/watchdog if used as a counter.
Counter: the counter value is decremented each time the input changes from
low to high. This counter value can be read with this function.
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The counter has not been initialised.
-3: The counter/watchdog has been initialised as a watchdog.
Please use function "i_APCI1500_InitWatchdogCounter3"