APCI-/CPCI-1500
Task:
Reads the current value of the second counter/timer if used as a counter
or reads the timer content if used as a timer.
Counter: the counter value is decremented each time the input channel changes
from low to high. This counter value can be read with this function.
Timer:
the timer value is decremented each time the input clock changes from
low to high. This timer value can be read with this function.
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The counter or timer has not been initialised.
Please use function "i_APCI1500_InitTimerCounter2"
17) i_APCI1500_ReadCounter3 (...)
Syntax:
<Return value> = i_APCI1500_ReadCounter3
Parameters:
BYTE
PLONG
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"
b_BoardHandle
pl_ReadValue
(BYTE b_BoardHandle,
PLONG_ pl_ReadValue)
Handle of the xPCI-1500
When the counter/watchdog is used as a
counter, it returns the current value of the
counter.
Standard software
85
Need help?
Do you have a question about the APCI-1500 and is the answer not in the manual?
Questions and answers