visual studio c ++中的串口 [英] serial port in visual studio c++

查看:253
本文介绍了visual studio c ++中的串口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用visual studio创建一个使用PC串口的Windows窗体。我希望从PC获取数据并在我的应用程序中的文本框中显示。

I am using visual studio to create a windows form for using serial port of the PC. I want to get data from the PC and show it on textbox in my application.

我已经使用serialport事件自动获取数据,当这是端口中的信息时。

I have used serialport event to get data automatically when ther is an information in the Port.

 

推荐答案

嗯,你的问题是??

hmm, and your problem is??

考虑发布一个简洁而完整的例子。

Consider posting a concise and complete example.


这篇关于visual studio c ++中的串口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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