概述
Graphic窗口将信号、变量和诊断参数以图形化的方式显示在XY坐标系中,方便用户通过动态图直观的分析总线状态。Graphics的X轴可以被配置成时间参数、信号或变量。
Graphics
打开或新建Graphics窗口的两种方式
- 从主菜单栏
打开 : Analysis -> Graphics-> View
新建 : Analysis -> Graphics-> Graphics Window - 从主菜单measurement setup
打开 :双击Graphics模块或在Trace模块上右键选择Show Window
新建 :在Graphics模块右键选择Insert Graphics Window
向Graphics窗口添加信号或变量的三种方式
- 从Symbol Explorer将信号或变量拖拽至Graphics中
- 从Trace窗口中将信号或变量拽至Graphics中
-
在Graphics窗口左侧信号栏中右键选择Add Signals或Add Variables添加
向Graphics窗口添加信号和变量的三种方式
Graphics常用功能
-
Fit all signals:使信号以合适的比例在窗口中显示
图片.png -
测量光标(Activate/deactivate measurement cursor):点击Activate/deactivate measurement cursor激活或取消测量光标,测量光标用于显示测量点信号数值和时间,仅在停止measurement 暂停或停止时有效
图片.png -
差分光标(Activate/deactivate diference cursor):对比分析两个采样点的数据,对比结果在左下角显示,仅在停止measurement 暂停或停止时有效
差分光标 -
X/Y mode:在Graphics窗口左侧信号列表中右键一个信号可以将此信号设置为X轴
X/Y mode -
日志导入/导出:Graphics可以将日志保存到.mdf格式的文件中,也可以导入.mdf格式的日志
右键选择 signal logging configuration设置log保存路径和文件名:
signal logging configuration
右键选择start logging开始记录log:
start logging
日志导入/导出:
日志导入/导出