APCI-/CPCI-1500 Technical
description Chapter 9
70
9.3.3 Kernel
functions
1) i_APCI1500_KRNL_Read16DigitalInput (...)
Syntax:
<Return value> = i_APCI1500_KRNL_Read16DigitalInput
(UINT ui_BaseAddress,
PLONG
pl_InputValue)
Parameters:
- Input:
UINT ui_BaseAddress
xPCI-1500
base address
- Output:
PLONG pl_InputValue
State of the digital input channels of
both ports (0 to 65535)
Task:
Indicates the state of both ports. Reads the 16 input channels at once.
Example:
pl_InputValue = 5555 Hex
A voltage is present on the input channels 1, 3, 5, 7, 9, 11, 13, 15 .
A voltage is not present on the input channels 2, 4, 6, 8, 10, 12, 14, 16.
Return value:
0: No error