A.1.4 do_writeline, A.1.4, Do_writeline – ADLINK EOS-1200 User Manual
Page 64
52
Function Library
A.1.4
DO_WriteLine
Description
Sets the specified digital output line in the specified digital
port to the specified state. This function is only available for
cards that support digital output readback.
Syntax
C/C++
I16 DO_WriteLine (U16 CardNumber, U16 Port,
U16 Line, U16 State)
Visual Basic
DO_WriteLine (ByVal CardNumber As Integer,
ByVal Port As Integer, ByVal Line As Integer,
State As Integer) As Integer
VB.Net
DO_WriteLine (ByVal CardNumber As Short, ByVal
Port As Short, ByVal Line As Short, ByRef State
As Short) As Short
C#
short DO_WriteLine (ushort CardNumber, U16
ushort, ushort Line, out ushort State)
Parameter(s)
CardNumber
ID of the card for release.
Port
Digital input port number. Valid values: PCMe-1432 0, 1
Line
Digital line to be read. Valid values: PCMe-1432 0 to 15 (for
port 0 and port 1)
State
Returns the digital logic state, 0 or 1, of the specified line.