当前位置: 首页 > news >正文

NI HIL自动化测试12-Veristand01-Veristand Engine

Veristand Engine

VeriStand 引擎是管控整套系统时序、以及下位机与上位机之间通信的执行机制。VeriStand 引擎执行硬件输入输出、运行模型、程序流程、报警功能与测试任务,并根据模型运行结果和硬件输入输出数据计算通道表内数值。该引擎既可在仿真模式下运行于台式电脑,也可作为嵌入式应用程序运行在实时(RT)系统中。VeriStand 引擎包含多个定时循环,这些循环借助实时(RT)先进先出缓冲区在循环间传输数据。每个循环负责执行指定任务,并被分配相应优先级。用户无法修改引擎循环的优先级与核心任务,但可自定义循环相关运行参数,例如执行速率。系统定义文件存储了 VeriStand 引擎的各项配置参数。下图展示了 VeriStand 引擎的工作原理。

VeriStand Directories and Aliases

VeriStand uses directories and aliases for project files, models, and custom devices.

The following tables list paths to common VeriStand directories by operating system. The heading before each table indicates how NI documentation refers to the directory. For directories with aliases listed, the alias is the text that appears with a relative path in an API or XML file. This text defines the directory that the path is relative to.

Note: The aliases in this topic refer to locations on disk and are not related to aliases you define for channels in a system definition file.

<Common Data>

Alias:To Common Doc Dir

Operating systemPath
Windows<Public Documents>\National Instruments\NI VeriStand <xxxx>
Note: <xxxx> is the VeriStand version number.

<Application Data>

Alias:To Application Data Dir

For internal use only. Certain custom device development tools, including Custom Device XML and the Device Properties VIs, can reference this directory. However, NI recommends you avoid storing or modifying files in this directory.

Operating systemPath
Windows<Application Data>\National Instruments\VeriStand

<Base>

Alias:To Base

Operating systemPath
Windows<Program Files>\National Instruments\VeriStand <xxxx>
Note: <xxxx> is the VeriStand version number.

<Custom Device Engine Destination>

Alias: None

Operating systemPath
Phar Lap/ETSC:\ni-rt\NIVeristand\custom devices\<custom device name>\

<Model Framework>

Alias: None

Operating systemPath
WindowsC:\VeriStand\<xxxx>\ModelInterface

VeriStand .NET Reference

Use .NET APIs to programmatically control software operations.

Note: These APIs are documented in the VeriStand .NET API Help.

APIAssemblyDescription
Execution APINationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll)Automates the operation of an VeriStand application on the target. For example, you can read and write channel data, control running models, configure alarm states and read data from alarms, and access Workspace tools.
System Definition APINationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll)Automates the operation and configuration of a system definition file. This API performs the same operations as configuring the file in the System Explorer window.
Stimulus Profile Definition APINationalInstruments.VeriStand.StimulusProfileDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll)Automates the operation and configuration of stimulus profiles. This API performs the same operations as configuring stimulus profiles in the Stimulus Profile Editor.
Real-Time Sequence Definition APINationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll)Automates the operation and configuration of real-time sequences. This API performs the same operations as configuring real-time sequences in the Stimulus Profile Editor.
Data Types APINationalInstruments.VeriStand.Data (in NationalInstruments.VeriStand.DataTypes.dll)Represents data types and resources used by VeriStand.

You can access these assemblies from any .NET-compatible programming language or environment, including LabVIEW and NI TestStand.

ASAM XIL API - Generic Simulator Interface

VeriStand includes a Generic Simulator Interface for the Framework, MAPort and EESPort based on the 2.1 version of the ASAM XIL Standard

The Association for Standardization of Automation and Measuring Systems (ASAM) is an organization that facilitates interoperability between measurement and automation testing tools from different vendors.

Use the MAPort to read and write data and to capture and generate signals in the simulation model. The EES port provides a general API for electrical error simulation. The Framework is an abstraction layer above the testbench.

Note: Although the EESPort and MAPort use the 2.1 version of the ASAM XIL API, they have their functionality implemented for the 2.0.1 API version. The TargetScript in MAPort also implements the 2.1 API.

Locate example VeriStand ASAM XIL testbench and framework files in <Common Data>\Examples\DotNet4.6.2\ASAM XIL.

http://www.jsqmd.com/news/1257336/

相关文章:

  • 2026年北京合同纠纷律师精选推荐 北京卓航等5家值得关注的专业律所 - 本地品牌推荐
  • 还在为图片文字提取烦恼?Umi-OCR:一款彻底改变你工作流的免费离线OCR工具
  • 收藏!学完AI大模型开发,这6个高薪岗位你值得拥有!
  • 2026北京奢侈品珠宝首饰回收哪家口碑好?尚典卡地亚/宝格丽鉴定实力过硬,这份本地测评榜单给出答案 - 奢品流通笔谈
  • 3步解锁网易云音乐限制:ncmdump让NCM格式音乐重获播放自由
  • Adobe-GenP 3.0破解工具:3分钟免费激活Adobe全家桶的终极指南
  • 从「能纠错」到「算得起」:量子计算真正的考验才刚刚开始
  • 直管200人AI底座负责人离职,小鹏自研芯片如何接棒
  • 2026年广州企业财税行业企业做GEO服务商怎么选?本地靠谱选型指南与五家服务商深度测评 - 科技快讯
  • 广州儿童成长服务企业做GEO服务商怎么选?2026年五家服务商深度测评与靠谱选型指南 - 子柔传媒
  • 抖音无水印下载:如何用开源工具轻松保存高清视频?
  • 基于EfficientNetB7的街景门牌字符识别技术解析
  • 夸克网盘SVIP会员:从限速原理到高效文件管理策略
  • 大麦网抢票终极指南:Python自动化脚本轻松搞定热门演出门票
  • 2026北京宝格丽回收哪家口碑好?尚典B.Zero1/Divas‘ Dream鉴定实力过硬,这份本地测评榜单给出答案 - 奢品流通笔谈
  • 广州母婴消费服务企业做GEO服务商怎么选?2026靠谱选型指南与五家服务商深度测评 - 子柔传媒
  • AI视频创作工具:从文字到视频的智能剪辑革命
  • 同态加密+安全多方计算+TEE:隐私计算完整方案
  • 解锁专业级直播特效:StreamFX 12大核心功能深度探索
  • 广州职业培训服务企业做GEO服务商怎么选?2026年靠谱选型指南与代表性服务商能力拆解 - 小随科技
  • 3分钟搞定GitHub龟速下载:浏览器插件让你的下载速度提升100倍!
  • 6款免费AI工具助力高效毕业论文写作
  • RAG系统开发:核心架构与常见误区解析
  • 大模型记忆系统:从短期记忆到长期存储的技术演进
  • 北京民间借贷追讨难?2026年这5家律师事务所帮你解决 - 本地品牌推荐
  • 2026 年新消息:莱阳热门的合金无缝钢管厂家找哪家,打破传统:这钢管如何重塑工业制造的效率?-兆志钢铁 - 企业官方推荐【认证】
  • 基于YOLO的番茄成熟度检测系统开发与实践
  • 莆田甲醛检测怎么选?2026新政后CMA实验室的标准、流程、价格与避坑指南——莆田闽环测研甲醛检测中心 - 衡境测研
  • 灵境1911 短剧工业化系统:AI短剧量产工作流全解析
  • 2026 年新消息:海林评价高的封头批发厂家怎么联系,揭秘高效信息流的秘密武器-江东管道 - 企业推荐官【认证】