Error -307703 指定的模型與 NI VeriStand 不相容

更新 Nov 9, 2020

產品資訊

軟體

  • VeriStand
  • LabVIEW

問題敘述

我在LabVIEW中建立了一個簡易VI,將其轉換成模型並載入到VeriStand專案(project)中。
但是,當我試圖執行專案或試圖部署到我的PXI / PXIe Real-Time Target時,會出現以下錯誤:
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。只要配合考慮到上述其他注意事項,就可以解決此問題。