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

发布时间:2026/11/5 20:26:05

NI HIL自动化测试12-Veristand01-Veristand Engine Veristand EngineVeriStand 引擎是管控整套系统时序、以及下位机与上位机之间通信的执行机制。VeriStand 引擎执行硬件输入输出、运行模型、程序流程、报警功能与测试任务并根据模型运行结果和硬件输入输出数据计算通道表内数值。该引擎既可在仿真模式下运行于台式电脑也可作为嵌入式应用程序运行在实时RT系统中。VeriStand 引擎包含多个定时循环这些循环借助实时RT先进先出缓冲区在循环间传输数据。每个循环负责执行指定任务并被分配相应优先级。用户无法修改引擎循环的优先级与核心任务但可自定义循环相关运行参数例如执行速率。系统定义文件存储了 VeriStand 引擎的各项配置参数。下图展示了 VeriStand 引擎的工作原理。VeriStand Directories and AliasesVeriStand 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 DataAlias:To Common Doc DirOperating systemPathWindowsPublic Documents\National Instruments\NI VeriStand xxxxNote: xxxx is the VeriStand version number.Application DataAlias:To Application Data DirFor 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 systemPathWindowsApplication Data\National Instruments\VeriStandBaseAlias:To BaseOperating systemPathWindowsProgram Files\National Instruments\VeriStand xxxxNote: xxxx is the VeriStand version number.Custom Device Engine DestinationAlias: NoneOperating systemPathPhar Lap/ETSC:\ni-rt\NIVeristand\custom devices\custom device name\Model FrameworkAlias: NoneOperating systemPathWindowsC:\VeriStand\xxxx\ModelInterfaceVeriStand .NET ReferenceUse .NET APIs to programmatically control software operations.Note: These APIs are documented in the VeriStand .NET API Help.APIAssemblyDescriptionExecution 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 InterfaceVeriStand includes a Generic Simulator Interface for the Framework, MAPort and EESPort based on the 2.1 version of the ASAM XIL StandardThe 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.
延伸阅读

更多相关文章

2026/11/4 8:08:17

图神经网络反爬对抗:从GCN检测模型到鲁棒性防御的攻防博弈

文章目录 每日一句正能量 摘要 一、引言:反爬虫检测的范式转移 1.1 传统方法的局限 1.2 GNN的独特优势 二、GNN反爬虫检测技术原理 2.1 图结构构建 2.2 图卷积神经网络(GCN) 2.3 图注意力网络(GAT) 三、对抗攻击:GNN检测的"阿喀琉斯之踵" 3.1 对抗攻击的基本原…

2026/11/4 8:08:15

subprocess.run函数介绍

前言 subprocess.run 是 Python 3.5 引入的函数,也是目前官方最推荐的用于执行外部命令(如 Shell 命令、系统脚本、其他程序)的方法。 官方文档明确建议:在大多数情况下,应该优先使用 subprocess.run(),而不…

2026/11/4 21:16:08

UE5 GAS中基于MMC的动态属性调整系统设计与实现

1. 项目概述:为什么我们需要一个动态的属性调整系统?做RPG游戏,尤其是那种角色会升级、装备会更换、天赋能点亮的,最头疼的问题之一就是属性计算。你肯定遇到过:玩家升了一级,攻击力加了10点,但…

2026/11/5 16:51:33

EasyU优启通PE维护盘实战指南:制作、启动与核心操作全解析

1. 为什么一个PE维护盘值得单独拿出来聊装系统、修引导、救数据、清病毒,这些活儿但凡干过几次的人都知道,真正决定效率的往往不是你手速多快,而是手边那套PE环境靠不靠谱。EasyU(圈内习惯叫优启通)就是在这个场景下被…

2026/11/5 16:26:13

Rust原来很简单二:所有权系统

Part 2 核心篇 —— 所有权系统 本篇覆盖 第 6 ~ 10 章:所有权、借用与引用、生命周期、字符串与切片、内存模型。 ⚠️ 这是全书最重要的一篇。 把它吃透,Rust 从此“很简单”;跳过它,你会处处碰壁。请慢下来,动手敲每一段代码。 第 6 章 所有权:Rust 的第一性原理 6…

2026/11/5 15:00:49

基于Hadoop+Spark的民宿智能推荐系统设计与实现

1. 项目概述:大数据时代的民宿智能推荐这个毕业设计项目融合了当前大数据领域最主流的技术栈,构建了一个完整的民宿推荐系统解决方案。作为一名长期从事大数据系统开发的工程师,我认为这个选题非常贴合实际应用场景——随着旅游业的复苏和共享…

2026/11/5 14:10:30

ADS122U04IPWR+STM32F427ZI工业级温度测量信号链设计

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/11/5 14:10:30

UART接口24位ADC搭配RS485,解决远距离温度监控难题

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/11/5 14:10:30

UART接口24位ADC搭配PIC18F46K22的RTD与热电偶测温实践

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/11/5 15:39:06

面向复杂光照与角度的宠物面部识别鲁棒性增强策略

在智慧养宠时代,基于视觉的宠物身份识别技术正逐步从实验室走向家庭应用。然而,与配合度高的人类不同,宠物是典型的“非合作生物识别对象”——它们不会主动配合摄像头调整姿态,更无法控制光照环境。实际应用中,我们常…

2026/11/4 21:04:25

SSM电子书店源码全解析:结构、原理、部署与排错实战

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/11/5 0:02:07

多智能体协作系统架构设计与实践优化

1. 多智能体协作系统的时代背景2017年Transformer架构的诞生彻底改变了人工智能的发展轨迹。当行业还沉浸在单一大模型带来的性能突破时,Anthropic的研究团队已经将目光投向了更前沿的领域——如何让多个智能体通过协作产生超越单体能力的系统智能。这就像交响乐团中…

2026/11/5 0:02:07

大模型系统性入门实战指南:从原理到部署微调的全链路路线

提到大模型的系统性入门,我先说个结论:这事真不难,难的是资料太散、路线太多,今天这个框架明天那个工具,新人很容易在“收藏夹吃灰”和“教程看到一半放弃”之间反复横跳。市面上关于大模型的内容少说有几十万篇&#…

2026/11/5 0:02:07

鸿蒙文件系统沙箱机制解析与开发实践

1. 鸿蒙文件系统沙箱机制深度解析作为一名从Android转向鸿蒙开发的工程师,我深刻体会到文件系统访问是迁移过程中最先遇到的"拦路虎"。在Android上运行良好的文件读写代码,在鸿蒙真机环境却频频出现文件写入后神秘消失或直接抛出权限拒绝错误的…

2026/11/5 15:39:06

面向复杂光照与角度的宠物面部识别鲁棒性增强策略

在智慧养宠时代,基于视觉的宠物身份识别技术正逐步从实验室走向家庭应用。然而,与配合度高的人类不同,宠物是典型的“非合作生物识别对象”——它们不会主动配合摄像头调整姿态,更无法控制光照环境。实际应用中,我们常…

2026/11/4 21:04:25

SSM电子书店源码全解析:结构、原理、部署与排错实战

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

还想了解更多?直接咨询顾问

免费诊断 + 免费方案 + 透明报价。

全国咨询热线400-8866-253
免费获取方案
☎咨询二维码 ☎ ↑