如何阅读com端口parrellay [英] how read com port parrellay

查看:58
本文介绍了如何阅读com端口parrellay的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用串口通信通过com端口制作c ++ softwear并将数据发送到arduino板。现在我想要使用超级终端softwera读取该数据。但当我与该端口建立连接时,超级终端说不能打开端口n该端口已经打开。如何解决这件事。有任何解决方案使用桥接虚拟COM端口或任何软件。请帮助我。对不起英语

i make c++ softwear and its sent data to arduino board using serial communication via com port. now i want read that data using hyperterminal softwera. but when i make connection with that port hyper terminal says cant open port n that port is already open . how solve this matter. have any solution using bridge virtual com port or any softwear. pls help me. sorry for the bad english

推荐答案

看看这些搜索结果。如果您需要一些高质量的解决方案,您需要了解并使用重叠的I / O 。现在相信我,或者几个星期后你会相信。 ; - )
Take a look at these search results in codeproject. If you want some high quality solution you will need to understand and work withOverlapped I/O. Believe me now or you will after some weeks. ;-)


由于 Jochen 已建议建议,通常使用相同的程序读取并写入串口。由于您的应用程序已经写入,因此它是最适合阅读的人选。例如,您可以将收到的数据记录到文件中或在控制台窗口中显示。
As Jochen already suggested suggested, usually you use the same program to read from and write to the serial port. Since your application already writes to then it is the best candidate for reading from. You might for instance just log the received data to a file or display it on the console window.


这篇关于如何阅读com端口parrellay的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆