IP Relay – 2x relay + RS-232 / Ethernet converter
HW group
June 2006
www.HW-group.com
Page 15 / 28
HW VSP - Virtual Serial Port
Virtual driver of the serial port for Windows is a software instrument that adds a virtual serial
port (e.g. COM5) to the operating system and redirects data from this port to other hardware
port. Nowadays the virtual port is mainly used for connection of the RS-232 serial port via
USB or Ethernet network.
•
Runs under Windows 2000 and Win XP.
•
If the device supports RFC 2217 (NVT)
you can set parameters of the remote
serial port (baud rate, parity, stop bits).
•
Debugging is eased by the possibility of a
recording the communication into a LOG
file.
•
It is possible to create more Virtual Serial
Ports on a single computer (COM5,
COM6, COM7...) by running VSP.EXE via
command line.
Using HW VSP with IP Relay
•
Run the HW VSP software installation (in the
„
HW_VirtualSerialPort
” directory on our CD). Do
not forget to check the option to finish the second
part of the installation. When the installation is
finished, make sure to restart your PC.
•
Check that NVT is enabled (on the
UDP Setup
tab
from Hercules
utility). If not, enable NVT and save
the configuration.
•
Run HW VSP and search for the IP Relay in the
„
UDP
” bookmark. Choose the MAC address of the
device and click on the „Use this IP” button. Switch
to the „
Virtual SP
” bookmark. The IP and Port
should be already set.
This searching via UDP Broadcast works only on a
local network. If the IP Relay is installed behind a
router or similar element, the IP address and port
must be filled manually in the „Virtual SP“ tab.
•
Choose the serial port you want to create (COM1 –
COM20) and click the “Create COM” button. The frame “LAN status” will show whether
the device has been found and if correct, the virtual serial port is created.
•
As you run any application which opens selected virtual port (here it’s COM5) the HW
VSP will link up with the IP Relay, set the remote port according to the opened serial port
(speed, parity, number of bits, handshake) and starts to transfer the data. Some
applications have problems with serial port numbers higher than COM4 but you can use
the original Hyperterminal from Windows, Serial tab from the Hercules setup utility or
Slovene program “Terminal.exe”. These programs are located in the “utils” directory of
our CD.