I_Apci1500_Read16Digitalinput - Addi-Data APCI-1500 Technical Description

Digital i/o board, optically isolated
Hide thumbs Also See for APCI-1500:
Table of Contents

Advertisement

Standard software
Example:
b_Port = 1
pb_PortValue = 55 Hex
A voltage is present on the input channels 1, 3, 5, 7
A voltage is not present on the input channels 2, 4, 6, 8.
Return value:
0: No error
-1: Handle parameter of the board is wrong
-2: The parametered port number is wrong (parameter 1 or 2)
3)

i_APCI1500_Read16DigitalInput (...)

Syntax:
<Return value> = i_APCI1500_Read16DigitalInput
Parameters:
BYTE
b_BoardHandle
PLONG
pl_InputValue
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
-1: The handle parameter of the board is wrong
66
(BYTE b_BoardHandle,
PLONG pl_InputValue)
Handle of the xPCI-1500
State of the digital input channels
of both ports (0 to 65535)
APCI-/CPCI-1500

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APCI-1500 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Cpci-1500

Table of Contents