使用串口数据在c#中实时绘图! [英] Plotting realtime in c# using data of serial port !

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

问题描述

那里,





i需要使用c#中通过串口接收的数据绘制实时图表,有没有办法做到了吗?我需要通过绘制其FFT,小波来分析该数据,我是否需要使用数据存储的东西?我是新手,因为我的职业是电子产品所以请帮助我





thankx

hi there,


i need to plot a realtime graph using data received through serial port in c#, is there any way to do it?? and i need to analyze that data by plotting its FFT, wavelet for this, do i need to use data storage things? i'm new to this thing because my profession is electronics so please help me


thankx

推荐答案

是的......这一切都非常可行。您需要将项目分解为组件。 .NET框架具有用于串行通信的库,因此获取数据应该不会太困难。有可用于进行FFT等的库。你可能需要在这里购买东西......我不确定什么是免费的。对于图表,SyncFusion,Telerik和Dev Express等众多第三方控件可满足您的需求和目标平台。至于存储数据,这取决于您的需求。像文本文件一样简单到高度可扩展的数据库都可以使用。



但是,我的朋友,很明显这不是您的专业领域。那没关系......我们都从方方面面开始。但如果你对这个项目有任何时间限制,我建议你将它分包给开发人员。尝试学习完成这样的事情所需要知道的语言,平台和库将是一个挑战,并且很有可能失败。你可以找到一个开发人员,可以在eLance等转包网站上为你写这个,并且可能以合理的金额完成它。当然,比你(或你的公司)支付的时间少得多。



祝你好运!
Yes... this is all very doable. You need to break the project down into components. The .NET framework has libraries for serial comms so getting the data shouldn't be too difficult. There are libraries available to do FFT and such. You may have to purchase something here... I'm not sure what is available freely. For charting, there are a number of 3rd party controls from the likes of SyncFusion, Telerik, and Dev Express to fit your needs and your target platform. As for storing the data, that depends on what your needs are. Something as simple as a text file all the way to a highly-scalable database are all available to you.

But, my friend, it is clear this isn't your area of expertise. And that is OK... we all start at square one. But if you have any sort of time constraint on this project, I would suggest you sub-contract it to a developer. Trying to learn the languages, platforms, and the libraries you need to know to accomplish something like this will be a challenge and there is a high probability of failure. You could find a developer that would write this for you on subcontracting sites like eLance and probably get it done for a reasonable amount of money. Certainly for much less than if you (or your company) were to pay for your time.

Best of luck!


我需要为我的最后一年做项目,不能雇人来做这件事。
i need to do it for my final year project cannot hire someone to do this.


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

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