A.1.3 do_readline, A.1.3, Do_readline – ADLINK EOS-1200 User Manual
Page 62
Advertising
50
Function Library
Visual Basic
DI_ReadPort (ByVal CardNumber As Integer,
ByVal Port As Integer, Value As Long) As Inte-
ger
VB.Net
DI_ReadPort (ByVal CardNumber As Short, ByVal
Port As Short, ByRef Value As Integer) As Short
C#
short DI_ReadPort (ushort CardNumber, ushort
Port, out uint Value)
Parameter(s)
CardNumber
ID of the card for release.
Port
Digital input port number. Valid values: PCMe-1432 0, 1
Value
Returns the digital data read from the specified port. Valid
values: PCMe-1432 16-bit data (for port 0 and port 1)
Return Code(s)
NoError
CardNotRegistered
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport
A.1.3
DO_ReadLine
Description
Reads back the digital logic state of the specified digital out-
put line of the specified port.
Syntax
C/C++
Advertising