Serial Port Redirector Usage Examples

Accessing Remote Serial Devices

Serial Port Redirector can be used to access remote serial devices connected to serial device servers.

In this example, Serial Port Redirector creates virtual serial port COM3 configured to use IP address of the serial device server and TCP-port corresponding to the specified serial device.

When the serial communications application opens COM3, Serial Port Redirector initiates connection to the serial device server.

Serial device server accepts the incoming connection and forwards the data stream to the serial device corresponding to the TCP-port of the incoming connection. So, serial communications application accesses the remote serial device via virtual serial port over a local network or the Internet.

Note: Usually, RF2217 protocol (Telnet Com Port Control Option) is used to access serial devices attached to serial device server.

Example 1

Connecting Serial Communications Application with TCP/IP Application

Serial Port Redirector can be used to connect usual serial communications software with TCP/IP software.

In this example, the TCP/IP application is installed on the remote computer and listens on the specified TCP-port.

The serial communications application is installed on the local computer and uses virtual serial port COM3 created by Serial Port Redirector. This virtual serial port is configured to use the remote IP address and TCP-port which the TCP/IP application listens on.

When the serial communications application opens COM3, Serial Port Redirector initiates connection to specified TCP-port of the remote computer. Remote TCP/IP application accespts incoming connection and now serial communications application exchanges data with the TCP/IP application over a local network or the Internet.

Note: Usually, Raw data protocol is used to connect serial communications application with TCP/IP application.

Example 2