Virtual Serial Port Driver - create virtual
serial port pairs, emulate real COM ports
Manage all signal lines
Virtual serial ports created with
Virtual Serial Ports Driver emulate and support all standard hardware signal
lines (DTR/DSR, RTS/CTS, RING, ERROR, DCD, etc.). As in real null modem
connection, DTR of the local port is connected to DSR and DCD of the remote
port, and RTS of the local port is connected to CTS of the remote port. Moreover, you can choose loopback pinout or
create custom one depending on your hardware configuration.
一、虚拟串口信号连接验证实验:
软件
F:\Comm\QCOM_V1.0.exe(线路状态:右边一列只读)
F:\Comm\串口调试助手\com_debug.exe
虚拟串口对COM1-COM2
用QCOM选择HW Ctrl Flow打开COM1
用ComPortDebuger打开COM2
分别操作这2个软件,验证虚拟串口对的信号对应关系
A. 操作QCom时查看ComPortDebuger的响应
B. 操作ComPortDebuger时查看QCom的响应
操作:选择DTR
结果:[2013-06-13_21:32:07] DCD:1 CTS:0 RI:0
操作:选择RTS
结果:[2013-06-13_21:34:51] DCD:0 CTS:1 RI:0
结论:
与官方网站描述一致。
二、虚拟串口的硬件流控实验
虚拟串口对COM1-COM2
用QCOM选择HW Ctrl Flow打开COM1
用ComPortDebuger打开COM2
1、不勾选任何信号时QCom发送2次”a”, ComPortDebuger未收到,直到在ComPortDebuger上勾选RTS。
2、不勾选任何信号时ComPortDebuger发送2次”b”, QCom收到——也就是说ComPortDebuger没有考虑QCom是否给的流控信号!——这也说明硬件硬件流控需要软件支持。
3、如果在测试2中把ComPortDebuger换成QCom,情况会不一样。
总结:
QCom是一个很不错的软件,支持定时发送,可定义多条发送内容,支持软、硬件流控 等等。如果能像ComPortDebuger一样显示CTS、DSR、DCD的状态就更完美了。