PEP CP380 Manual page 53

Digital i/o board for compactpci applications
Table of Contents

Advertisement

CP380
Parameters
<BoardNumber>
<BitNo>
<BitValue>
Returns
If the function is successfully executed, a '1' is returned. If an error occurs, a '0' is
returned.
The
_me9xGetDrvErrMess.
5.4.2.4 _me96DIGetByte
Syntax (C)
int _me96DIGetByte (
Syntax (Delphi)
Function
_me96DIGetByte (
ID 19313, Rev. 0100
Board number for 1., 2., 3...16 installed CP380-I,
CP380-O or CP380-I/O; possible values: 0...15
Input line (number); possible values:
0...7: for port B
8, 9: for bits C2 and C4 of ports C
Pointer to an integer value which corresponds with the
line status:
Possible return values:
0: Line is set to '0'
1: Line is set to '1'
cause
of
the
error
int iBoardNumber,
int iPortNo,
int *piValue
);
iBoardNumber: integer;
iPortNo: integer;
Var iValue: integer
): integer;
® PEP Modular Computers GmbH
Function Reference
can
be
determined
with
the
function
Page 5 - 11

Advertisement

Table of Contents
loading

Table of Contents