Hi,
I am having a problem when deploying a model from Veristand (Windows) to a PXI equipment.
Let's start from the beggining: I have written a simulink model and compiled it for Veristand 2014 target. This generates a DLL, that I load it in Veristand at my Windows PC. From Veristand (Windows) I am able to run the model and the results are the same as Simulink. Now I want to run the model in the PXI (PXI-8176 with Phar Lap ETS 13.1). When I try to deploy the model to the PXI target, I've got the following error:
-----------
Start Date: 05/05/2015 11:16
Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\DC_Motor\DC_Motor_Ecosim\DC_Motor_Ecosim.nivssdf
Initializing TCP subsystem...
Starting TCP Loops...
Connection established with target Controller.
Preparing to synchronize with targets...
Querying the active System Definition file from the targets...
Stopping TCP loops.
Waiting for TCP loops to shut down...
TCP loops shut down successfully.
Unloading System Definition file...
Connection with target Controller has been lost.
Start Date: 05/05/2015 11:16
Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\DC_Motor\DC_Motor_Ecosim\DC_Motor_Ecosim.nivssdf
Preparing to deploy the System Definition to the targets...
Compiling the System Definition file...
Initializing TCP subsystem...
Starting TCP Loops...
Connection established with target Controller.
Sending reset command to all targets...
Preparing to deploy files to the targets...
Starting download for target Controller...
Opening FTP session to IP 169.254.104.111...
Processing Action on Deploy VIs...
Gathering target dependency files...
Downloading DC_Motor_Ecosim.nivssdf [71 kB] (file 1 of 4)
Downloading DC_Motor_Ecosim_Controller.nivsdat [6 kB] (file 2 of 4)
Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
Downloading DC_Motor_Ecosim_Controller.nivsparam [0 kB] (file 4 of 4)
Closing FTP session...
Files successfully deployed to the targets.
Starting deployment group 1...
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The VeriStand Gateway encountered an error while deploying the System Definition file.
Details:
Error 1097 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
Possible reason(s):
LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW.
=========================
NI VeriStand: Call Library Function Node in SIT Model API.lvlib:Load Model DLL.vi->SIT Model API.lvlib:Initialize Model.vi->Model Execution.lvlib:Initialize Model Loop Data.vi->NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi->NI VeriStand Engine.lvlib:VeriStand Engine.vi->NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Sending reset command to all targets...
-----------
After this, I cannot connect to the PXI and I have to reset it.
Any idea?
Thank you,
Jesús M. Zamarreño