Neutree / COMTool

Cross platform communicate assistant(Serial/network/terminal tool)( 跨平台 串口调试助手 网络调试助手 终端工具 linux windows mac Raspberry Pi )支持插件和二次开发
https://neucrack.com/p/186
GNU Lesser General Public License v3.0
1.8k stars 330 forks source link

串口打开False,实际打开成功,还有关闭串口也报错,用的pycharm+python3.5+pyqt5,win7 32位运行,持续关注中。。。。 #6

Closed Junkiwang closed 4 years ago

Junkiwang commented 6 years ago

icon path:C:/Users/Administrator/Desktop/COMTool-master/COMToolData/assets/logo.png data path:C:/Users/Administrator/Desktop/COMTool-master/COMToolData 1 Already latest version! Serial(port='COM6', baudrate=9600, bytesize=8, parity='N', stopbits=1.0, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)

receiveData error ClearCommError failed (OSError(9, '句柄无效。', None, 6))

Neutree commented 6 years ago

用已经打包好的版本可以打开么

Junkiwang commented 6 years ago

下载的文件中没看到已经打包好的版本呢

Neutree commented 6 years ago

。。。。

release页面:https://github.com/Neutree/COMTool/releases

image

Junkiwang commented 6 years ago

奥,可以打开串口,也能发数据,我的意思是调试发现的 Serial,是不是表示打开失败

Neutree commented 6 years ago

false确实是没有打开的意思,不过,你看代码里print(self.com)打印的地方是在串口还没打开的时候打印的,所以肯定始终为false的,至于你这个问题出在哪儿你可以调试一下就能找到问题啦