Digital Input Channel; I_Apci1500_Read1Digitalinput; I_Apci1500_Read8Digitalinput - Addi-Data APCI-1500 Technical Description

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

Advertisement

APCI-/CPCI-1500

9.2.4 Digital input channel

1)

i_APCI1500_Read1DigitalInput (...)

Syntax :
<Return value> = i_APCI1500_Read1DigitalInput
Parameters:
BYTE
b_BoardHandle
BYTE
b_Channel
PBYTE
Task:
Indicates the state of an input channel. The variable b_Channel passes the input
channel to be read (1 to 16). A value is returned with the variable
pb_ChannelValue : 0 (low) or 1 (high).
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The input number is not between 1 and 16
2)

i_APCI1500_Read8DigitalInput (...)

Syntax:
<Return value> = i_APCI1500_Read8DigitalInput
Parameters:
BYTE
b_BoardHandle
BYTE
b_Port
PBYTE
pb_PortValue
Task:
Indicates the state of a port. The variable b_Port passes the port to be read
(1 or 2). A value is returned with the variable pb_PortValue .
pb_ChannelValue
(BYTE b_BoardHandle,
BYTE b_Channel,
PBYTE pb_ChannelValue)
Handle of board xPCI-1500
The number of the input channel to be
read (1 to 16)
State of the digital input channel:
0 -> low
1 -> high
(BYTE b_BoardHandle,
BYTE b_Port,
PBYTE pb_PortValue)
Handle of the xPCI-1500
Number of the input port you want to
read (1 or 2)
State of the digital input port (0 to 255)
Standard software
65

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