A.1.6 do_writeport, A.1.6, Do_writeport – ADLINK EOS-1200 User Manual
Page 66
54
Function Library
Returns the digital data read from the specified output port.
Valid values: PCMe-1432 16-bit data (for port 0 and port 1)
Return Code(s)
NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport
ErrorInvalidIoChannel
A.1.6
DO_WritePort
Description
Writes digital data to the specified digital output port.
Syntax
C/C++
I16 DO_WritePort (U16 CardNumber, U16 Port,
U32 Value)
Visual Basic
DO_WritePort (ByVal CardNumber As Integer,
ByVal Port As Integer, ByVal Value As Long) As
Integer
VB.Net
DO_WritePort (ByVal CardNumber As Short, ByVal
Port As Short, ByVal Value As Integer) As Short
C#
short DO_WritePort (ushort CardNumber, ushort
Port, uint Value)
Parameter(s)
CardNumber
ID of the card for release.
Port
Digital input port number. Valid values: PCMe-1432 0, 1