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.5.0.8
Syntax
public SerialConnection(
	string portName = "COM3",
	int baudRate = 115200,
	int Timeout = 2000
)

Parameters

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