Full constructor.

Namespace: XpressnetLib
Assembly: XpressnetLib (in XpressnetLib.dll) Version: 0.1.4195.39796

Syntax

C#
public XpressnetConnectorRoco(
	string port,
	int baudRate,
	Parity parity,
	StopBits stopBits,
	int dataBits,
	Handshake handshake
)
Visual Basic
Public Sub New ( _
	port As String, _
	baudRate As Integer, _
	parity As Parity, _
	stopBits As StopBits, _
	dataBits As Integer, _
	handshake As Handshake _
)
Visual C++
public:
XpressnetConnectorRoco(
	String^ port, 
	int baudRate, 
	Parity parity, 
	StopBits stopBits, 
	int dataBits, 
	Handshake handshake
)

Parameters

port
Type: System..::..String
Serial port where the GenLI interface is connected
baudRate
Type: System..::..Int32
Baud rate of the serial port
parity
Type: System.IO.Ports..::..Parity
Parity of the serial port
stopBits
Type: System.IO.Ports..::..StopBits
Stop bits
dataBits
Type: System..::..Int32
How many data bits
handshake
Type: System.IO.Ports..::..Handshake
What type of handshake, if any, is used

See Also