Virtual serial port software vspm User Manual

Source: Internet
Author: User

The virtual serial port software introduced here is vspm (: http://www.dbank.com/download.action? T = 40 & K = mtq1mde2njk = & pcode = lcw2ndc2mjksnjq3nji5 & RND = 2527
)
.

Vspm virtual serial port software can
TCP/IP
Connect to the VM
Com
Through accessing the virtual serial port, the application can complete
Process control, data transmission, and other functions. It is very convenient to debug serial port related programs. The following describes how to use the software.

First, download and install vspm
.

Double-click the application icon to start vspm
If it is run for the first time, the following dialog box is displayed:
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046515906.png" border = "0" alt = "">

Here, we will first introduce how the virtual serial port software works. As described above, the virtual serial port Software
The connection is mapped to the virtual serial port of the local machine.
You must start two program instances. One program runs on
Server
In
Client
Mode.

Therefore, you can select the second option: vspm.
Run in
Server
Mode. The following dialog box is displayed:
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046566937.png" border = "0" alt = "">


, Select Add virtual serial port, the parameter configuration dialog box is displayed: This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046691859.png" border = "0" alt = "">

The serial port can be selected, for example, com2
,
IP
Location
Address of your host
IP
, Port
You can directly use the listening port of the mode. Click OK to generate a virtual serial port
Com2
. For example:
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046749531.png" border = "0" alt = "">

This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046999406.png" border = "0" alt = "">

Click "OK" and the program will exit. Then, click "start virtual serial port software" again, and a client Mode Program will run: This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269047032671.png" border = "0" alt = ""> Similarly, select Add virtual serial port, in the pop-up parameter configuration box, select com3
,
IP
Still local
IP
, Click OK, then you can see,
Client
Virtual serial port that has been successfully established in the Mode Program
Com3
And "last operation" displays"
TCP/IP
The connection has been established ".
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269047072171.png" border = "0" alt = "">
So far, the servers and
After the client has been set up, you can use the virtual serial port in your program.


Next, we will introduce another serial port-related software "Serial Port debugging assistant", and use this software to test the above virtual serial port platform.
Serial debugging Assistant program interface such as: This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269047118546.png" border = "0" alt = ""> The white space in the upper right corner is the data receiving display area, and the white space below is the data editing area for sending.
For example, we can change the serial port parameter in the upper left corner and select com2
And open a program again, select
Com3
Because we have just used the virtual serial port software to establish
Com2
And
Com3
In this case, the data of the serial port debugging assistant is sent
Write Data in the edit box, for example
:"
Hua
China University of Science and Technology
"
And then click "Hand
", It will be found that the data receiving area of another serial port debugging assistant shows
"
Huazhong University of Science and Technology
"
Because it monitors the data sent to the serial port and displays the blank area.


So far, the introduction of virtual serial port and serial port debugging assistant has basically ended. I hope it will be helpful to all readers. Here I will only introduce this article.
The most basic functions of the software. Other advanced functions are waiting for you to explore. Thank you for reading. If you have any questions, please
Letter exchange: lujun.hust@gmail.com

At this time, the virtual serial port server has been set up. The following describes how to set up the virtual serial port client program.
Do not close the above server program, click again to start the virtual serial port software, will pop up: This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046829062.png" border = "0" alt = "">
Select No. Otherwise, com2
Will be overwritten. If you click "no", the following message is displayed:
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046875062.png" border = "0" alt = "">
We want to establish a client
Pattern program, but at this time it is still
Server
Mode, so select the working mode:
This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046906625.png" border = "0" alt = ""> This. SRC)' src = "http://img1.51cto.com/attachment/201003/201003201269046944656.png" border = "0" alt = "">

Click OK. The following message is displayed:


Then, you can add the virtual serial port you need. This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046644625.png" border = "0" alt = "">

Click OK. The following dialog box is displayed: This. SRC) 'src = "http://img1.51cto.com/attachment/201003/201003201269046604359.png" border = "0" alt = "">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.