您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > CANoe快速入门_简体中文
CANoe快速入门©2008.HiRainTechnologies.Allrightsreserved.CANoe概述CAN总线开发工具测试分析分析模拟记录©2007.HiRainTechnologies.Allrightsreserved.Slide:2CANoe在总线开发中的作用(1)Phase1simul.node22Simulatedbussimul.nodesimul.node…n…1ωKl15Virtualtotalsystem©2007.HiRainTechnologies.Allrightsreserved.Slide:3CANoe在总线开发中的作用(2)Phase2simul.node22simulatedrest-of-busphys.busrealnodesimul.node……1ωnKl15VirtualsubystemRealsubsystem©2007.HiRainTechnologies.Allrightsreserved.Slide:4CANoe在总线开发中的作用(3)Phase3realnode22Physicalbusl(inrealtime)realnoderealnode…Analysis(inreal-time)…1ωnKl15Realtotalsystem©2007.HiRainTechnologies.Allrightsreserved.Slide:5CAN卡硬件接口卡&“狗”CANcardXLCANcaseXLCANcaseXL收发器CANcab(CANpiggy)251,1041,1054…251,1041,1054…LINcab(LINpiggy)72597259©2007.HiRainTechnologies.Allrightsreserved.Slide:6CANoe组成功能强大、操作简单CANoe数据库支持数据库支持CANdb++Editor可编程CAPLCAPL虚拟仪表PanelEditor&PanelDesigner©2007.HiRainTechnologies.Allrightsreserved.Slide:7CANoe工程环境©2007.HiRainTechnologies.Allrightsreserved.Slide:8多总线软件硬件控制面板控制面板VectorHardwareLicense-Overview©2007.HiRainTechnologies.Allrightsreserved.Slide:9设置(1)硬件CAN卡类型(编号)收发器类型收发器类型应用程序通道应用程序应用程序Licence信息©2007.HiRainTechnologies.Allrightsreserved.Slide:10设置(1)硬件CAN卡类型(编号)收发器类型收发器类型应用程序通道应用程序应用程序Licence信息©2007.HiRainTechnologies.Allrightsreserved.Slide:11设置(2)CANoe通道设置Configuration-OptionsConfiguration-OptionsConfigurationSettings-ChannelUsage©2007.HiRainTechnologies.Allrightsreserved.Slide:12灵活=复杂ApplicationCANalyzer1CANalyzer2...CANoe1CANoe2CANoe1forLIN...AppchannelsHWchannelsChannel1Channel2Channel1Channel2PiggyBack1PiggyBack2HWchannelsChannel1Channel2Channel1Channel2PiggyBack1PiggyBack2CANcardXL#1CANcaseXLCANcardXL#2Hardware©2007.HiRainTechnologies.Allrightsreserved.Slide:13从复杂到简单CANoe波特率设置Configuration-HardwareConfigurationConfiguration-HardwareConfiguration©2007.HiRainTechnologies.Allrightsreserved.Slide:14基本术语——报文(消息)与信号报文enginedata(ID100)报文:enginedata(ID100)ID100B0B1B2CRCID100B0B1B2CRC信号发动机温度(第二字节,0-6位)未用(第二字节,第七位)发动机转速(第一,二字节)发动机转速(第一,二字节)转换规则发动机转速:rpm=1*Bitvalue(0xFF代表错误)发动机温度:ºC=2*Bitvalue–50(0x7F代表错误)©2007.HiRainTechnologies.Allrightsreserved.Slide:15基本术语——环境变量与系统变量环境变量节点的I/O信号可用于面板或真实I/O可用于面板或真实I/O系统变量节点内部参数或需要观测的某个数值或需要观测的某个数值例如:系统变量1=报文1.信号1-报文2.信号2©2007.HiRainTechnologies.Allrightsreserved.Slide:16欢迎进入CANoe的世界CANoeCANdb++EditorCACAPLPanelEditor&PanelDesignerPanelEditor&PanelDesigner©2007.HiRainTechnologies.Allrightsreserved.Slide:17欢迎进入CANoe的世界CANoe8大窗口TraceWindowBusStatisticsWindowStatisticsWindowStatisticsWindowDataWindowGraphicWindowGraphicWindowWriteWindowSiliSSimulationSetupMeasurementSetup©2007.HiRainTechnologies.Allrightsreserved.Slide:18CANoe窗口介绍(1)TraceWindow报文ID和报文名称(数据库)信号(数据库)信号(数据库)时间(相对值或绝对值)通道DLCDLCDir(Tx或Rx)多内容更多内容见右键点击窗口空白处-Configuration-Columns©2007.HiRainTechnologies.Allrightsreserved.Slide:19蒙太奇(1)在CANoe中添加数据库View-SimulatioinSetup©2007.HiRainTechnologies.Allrightsreserved.Slide:20蒙太奇(1)在CANoe中添加数据库View-SimulatioinSetup©2007.HiRainTechnologies.Allrightsreserved.Slide:21蒙太奇(1)在CANoe中添加数据库View-SimulatioinSetup©2007.HiRainTechnologies.Allrightsreserved.Slide:22蒙太奇(2)符号化显示与十进制/十六进制切换Globalswitches:Hex/DecandNumeric/Symbolictoggles©2007.HiRainTechnologies.Allrightsreserved.Slide:23CANoe窗口介绍(1)清空Trace窗口暂停Trace窗口时间显示切换报文显示切换©2007.HiRainTechnologies.Allrightsreserved.Slide:24CANoe窗口介绍(2)DataWindow数据库!信号名称信号名称信号值(Value)信号单位原始值(RawValue)原始值(RawValue)Bar图©2007.HiRainTechnologies.Allrightsreserved.Slide:25CANoe窗口介绍(2)DataWindow添加信号右键单击空白处右键单击空白处AddSignals选择需要的信号选择需要的信号©2007.HiRainTechnologies.Allrightsreserved.Slide:26CANoe窗口介绍(3)GraphicsWindows数据库!显示信号曲线显示信号曲线不同的颜色和线形右键单击空白处选择Configuration放大、缩小、平移…©2007.HiRainTechnologies.Allrightsreserved.Slide:27CANoe窗口介绍(3)GraphicsWindows添加信号右键单击空白处右键单击空白处AddSignals选择需要的信号选择需要的信号©2007.HiRainTechnologies.Allrightsreserved.Slide:28CANoe窗口介绍(4)StatisticsWindowMessagefrequency显示报文出现频率显示错误帧出现频率显示错误帧出现频率统计报告右键单击空白处ConfigurationActive生成统计报告(WriteWindow)ID©2007.HiRainTechnologies.Allrightsreserved.Slide:29CANoe窗口介绍(5)BusStatisticsWindow总线负载数据帧数据帧错误帧CAN卡控制器状态©2007.HiRainTechnologies.Allrightsreserved.Slide:30CANoe窗口介绍(6)WriteWindowCAN卡控制器状态License信息License信息统计报告CAPL输出窗口Printf=Write©2007.HiRainTechnologies.Allrightsreserved.Slide:31蒙太奇(3)DesktopCreateNewDesktopRenameDesktopRenameDesktop©2007.HiRainTechnologies.Allrightsreserved.Slide:32蒙太奇(4)固定窗口©2007.HiRainTechnologies.Allrightsreserved.Slide:33蒙太奇(4)固定窗口©2007.HiRainTechnologies.Allrightsreserved.Slide:34CANoe窗口介绍(7)MeasurementSetupView-MeasurementSetup每个模块对应一个窗口每个模块对应个窗增加新模块(窗口)插入功能块插入功能块数据记录©2007.HiRainTechnologies.Allrightsreserved.Slide:35CANoe窗口介绍(7)新增模块(窗口)©2007.HiRainTechnologies.Allrightsreserved.Slide:36CANoe窗口介绍(7)新增模块(窗口)©2007.HiRainTechnologies.Allrightsreserved.Slide:37CANoe窗口介绍(7)插入功能块CAPL节点发生器模块发生器模块回放模块触发模块过滤器模块过滤器模块©2007.HiRainTechnologies.Allrightsreserved.Slide:38CANoe窗口介绍(7)过滤器模块通道过滤(ChannelFilter)报文过滤(Filter)报文过滤(Fil
本文标题:CANoe快速入门_简体中文
链接地址:https://www.777doc.com/doc-4519108 .html