Digital Input Channel - Events; I_Apci1500_Setinputeventmask - Addi-Data ADDINUM CPCI-1500 Technical Description

Digital inputs and outputs for the pci/compactpci bus
Hide thumbs Also See for ADDINUM CPCI-1500:
Table of Contents

Advertisement

APCI-/CPCI-1500
9.3.5

Digital input channel - events

1) i_APCI1500_SetInputEventMask (...)

Syntax:
<Return value> = i_APCI1500_SetInputEventMask
Parameters:
BYTE
BYTE
BYTE
PCHAR pc_EventMask
74
b_BoardHandle
b_Port
b_Logik
Technical description
(BYTE b_BoardHandle,
BYTE b_PortNbr,
BYTE b_Logik,
PCHAR pc_EventMask)
Handle of board xPCI-1500
Number of the input port to be masked
(1 or 2)
Event logic
Three possibilities for the first port:
APCI1500_AND: This logic connects the
input channels with an AND logic.
APCI1500_OR: This logic connects the
input channels with an OR logic.
APCI1500_OR_PRIORITY:
This logic connects the
input channels with a priority OR logic.
Input 1 has the highest priority
Input 8 has the lowest priority
One possibility for the second port:
APCI1500_OR: This logic connects the
input channels with a OR logic.
This 8-digit character string (port 1) and
6-digit character string (port 2)
defines the mask of the event. Each digit
indicates the state of the input channel.
The state is identified by one of the
following characters:
"X": This input channel is not used for
event
"0": The input channel must be on "0"
"1": The input channel must be on "1"
"2": The input channel reacts to a falling
edge
"3": The input channel reacts to a rising
edge
"4": The input channel reacts to both edges
Port 1: from the left to the right, the first
digit of the character string is input 8 and
the last digit is input 1.
Port 2: from the left to the right, the
first digit of the character string is input 14
and the last digit is input 9.
Chapter 9

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Addinum apci-1500

Table of Contents