控制台输出显示在TextBox中,从串行端口接收 [英] Console Output show in TextBox recieve from Serial Port
本文介绍了控制台输出显示在TextBox中,从串行端口接收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我正在使用GPS.我已经建立了一个控制台应用程序,可以从GPS中获取数据.我想在文本框中的窗体上显示该输出.
有人可以帮助我吗?
谢谢
问候:
shahbaz akber
Hi
i am working with GPS. i have build a console application that take data from GPS. i want to Show that output on Form in a TEXT BOX.
any one can help me ?
thanks
regards:
shahbaz akber
推荐答案
Google充满了此类示例,但这是此站点中的一个: ^ ]
Google is full with such samples, but here is one from this site: Serial Communication using C# and Whidbey[^]
这听起来很像是AmundGjersøe已经完成并发布的内容本文中的内容:基本串行端口侦听应用程序 [
This sounds very much like something Amund Gjersøe has already done and posted in this article: Basic serial port listening application[^].
Although the article is mainly about serial port communication, he is taking input from a GPS and displaying it in a nice little form.
Soren Madsen
这篇关于控制台输出显示在TextBox中,从串行端口接收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文