From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
当我尝试在NI Veristand中添加仿真模型时,收到报错Error 1。我在LabVIEW中创建仿真模型(.lvmodel
),LabVIEW的VI包含数组时发生该错误。我该如何修复该错误?
创建.lvmodel文件之前,LabVIEW VI中的数组必须被填充,并设为默认值。
1.打开生成.lvmodel文件的LabVIEW VI
2.运行VI,确保数组在有数据的情况下被初始化
3.一旦数据被填充,右击数组,从快捷菜单中选择数据操作》当前值设置为默认值
4.保存VI
5.生成.lvmodel文件,确保您没有覆盖现有的模型
6.从工具栏选择工具》NI VeriStand》生成模型
7.打开NI Veristand,查找运行》系统浏览器
8.在系统浏览器窗口查找控制器》仿真模型
9.添加仿真模型
|