串口接收数据循环 [英] Serial Port Receiving data Loop

查看:540
本文介绍了串口接收数据循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,任何人都可以帮助串行端口数据接收连续循环吗,我有Textbox1用于接收数据,textbox2用于写入数据,打开端口,发送数据按钮,如果我们在textbox2中键入ABCD,它应该显示连续ABCD. ...在textbox1中,具有复选框以选择循环显示或一次显示,感谢

Hello,can any one help serial port data receive continuing means loop, i have Textbox1 for receiving data, textbox2 for writing data, open port, send data Buttons,if we typed ABCD in textbox2 ,it should display continues ABCD.....in textbox1,having Checkbox to select loop or one time display ,thanks

推荐答案



这不是问题.抱歉,我们都有很多工作要做,有些生活,所以这里没有人可以做您的工作.如果您有特定的问题或疑问,欢迎对您的代码进行一些小的更正.
您应该从以下内容开始:

http://msdn.microsoft.com/zh-CN/library/system. io.ports.serialport.aspx [ ^ ]

在本文中,您要实现的所有内容(打开端口,读取,写入,循环)都得到了很好的解释.

致以最诚挚的问候
Hi,

that''s not a question. Sorry but we all have much to do and some life, so nobody here will do your work. If you have specified questions or problems, small corrections to your code you''re welcome.
You should start with this:

http://msdn.microsoft.com/en-US/library/system.io.ports.serialport.aspx[^]

In this Article there are all things you want to achieve (open port,read,write,loop) very well explained.

With Best Regards


这篇关于串口接收数据循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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