Issues with the Windows side
Question: What are the requirements?
Answer: Virtport is a network pseudo-device driver that allows you to connect a PC-connected serial device to a UNIX/Linux host system over a network, TCP/IP protocol. For the Windows side, the following is required:
1. Your Windows PC must have a network connection.
2. The program can be installed and run by any user. In fact, there is no formal installation procedure; there is just an EXE file.
3. You will generally want the PC to have a static IP address, although this is not strictly required.
4. The PC's software firewall, if there is one, will need to allow an inbound connection on the appropriate port (default 9100). Any external firewalls will need to allow this also.
Back to Top
Question: Describe how someone might use Virtport.
Answer: Simply put, Virtport makes a PC-connected serial device appear as if it is local to the host software or vendor application. This is done using TCP/IP over a network where both ends know the other ends IP (network) addresses.
The best example of using this is from one of our customers. An application on this customers Linux host requires a scale for weighing grain trucks. The scale is normally located within proximity to the Linux host. However, they now want to run remote scales located out in the country, but back to the same Linux host. With a network connection and a cheap, small footprint PC at the grain scale running Virtport for the PC, it can talk to the corporate host Linux system running Virtport for the Linx, and all the data for the application will come through as it always has, invisibly over the network to the application.
Back to Top
Question: How do I run the program?
Answer: The program is a Windows console program, with essentially NO user interface.
The command line used to start the program generally contains all the
information necessary for VirtPort to run. This command can be entered in any
of the usual Windows methods, including a) as part of a BAT file, b) typed in
a DOS-prompt, c) typed in Start:Run, d) associated with a desktop icon, etc.
The program is terminated by entering control-C.
If the program is run with no parameters, such as:
c:\virtport\virtport.exe
or
c:\virtport\virtportdemo.exe
it will assume TCP/IP port 9300, and comm port 1. It will display a Windows
dialog box asking you to configure COM1 for baud rate, etc.
Back to Top
|