Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
23
Figure 12 SocketTest Send-receive Interface
4.6 Virtual serial port test
SocketTest in figure 10 communicates directly with the serial port server through
TCP. In order to enable users to communicate with the serial port server with the
developed serial port software, it is necessary to add a virtual serial port between
the user program and the serial port server. As shown in figure 16, ZLVircom and
the user program run on a computer, and ZLVircom virtual a COM port, so that the
COM port corresponds to the serial port server. When the user program opens the
COM to communicate through ZLVircom
serial device server
to users.
Here's how to do this:
Figure 13 Virtual serial port