![Forenex FES91W Series User Manual Download Page 52](http://html1.mh-extra.com/html/forenex/fes91w-series/fes91w-series_user-manual_2318966052.webp)
52
-
4-5 Serial port Control
4-5.1> Overview
In FES91W, there are 4 definable serial ports. Below table lists the function of each serial
port.
Name
Function
Comment
Debug port
Internal used
Can’t open by application program.
COM2
RS232 or RS485
Option (4 wire)
COM3
RS232 or RS485
Option (2 wire)
COM4
RS232
2 wire RS232
4-5.2> Member function of class SerialPort
Microsoft Visual studio has provide Class of Serial port in website MSDN.
), user can use these class in Visual studio 2005 to control Serial port.
Serialport Property
Name
Description
PortName
Gets or sets the port for communications, including but not limited to all
available COM ports.
BaudRate
Gets or sets the serial baud rate.
DataBits
Gets or sets the sFtandard length of data bits per byte.
Parity
Gets or sets the parity-checking protocol.
StopBits
Gets or sets the standard number of stop bits per byte.
●More Properties details in website MSDN.
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport_properties%28v=VS.85%29.aspx
●
The source code located the folder of
“CD\FES91Wxx_xxx \FES91W-AP source code\Serialport”