错误-307703指定的模型与NI VeriStand不兼容

更新 Mar 6, 2024

适用于

软件

  • VeriStand
  • LabVIEW

问题详述

我在LabVIEW中创建了一个简单的VI,将其转换为模型并将其导入到VeriStand项目中。
但是,当试图将项目运行或部署到我的PXI / PXIe实时目标时,出现以下错误:
The VeriStand Gateway encountered an error while deploying the System Definition file. 

Details: 
Error -307703 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi 

Possible reason(s): 

NI VeriStand: The specified model is incompatible with NI VeriStand. If you are trying to deploy the model to an RT target, launch the Console Viewer tool to display the console output of the target, which includes information about the source of the error. 
========================= 
NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> Model Execution.lvlib:Initialize Model Loop Data.vi >> Model Execution.lvlib:Initialize Models.vi >> SIT Model API.lvlib:Initialize Model.vi >> SIT Model API.lvlib:Load Model DLL.vi 
<append>========================= 
NI VeriStand: Failed to load C:\ni-rt\NIVeriStand\Models\SLPMcontrol.lvmodel 

解决方案

要解决此问题,请确保LabVIEW VI和LabVIEW模型的名称不包含任何特殊字符。

LabVIEW VI和LabVIEW模型的路径也可能是一个因素。尝试将模型保存到其他位置,例如桌面。然后从新位置添加模型

如果您使用的是VeriStand 2017,则此问题已由f1补丁修复。在主机上安装f1补丁(参见相关链接),然后在要部署到的RT Target上重新安装NI VeriStand Engine。只要考虑了上述其他注意事项,就可以解决该问题。