在C#中绘制串行端口数据的实时图表 [英] Draw a realtime graph in C# for Serial port data

查看:118
本文介绍了在C#中绘制串行端口数据的实时图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在用c#做一个项目。这是关于示波器的。我想绘制相应串口值(电压)的图表。



我想帮助绘制实时图形(就像Windows任务管理器---> CPU历史图表)。请帮帮我!



谢谢!

Hi,

I'm doing a project from c#. It's about a Oscilloscope. I want to draw a graph for the corresponding serial port values(voltage).

I want help to draw the real time graph (just like Windows task manager---> CPU History graph). Please help me!

Thank you!

推荐答案





这里有几篇关于codeproject的文章:



一个灵活的.NET图表库 [ ^ ]



简单效果图 [ ^ ]



你可以使用VS的VS图表控件

http://code.msdn.microsoft.com/mschart [ ^ ]



祝你好运
Hi,

there are several articles here on codeproject:

A flexible charting library for .NET[^]

Simple Performance Chart[^]

and you could use the VS Chart Control for .NET
http://code.msdn.microsoft.com/mschart[^]

Best regards


我遇到同样的问题。我使用来自LRF传感器的串行数据,并使用C#在VS Windows窗体应用程序中计算X,Y数据。但我想在表单应用程序的X-Y图表上显示实时数据。谁能告诉我一些我可以在C#中使用的工具来连续绘制X-Y数据。



或者让我知道任何教程样本。



谢谢。
I have the same problem. I use serial data coming from a LRF sensor and compute X,Y data in VS Windows form application using C#. But I want to show the real-time data on a X-Y chart on the form application. Can anyone tell me some tools that I can use in C# to plot X-Y data continuously.

Or let me know any tutorial sample to follow.

Thank you.


这篇关于在C#中绘制串行端口数据的实时图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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