Deployment Error in NI VeriStand While Using a .vsmodel Built from Simulink

Updated Apr 9, 2024

Reported In

Software

  • VeriStand
  • Simulink
  • MATLAB

Issue Details

How can I fix the deployment error below that I experienced when deploying with the .vsmodel file built from Simulink in NI VeriStand?

NI VeriStand: Failed to open a connection to the VeriStand server process.

Deployment Error - 1.png

Deployment Error - 2.png

Deployment Error.png

Solution

This issue could be caused by an issue with the compiled binary of the .vsmodel file. Please try the following to validate this: try to deploy the project without the .vsmodel file and verify whether the error is occurring or not. If not, the issue with the compiled binary is the primary source of the problem.

The workarounds for this issue are as follows:
  1. Referring to step 2 of Creating Simulation Models Using VeriStand Model Generation Support Add-On, try using a different solver when creating the .vsmodel file.
  2. Try to recompile the .vsmodel file using a different version of MATLAB/Simulink and VeriStand Model Generation Support that is still compatible with the VeriStand version. Please refer to the compatibility table in the VeriStand Model Generation Support and MathWorks Simulink® Compatibility to check the software compatibility.