Technical description Chapter 9
APCI-/CPCI-1500
93
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_InitTimerCounter1"15)
i_APCI1500_ReadTimerCounter2
(...)
16) i_APCI1500_ReadTimerCounter2 (...)
Syntax:
<Return value> = i_APCI1500_ReadTimerCounter2
(BYTE
b_BoardHandle,
PLONG pl_ReadValue)
Parameters:
BYTE
b_BoardHandle
Handle of the
xPCI-1500
PLONG
pl_ReadValue
This parameter has two meanings.
When the counter/timer is used as a
counter it returns the current value of
the
counter.
When the counter/timer is used as a timer,
it returns the current value of the timer.
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"