# Serial Port Plotter
This is a Windows application that displays real time data from serial port. The application is 32-bit and built with Qt and QCustomPlot library.
## Features
- No axes limit: An unknown/new channel data create a new graph and uses it (palette of 14 cyclic colors)
- No data point limit: All received data is kept so user can explore old data
- No baud rate limit: Tested up to 912600 bps
- Zooming and dragging using the mouse (wheel or click, restricted to X axis only)
- Moving around the plot displays the X and Y values of the graph in the status bar
- Channel's name legend (double-click to modify)
- Channel selection (click on legend's text)
- Supports positive and negative integers and floats
- Exports to PNG
- Exports to CSV
- Autoscale to visible graph
## Screenshot
![Serial Port Plotter screenshot](res/screen_0.png)
## How to use the application
Just send your integer data over the serial port. The application expects certain format so it can differentiate between values. Each message you send must start with '$' and end with ';' (semi-colon) and the integers inside need to be space-separated. The Help button displays comprehensive instructions.
Use the mouse wheel over controls to change its values and use it over plot area to zoom.
When stopped/paused, plot area can be dragged and file saving can be enabled.
To enable the file saving, click on the document button before starting the plot.
Double click on a channel in the Graph Control panel to hide/show a specific channel.
![File Save Button](res/screen_1.png)
## Send data over the serial port
```c
/* Example: Plot two values */
printf ("$%d %d;", data1, data2);
```
Depending on how much data you want to display, you can adjust the number of data points. For example, if you send data from the serial port of the mbed every 10 ms (100 Hz) and the plotter is set to display 500 points, it will contain information for 5 seconds of data.
The software supports integer and decimal numbers ( float/double )
## Source
Source and .pro file of the Qt Project are available. A standalone .exe is included for the people who do not want to build the source. Search for it at [releases](https://github.com/CieNTi/serial_port_plotter/releases)
## Credits
- [Serial Port Plotter at mbed forums](https://developer.mbed.org/users/borislav/notebook/serial-port-plotter/) by [Borislav K](https://developer.mbed.org/users/borislav/)
- [Line Icon Set](http://www.flaticon.com/packs/line-icon-set) by [Situ Herrera](http://www.flaticon.com/authors/situ-herrera) icon pack
- [Lynny](http://www.1001freedownloads.com/free-vector/lynny-icons-full) icon pack
- [Changelog](http://keepachangelog.com/)
- Base of this software by [CieNTi](https://github.com/CieNTi)
- CSV export by [HackInventOrg](https://github.com/HackInventOrg)
## Changelog
All notable changes to this project will be documented below this line.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.3.0] - 2018-08-01
### Info
- Built with QT 5.11.1
- QT libraries updated and new plot features implemented
- Beginning of version 1.3
### Added
- COM port refresh button to update the list
- Channel visibility control added to turn off unwanted channel
- Autoscale button for Y axis will autoscale to the highest value + 10%
- Save to CSV support
### Changed
- qDarkStyle updated to 2.5.4
- qCustomplot updated 2.0.1
### Bugfix
- Axis rename dialog gets focus when popup occurs
## [1.2.2] - 2018-07-26
### Info
- Project forked from HackInvent since 1.2.1
### Added
- UART debug textBox
- Textbox control ( toggle visible and toggle data filter )
## [1.2.1] - 2017-09-24
### Fixed
- Support for float/double has been added
- Linux build fails because no `serial_port_plotter_res.o` file was found (Issue #4)
## [1.2.0] - 2016-08-28
### Added
- Negative numbers support ([cap we](https://developer.mbed.org/users/capwe/) FIX at [mbed forums](https://developer.mbed.org/comments/perm/22672/))
- Support for high baud rates (tested up to 912600 bps)
## [1.1.0] - 2016-08-28
### Added
- Original qdarkstyle resources (icons are working now)
- Manifest and all Windows related/recommended configs
- *Line Icon Set* icons in 3 colors
- *Lynny* icons in 3 colors
- Inno Setup file with auto-pack .bat file (installer tested on WinXP-32b and Win10-64b)
- Play/Pause/Stop, Clear and Help toolbar buttons
### Changed
- Resources structure
- Updated qcustomplot to v1.3.2
- Menubar is replaced by icon toolbar for usability
- [WiP] mainwindow.cpp doxygen friendly comments
### Removed
- Control over number of points
- Delete previous graph data
- *Connect* and *Start/Stop plot* buttons
## [1.0.0] - 2014-08-31
### Added
- Original [Borislav Kereziev](mailto:b.kereziev@gmail.com) work commit [source](https://developer.mbed.org/users/borislav/notebook/serial-port-plotter/)
## To-Do
- Port list refresh
- Fill baud automatically and allow custom by textbox (when COM ui)
- PNG *WITH* transparency
- Separate `receive_data` from `process_data` to allow non-throttled operations
[1.3.0]: https://github.com/Eriobis/serial_port_plotter/releases/tag/v1.3.0
[1.2.2]: https://github.com/Eriobis/serial_port_plotter/releases/tag/v1.2.2
[1.2.0]: https://github.com/CieNTi/serial_port_plotter/releases/tag/v1.2.0
[1.1.0]: https://github.com/CieNTi/serial_port_plotter/releases/tag/v1.1.0
[1.0.0]: https://github.com/CieNTi/serial_port_plotter/releases/tag/v1.0.0
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
serial_port_plotter-master.zip_QT_arm_虚拟示波器 (2069个子文件)
make_installer.bat 571B
qcustomplot.cpp 1.07MB
mainwindow.cpp 33KB
main.cpp 3KB
helpwindow.cpp 2KB
qcp.css 11KB
tabs.css 9KB
.gitignore 15B
.gitmodules 125B
qcustomplot.h 261KB
mainwindow.hpp 8KB
helpwindow.hpp 2KB
classQCustomPlot.html 292KB
classQCPAxis.html 185KB
classQCPGraph.html 156KB
classQCPAxisRect.html 142KB
classQCPCurve.html 128KB
classQCPLegend.html 126KB
classQCPFinancial.html 126KB
classQCPAbstractPlottable.html 119KB
classQCPErrorBars.html 118KB
classQCPBars.html 111KB
classQCPStatisticalBox.html 108KB
classQCPLayoutGrid.html 104KB
classQCPColorMap.html 96KB
classQCPTextElement.html 86KB
classQCPLayerable.html 85KB
classQCPColorScale.html 84KB
classQCPAbstractItem.html 81KB
classQCPLayoutElement.html 79KB
classQCPAbstractPlottable1D.html 76KB
classQCPLayout.html 72KB
classQCPItemText.html 72KB
classQCPLayoutInset.html 72KB
classQCPAbstractLegendItem.html 67KB
classQCPDataContainer.html 65KB
classQCPItemTracer.html 64KB
functions_s.html 58KB
classQCPItemPixmap.html 57KB
classQCPDataSelection.html 56KB
classQCPScatterStyle.html 55KB
classQCPPlottableLegendItem.html 54KB
classQCPItemBracket.html 54KB
classQCPItemPosition.html 53KB
classQCPItemEllipse.html 53KB
classQCPItemRect.html 52KB
functions_func_s.html 51KB
classQCPColorMapData.html 50KB
classQCPItemLine.html 50KB
classQCPItemCurve.html 49KB
classQCPSelectionRect.html 49KB
classQCPRange.html 47KB
classQCPItemStraightLine.html 46KB
classQCPAxisTicker.html 44KB
classQCPColorGradient.html 40KB
classQCPVector2D.html 38KB
classQCPAxisTickerDateTime.html 37KB
classQCPAxisTickerPi.html 37KB
classQCPSelectionDecoratorBracket.html 37KB
classQCPBarsGroup.html 36KB
classQCPAxisTickerText.html 36KB
namespaceQCP.html 35KB
classQCPGrid.html 35KB
classQCPPlottableInterface1D.html 34KB
classQCPAxisTickerTime.html 31KB
classQCPLayer.html 30KB
hierarchy.html 30KB
classQCPDataRange.html 29KB
classQCPLineEnding.html 26KB
annotated.html 25KB
classQCPAxisTickerFixed.html 24KB
classQCPSelectionDecorator.html 24KB
classQCPAxisTickerLog.html 24KB
classQCPPainter.html 23KB
classQCPAbstractPaintBuffer.html 23KB
functions_eval.html 22KB
classQCPStatisticalBoxData.html 19KB
classQCPPaintBufferGlFbo.html 19KB
thelayoutsystem.html 18KB
index.html 18KB
classQCPItemAnchor.html 17KB
classQCPPaintBufferGlPbuffer.html 17KB
classQCPFinancialData.html 17KB
inherits.html 17KB
classQCPPaintBufferPixmap.html 16KB
classQCPMarginGroup.html 16KB
classQCPCurveData.html 16KB
classQCPGraphData.html 15KB
classQCPBarsData.html 15KB
functions_g.html 14KB
functions_d.html 14KB
functions_func_d.html 14KB
dataselection.html 12KB
functions_func_g.html 12KB
functions_q.html 10KB
functions_func_q.html 10KB
global_8h.html 10KB
functions.html 9KB
namespacemembers.html 9KB
functions_c.html 9KB
共 2069 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
小贝德罗
- 粉丝: 69
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0