软件分享:SerialLoom 一个虚拟串口、串口分流、合并、以及TCP连接的工具 (win10/win11)

简介

软件原作者:Rahul Pachpind

官网:https://www.serialloom.com

项目Github地址:https://github.com/RahulP5/SerialLoom

适用于 Windows 的虚拟串口工具,带有可视化编辑器。可创建虚拟串口对、将一个串口分配给多个应用程序、合并串口以及桥接串口和 TCP。

还可以使用serialloom-cli 命令行工具来替代可视化编辑,方便自动化时创建、删除。如利用python来自动化测试:

1 import subprocess
2 
3 CLI = r"C:\Program Files\SerialLoom\serialloom-cli.exe"
4 a, b = subprocess.run([CLI, "pair"], capture_output=True, text=True, check=True).stdout.split()
5 try:
6     ...  # run the tests on ports a and b
7 finally:
8     subprocess.run([CLI, "delete", a], check=True)

 

软件截图

image

image

posted @ 2026-11-26 12:00  辰宿列张  阅读(2)  评论(0)    收藏  举报