Giter Club home page Giter Club logo

Comments (3)

wh201906 avatar wh201906 commented on May 26, 2024

目前有一个关于绘图功能如何使用的文档,主要是面向普通用户的
https://github.com/wh201906/SerialTest/blob/master/doc/tutorials/plot/plot_zh_CN.md
关于内部具体实现目前没有相关文档
以当前master分支上的最新提交717a69a 为例:
rawReceivedData只是用来存储已接收的数据,用于“数据”选项卡当中的16进制显示和导出功能
程序中UI的更新是通过MainWindow::updateRxUI()来完成的,当中调用了plotTab->newData(RxUIBuf)来给“绘图”选项卡提供数据。

from serialtest.

Zheng-Bicheng avatar Zheng-Bicheng commented on May 26, 2024

我修改了RxUIBuf的数值,发现绘图功能已经能成功绘制图像了。这里有还一个问题,我需要绘制的图像是一个连续的sin波形,也就是说传入RxUIBuf的数据将会是256个连续的数据,我要怎么修改让绘图能够成功识别呢?按照数据分隔符","来分割的话,256个连续数据会被当成256个不同的图例数据吧?

from serialtest.

Zheng-Bicheng avatar Zheng-Bicheng commented on May 26, 2024

搞定了,发送数据的时候把分隔符全改成数据帧分隔符就行。感谢大佬的帮助。

from serialtest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.