您好,欢迎访问三七文档
©2008.HiRainTechnologies.Allrightsreserved.CANoe快速入门©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe概述CAN总线开发工具测试分析仿真记录2©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe在总线开发中的作用(1)3Phase1simul.nodensimul.node2Simulatedbus…simul.node1ωKl15Virtualtotalsystem…©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe在总线开发中的作用(2)4Phase2simul.node2simulatedrest-of-bus…realnode1ωKl15simul.nodenVirtualsubystemRealsubsystem…phys.bus©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe在总线开发中的作用(3)5Phase3realnode2…realnode1ωKl15Realtotalsystemrealnoden…PhysicalbusAnalysis(inreal-time)©2007.HiRainTechnologies.Allrightsreserved.Slide:硬件接口卡&“狗”CANcardXLCANcaseXL收发器CANcab(CANpiggy)251,1041,1054…LINcab(LINpiggy)72596CAN卡©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe组成功能强大、操作简单CANoe数据库支持CANdb++Editor可编程CAPL虚拟仪表PanelEditor&PanelDesigner7©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe工程环境8©2007.HiRainTechnologies.Allrightsreserved.Slide:多总线软件硬件控制面板VectorHardwareLicense-Overview9©2007.HiRainTechnologies.Allrightsreserved.Slide:设置(1)硬件CAN卡类型(编号)收发器类型应用程序通道应用程序License信息10©2007.HiRainTechnologies.Allrightsreserved.Slide:设置(2)CANoe通道设置Configuration-OptionsConfigurationSettings-ChannelUsage11©2007.HiRainTechnologies.Allrightsreserved.Slide:灵活=复杂12HWchannelsChannel1Channel2Channel1Channel2PiggyBack1PiggyBack2CANcardXL#1CANcaseXLCANcardXL#2HardwareCANalyzer1CANalyzer2...CANoe1CANoe2CANoe1forLIN...AppchannelsApplication©2007.HiRainTechnologies.Allrightsreserved.Slide:从复杂到简单CANoe波特率设置Configuration-HardwareConfiguration13©2007.HiRainTechnologies.Allrightsreserved.Slide:基本术语——报文(消息)与信号14报文:enginedata(ID100)ID100B0B1B2CRC信号发动机温度(第二字节,0-6位)未用(第二字节,第七位)发动机转速(第一,二字节)转换规则发动机转速:rpm=1*Bitvalue(0xFF代表错误)发动机温度:ºC=2*Bitvalue–50(0x7F代表错误)©2007.HiRainTechnologies.Allrightsreserved.Slide:基本术语——环境变量与系统变量环境变量节点的I/O信号可用于面板或真实I/O系统变量节点内部参数或需要观测的某个数值例如:系统变量1=报文1.信号1-报文2.信号215©2007.HiRainTechnologies.Allrightsreserved.Slide:欢迎进入CANoe的世界CANoeCANdb++EditorCAPLPanelEditor&PanelDesigner16©2007.HiRainTechnologies.Allrightsreserved.Slide:欢迎进入CANoe的世界CANoe8大窗口TraceWindowBusStatisticsWindowStatisticsWindowDataWindowGraphicWindowWriteWindowSimulationSetupMeasurementSetup17©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(1)TraceWindow报文ID和报文名称(数据库)信号(数据库)时间(相对值或绝对值)通道DLCDir(Tx或Rx)更多内容见右键点击窗口空白处-Configuration-Columns18©2007.HiRainTechnologies.Allrightsreserved.Slide:蒙太奇(1)在CANoe中添加数据库View-SimulatioinSetup19©2007.HiRainTechnologies.Allrightsreserved.Slide:蒙太奇(2)符号化显示与十进制/十六进制切换20Globalswitches:Hex/DecandNumeric/Symbolictoggles©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(1)21清空Trace窗口暂停Trace窗口时间显示切换报文显示切换©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(2)DataWindow数据库!信号名称信号值(Value)信号单位原始值(RawValue)Bar图22©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(2)DataWindow添加信号右键单击空白处AddSignals选择需要的信号23©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(3)GraphicsWindows数据库!显示信号曲线不同的颜色和线形右键单击空白处选择Configuration放大、缩小、平移…24©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(3)GraphicsWindows添加信号右键单击空白处AddSignals选择需要的信号25©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(4)StatisticsWindow显示报文出现频率显示错误帧出现频率统计报告右键单击空白处ConfigurationActive生成统计报告(WriteWindow)26MessagefrequencyID©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(5)BusStatisticsWindow总线负载数据帧错误帧CAN卡控制器状态27©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(6)WriteWindowCAN卡控制器状态License信息统计报告CAPL输出窗口Printf=Write28©2007.HiRainTechnologies.Allrightsreserved.Slide:蒙太奇(3)DesktopCreateNewDesktopRenameDesktop29©2007.HiRainTechnologies.Allrightsreserved.Slide:蒙太奇(4)固定窗口30©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)MeasurementSetupView-MeasurementSetup每个模块对应一个窗口增加新模块(窗口)插入功能块数据记录31©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)新增模块(窗口)32©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)插入功能块CAPL节点发生器模块回放模块触发模块过滤器模块33©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)过滤器模块通道过滤(ChannelFilter)报文过滤(Filter)变量过滤(Variables)34©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)数据记录默认状态关闭多种记录文件类型多种记录配置方式35©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)记录文件右键点击文件图标-Loggingfileconfiguration36©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(7)记录配置方式双击Logging模块全部记录单次记录触发记录37©2007.HiRainTechnologies.Allrightsreserved.Slide:蒙太奇(5)数据记录的目的是为了离线分析Mode-ToOffline38©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(8)SimulationSetupView-SimulationSetup发生器交互式发生器CAPL节点39©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(8)发生器模块40©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(8)发生器模块41©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(8)发生器模块42©2007.HiRainTechnologies.Allrightsreserved.Slide:CANoe窗口介绍(8)交互式发生器模块43©2007.HiRainTechnologies.Allrightsreserved.Slide:欢迎进入C
本文标题:CANoe快速入门
链接地址:https://www.777doc.com/doc-1487843 .html