Click or drag to resize

SerialConnection Constructor

Create a Serial connection to a Brainboxes EDDevice First install the virtual com port for the device using Brainboxes Boost.IO Manager

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public SerialConnection(
	string portName = "COM3",
	int baudRate = 115200,
	int Timeout = 2000
)

Parameters

portName  String  (Optional)
By default when installing a virtual COM port using Brainboxes Boost.IO Manager the lowest available COM port is chosen (greater than 2)
baudRate  Int32  (Optional)
Baud rate is irrelevant to brainboxes EDDevice as the serial port is virtual, but some software may be expecting to set/read it
Timeout  Int32  (Optional)
The Read and Write Timeout for data, defaults to 2000ms
See Also