vrLib SDK Documentation
Open Method (portName, baudRate, eventDriven)
NamespacesVideoRay.CommunicationCommPortOpen(String, Int32, Boolean)
Open a serial port a specified baudrate
Declaration Syntax
C#Visual BasicVisual C++
public bool Open(
	string portName,
	int baudRate,
	bool eventDriven
)
Public Function Open ( _
	portName As String, _
	baudRate As Integer, _
	eventDriven As Boolean _
) As Boolean
public:
bool Open(
	String^ portName, 
	int baudRate, 
	bool eventDriven
)
Parameters
portName (String)
"Port name contianing a string of the form COM#
baudRate (Int32)
"Baudrate at which to open the port
eventDriven (Boolean)
Set to true if event driven recieve handling, set to false if polled
Return Value
true if successful

Assembly: vrLib (Module: vrLib) Version: 2.0.1.0 (2.0.1.0)