VeriStand Server Does Not Start Automatically

Updated Nov 21, 2019

Reported In

Software

  • VeriStand

Other

  • MATLAB®

Issue Details

  • Why does NI VeriStand Server not start automatically when I launch The MathWorks, Inc. MATLAB® software?
  • I do not see the NIVeriStandSignalProbe in The MathWorks, Inc. Simulink® software or the NIVeriStand.tlc target file in the Real-Time Workshop® when browsing for a System Target file. How can I fix this?
  • Why can't I locate NIVeriStand.tlc while compiling a model from Matlab?

Solution

By default, NI VeriStand configures the NI VeriStand Server to start automatically when you launch the MATLAB® software. However, if you installed the MATLAB® application files as read-only, NI VeriStand cannot do this. As a result, the NIVeriStandSignalProbe block does not appear in the Simulink Library Browser window, and the NIVeriStand.tlc target file does not appear in the System Target File Browser window.

To enable these settings, add the following lines to the matlabrc.m file, which is installed by the MATLAB® software default:

addpath('X:\VeriStand');
NIVeriStandAddPaths;

where X is the drive letter on which you installed NI VeriStand.

If you only want to start the NI VeriStand Server for certain users or configurations, add the lines mentioned above to the startup.m file instead.

Additional Information

MATLAB®, Simulink®, and Real-Time Workshop® are registered trademarks of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.