NI - VeriStand使用手册(7)
NI VeriStand 2010使用手册
3. 创建Procedures通道,指定Reset按钮按下后的系统行为
1) 添加Add Procedure
? Name:Reset MiL
2) 添加停止Add? Set Multiple Variables
? Name: Stop Ecu and Engine ? Number of Channels to Set: 2
? Channel 1: Controller ? Simulations Models ? Models ? Ecu ? Execution ?
Model Command ? Value 1: 2
31 / 60
NI VeriStand 2010使用手册
? ?
Channel 2: Controller ? Simulations Models ? Models ? Engine ? Execution ? Model Command Value 2: 2
3) 延时Add ?Dwell
? Dwell Time:勾选 Use Constant Value,0.1
4) 开始运行Add? Set Multiple Variables ? Name: Start Ecu and Engine ? Number of Channels to Set: 2
? Channel 1: Controller ? Simulations Models ? Models ? Ecu ? Execution ? Model
Command ? Value 1: 0
? Channel 2: Controller ? Simulations Models ? Models ? Engine ? Execution ?
Model Command ? Value 2: 0
5) 弹起Reset按钮Add? Set Variable
? Name: Pop Up Button
? Channel to Set: Controller/User Channels/Reset MiL ? Value 1: 勾选 Use Constant Value 0
6) Add? Alarm Command
32 / 60
NI VeriStand 2010使用手册
? ? ?
7) 点击Controller ?Alarms? Reset has been pressed
? Alarm Action:选择Procedures/Reset MiL ? Priorit: Low
? Default State: Enabled ? Delay Duration (sec): 0.000 ? Mode: Normal
Name: Acknowledge Alarm
Function: Reset Alarm & Exit Subroutine Alarm: Reset has been pressed
4. 保存系统定义文件,Deploy后,在workspace中添加布尔量控件,映射到User
Channel?Reset MiL。当单击此按钮时Reset MiL = 1,超出了Alarm通道所规定的阀值0,Procedures被Alarm触发,Engine模型和Ecu模型先停止、再运行,完成重新启动过程后,Reset MiL = 0,按钮复位。
33 / 60
NI VeriStand 2010使用手册
5.2. 使用Calculated Channels
测试Ecu算法时,希望当发动机在某点运行稳定后,再自动进入下一工况点。这就要求测试系统能检测出过渡工况何时结束,在本节中我们将利用Calculated Channels实现该功能。
1. 创建Calculated Channels通道,为实现功能我们需要创建6个计算通道。
1) 在System Explorer中,展开Controller节点,单击Calculated Channels
2. 创建通道”RpmLow Bound”,使用Formula模式,设置如下图所示
34 / 60
NI VeriStand 2010使用手册
3. 创建通道“Rpm High Bound”,使用Formula模式,设置如下图所示
35 / 60
相关推荐:
- [互联网资料]2022年厦门大学机电工程系824机械设计
- [互联网资料]东南大学2022年硕士研究生拟录取名单公
- [互联网资料]能源调研报告(精选多篇)
- [互联网资料]初三英语下学期 中考英语 语法填空训练
- [互联网资料]2022内蒙古选调生行测常识备考:新事物
- [互联网资料]自驾必备!在新西兰租什么样的车自驾游
- [互联网资料]佛教素食菜谱44页未完
- [互联网资料]盈利能力分析外文翻译
- [互联网资料]2022年南昌航空大学音乐学院736马克思
- [互联网资料]优选外贸跟单实习报告总结(精品版)
- [互联网资料]银行新员工培训总结
- [互联网资料]2_year_visa_new_guidance_190316
- [互联网资料]天津市五校宝坻一中静海一中杨村一中芦
- [互联网资料]2007--2008学年第一学期高三数学宁波市
- [互联网资料]Chromatic framework for vision in ba
- [互联网资料]幼儿园大班上学期美术教案《心愿树》含
- [互联网资料]2022年华中农业大学信息学院820微型计
- [互联网资料]硬盘坏道的表现 __硬盘使用久了
- [互联网资料]江苏省2016年会计从业资格考试《会计基
- [互联网资料]公共场所卫生监督试卷全解
- 高级英语第一册所有修辞方法及例子总结
- 综合交通枢纽规划与城市发展
- 沃尔玛的企业文化案例分析
- 美国Thanksgiving Day 感恩节 介绍
- PEP六年级英语上册Unit6How do you fee
- 最齐全的中国大型商场购物中心名单
- 数据结构实验报告八—哈夫曼编译码
- 杭州市余杭区人民政府(通知)
- 七年级语文成语运用专项训练
- 微观经济学第三章 消费者行为 课后习题
- 对_钱学森之问_的思考
- Excel_三级联动_下拉菜单
- 办公用品需求计划申请表
- 对外汉语教材必须要知道的发展史
- 挑战杯大学生学术科技作品竞赛作品申报
- 举办民办教育培训机构应具备下列条件
- 太阳能路灯项目设计方案
- 2013年八年级上最新人教版新教材Unit3I
- 【历史】 6-4 《近代科学之父牛顿》 课
- 高中生物《第四章 第二节 探讨加酶洗衣




