[软件下载]SerialChart一个串口数据实时生成图形的软件
在做PID调试,还有卡尔曼滤波融合的时候,如果有一个能把数据实时传回电脑进行分析,并且生成图形的软件,会对调试过程起到事半功倍的效果。软件的SVN地址是http://code.google.com/p/serialchart/
配置方法介绍地址是http://code.google.com/p/serialchart/wiki/ConfigurationFileSyntax
额。。。那我把配置转载过来吧。
#Describes Configuration file syntax for SerialChart application (.scc files)IntroductionSerialChart configuration is done through a text file. The general format of the file is as follows:[section1
param1 = value
param2 = value
...
[section2
param1 = value
param2 = valueSetup SectionEach configuration file starts with the section, here you can setup global parameters. For example:[_setup_
port=COM3
baudrate=57600
width=1000
height=201
background_color = white
grid_h_origin = 100
grid_h_step = 10
grid_h_color = #EEE
grid_h_origin_color = #CCC
grid_v_origin = 0
grid_v_step = 10
grid_v_color = #EEE
grid_v_origin_color = transparentBelow are the parameters that can be used in the section:portSpecifies the communication port to which the software connects. For ex: COM1,COM2,..baudrateBaudrate in bps (bits per second). Only certain values are currently supported: 110,300,600,1200,2400,9600,19200,38400,57600,115200.Please note that currently no flow control parameters are supported, and parity will default to "none", stop bits defaults to 1, as these are most common values.width, heightwidth and height of the chart area in pixelsbackground_colorBackground color of the chart.Note about color formats Please note that colors in .SCC files can be specified in hex format (for ex: #FFF, or #FFFFFF) or named color (white,blue,magenta,pink,gray) see: http://www.w3.org/TR/SVG/types.html#ColorKeywords . Please note the special value transparent which means "no color". You can use it if you don't want some elements to be drawn at all.grid_h_origin, grid_v_originBoth horizontal and vertical grids will have an origin axis line, usually of different color from the regular grid lines. These parameters specifies the shift of this line from top/left borders of chart in pixels.grid_h_origin_color, grid_v_origin_colorColor of the grid origin (axis) line.grid_h_step, grid_v_stepDraw a grid line at each step of pixels from the origin line.grid_h_color, grid_v_colorColor of regular grid lines.Default and Field SectionsSerialChart accepts packets in CSV format (other formats might be supported in the future). Each packet comes on a separate line and each field value is separated by comma. Here is an example of sample data that SerialChart would receive:100,0.50,0.70
101,0.30,0.50
102,0.25,0.35The purpose of the following sections in the configuration file is to specify parameters for each field in the packet. For example:[_default_
min=-1
max=1
[Field1
color=gray
min=0
max=255
[Field2
color=blue
[Field3
color=redYou can specify parameters that would apply by default to all fields in the section. These parameters will apply to all field sections unless they will be overridden in the field section by parameters with the same name.In the example above note that Field2 and Field3 will inherit min=-1 and max=1 from the section. However Field1 will override these values with min=0 and max=255After you have defined the default parameters, you should define one section for each field that will be received in a packet. Field sections should be in the order in which they are received in the packet.The name of field sections can be chosen randomly but should be distinct from the reserved section names _setup_, _default_. For that matter avoid any names that start and end with _.Below is an explanation of the parameters accepted in the and field sections:min,maxThese are the field values that correspond to the top and bottom lines of the chart. In other words if you specify min = -1 and max = 1. A value of -1 will be plotted at the top border of the chart , and a value of 1 will be plotted at the bottom border of the chart. A value of 0 (which is is the midpoint between -1 and 1) will be plotted at the middle of the chart. Field values are linearly mapped from range to range where height is the chart height in pixels, specified in the setup section.colorThis is the color used to plot a field value. Use transparent color value if you don't want a specific field to be plotted.dashCreates an interrupted line. For example: dash = 3 will render 3 samples then will not render the next 3 samples, then render 3 samples, then again pause for 3 samples and so on...
很好用的东西,哈哈 好东西~正需要分析软件 幻生幻灭 发表于 2012-1-17 13:51 static/image/common/back.gif
好东西~正需要分析软件
无法下载还是无法运行? 本帖最后由 幻生幻灭 于 2012-1-19 08:33 编辑
弘毅 发表于 2012-1-18 19:51 static/image/common/back.gif
无法下载还是无法运行?
下载可以 5M的文件,
但是Google无法访问,没找到怎么配置COM端口才对,我把你的截图参数都敲打进去也没好用
点运行,无效果(怀疑是不是自己没配置的原因)
要是有个参数说明就好啦!{:soso__626321067742274858_2:}
port=COM1
baudrate=9600
Width=100
height=100
background_color=white
grid_h_origin=10
grid_h_step=1
grid_h_color=#EEE
grid_h_origin_color=#CCC
grid_v_origin=0
grid_v_step=1
grid_v_color=#EEE
grid_h_origin_color=transparent
min=0
max=10
color=transparent
min=0
max=100000
color=blue
color=red
悲剧了,还需要安装什么额外的软件么? 幻生幻灭 发表于 2012-1-19 13:18 static/image/common/back.gif
悲剧了,还需要安装什么额外的软件么?
额。。。。好像是.net写的。。。 这软件好用 本帖最后由 沧海笑1122 于 2012-2-21 00:35 编辑
好东西,正要做调取pachube.com远方数据库,打印至串口,这下可以做图形化监视了,谢谢。
怎么出现上图警告,我用的是win7专业版
沧海笑1122 发表于 2012-2-21 00:26 static/image/common/back.gif
好东西,正要做调取pachube.com远方数据库,打印至串口,这下可以做图形化监视了,谢谢。
我用的win7 32正常~~ 本帖最后由 沧海笑1122 于 2012-2-21 12:17 编辑
试过了,前面是直接运行自解压文件出现了错误,现在我用winrar解压,然后直接运行就没有问题,绿色软件{:soso_e189:} 。
今晚试从pachube.com取数据,然后推至串口,用这个软件展示。
7楼滴你滴代码有问题。。。
我复制了你的代码结果也崩溃了!
其实这个软件配合arduino很好用
这是我的测试截图,改天我把他的配置翻译翻译
用这个软件来帮助分析程序太有效了! 给力:lol
国内的Arduinor们队伍强大啊 不错,收下了,谢谢