LabVIEW Simulation Interface Toolkit API Reference

Communicating with the SIT Server (Simulation Interface Toolkit)

  • Updated2023-02-21
  • 2 minute(s) read

The host VI communicates with the execution host through the SIT Server. As you change parameter values using host VI front panel controls, the host VI sends a request to the model to change the appropriate parameter values. The SIT Server transmits this request. Using the new parameter values, the model executes and updates the appropriate signals. The model then sends the new signal values to the SIT Server, which passes the new values to the host VI. The host VI uses these new values to update the front panel indicators.

If you are not running a simulation on a real-time (RT) target, you must launch The MathWorks, Inc. MATLAB® application software before starting the SIT Server. By default, the LabVIEW Simulation Interface Toolkit configures the SIT Server to start automatically when you launch the MATLAB application software. However, you can configure the SIT Server to start on a different port.

If you are running a simulation on an RT target, the driver VI starts the SIT Server, so you do not need to launch the MATLAB application software. You also can run a simulation on an RT target without the SIT Server.

Note  If you installed the MATLAB application software files as read-only, the Simulation Interface Toolkit does not configure the SIT Server to start automatically and the SignalProbe block does not appear in the Simulink Library Browser window. To see these changes, add the following lines to the matlabrc.m file. If you only want to start the SIT Server for certain users or configurations, add the following lines to the startup.m file.

addpath('X:\SimulationInterfaceToolkit');

NISIT_AddPaths;

NISITServer;

where X is the drive letter on which you installed the Simulation Interface Toolkit.

Log in to get a better experience