PA 1500
13) i_PA1500_ReadTimerCounter1 (...)
Syntax:
<Return value> = i_PA1500_ReadTimerCounter1
Parameters:
BYTE
b_BoardHandle
PLONG
pl_ReadValue
Task:
Reads the current value of the first counter/timer if used as a counter
or reads the timer status if used as a timer.
Counter: the counting value is decremented each time the input changes
from low to high. This counting 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_PA1500_InitTimerCounter1"
14) i_PA1500_ReadTimerCounter2 (...)
Syntax:
<Return value> = i_PA1500_ReadTimerCounter2
Parameters:
BYTE
b_BoardHandle
PLONG
pl_ReadValue
(BYTE b_BoardHandle,
PLONG_ pl_ReadValue)
Handle of the PA 1500
This parameter has 2 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.
(BYTE b_BoardHandle,
PLONG_ pl_ReadValue)
Handle of the PA 1500
This parameter has 2 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.
Standard software
79
Need help?
Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?
Questions and answers