如何获取图表线上的实时数据 [英] How Do I Get Live Data On Chart Lines
本文介绍了如何获取图表线上的实时数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将byte []数组转换为int或hex形式的数据在c#
how to convert byte[] array to int or hex form of data in c#
推荐答案
你好!
首先你需要一些Mock数据源让我们说你的数据结构很简单
Hello there!
First u`ll need some Mock datasource let say your data struct is a simple
int sampleData = 0;
秒你需要一些Demo模拟器,我们每隔x毫秒就会从串行接口读取你的数据(使用线程计时器)
第三最后,你需要使用新的模拟样本更新你的图表数据
那个` s all
希望我们能提供帮助,尽管我的答案很简短
second u`ll need some Demo simulator that we`ll read your data from the serial interface every x milliSecond (use thread timer)
Third and Finally, u need to update your chart data with the new fresh simulated sample
that`s all
hope we`ll help although the short form of my answer
这篇关于如何获取图表线上的实时数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文