LabVIEW Simulation Interface Toolkit API Reference

SIT Write Multiple VI

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

SIT Write Multiple VI

Owning Palette: User Interface VIs

Requires: Simulation Interface Toolkit

Writes values to multiple parameters in the same model simultaneously.

SIT Reference in specifies information about the current simulation.
TCP Connection specifies the TCP reference for the current connection to the SIT Server.
Model Name specifies the name of the current model.
Server Type specifies the type of execution host on which the SIT Server is running.

0Simulation Environment (default)—Specifies that the SIT Server is running on an execution host that is running The MathWorks, Inc. MATLAB® application software.
1MATRIXx—Specifies that the SIT Server is running on an execution host that is running Xmath. The LabVIEW Simulation Interface Toolkit does not currently support this option.
2RT—Specifies that the SIT Server is running on a real-time (RT) target.
Parameter List specifies the parameters you want to change and the new values for these parameters.
Parameter Name specifies the path to a model parameter. You must format Parameter Name with the following syntax:

modelname/subsystem1/subsystem2/subsystemN/Block/Parameter

For example, if you want to manipulate the Amplitude parameter of the Sine Wave block in a model named sinewave, format Parameter Name as sinewave/Sine Wave/Amplitude.
value specifies the value to which you want Parameter Name to change. This value must be a two-dimensional array of double-precision floating-point numbers. If you are changing the value of a scalar parameter, you must create a two-dimensional array consisting of the value as the only element.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
SIT Reference out returns information about the current simulation.
TCP Connection returns the TCP reference for the current connection to the SIT Server.
Model Name returns the name of the current model.
Server Type returns the type of execution host on which the SIT Server is running.

0Simulation Environment (default)—Specifies that the SIT Server is running on an execution host that is running The MathWorks, Inc. MATLAB® application software.
1MATRIXx—Specifies that the SIT Server is running on an execution host that is running Xmath. The LabVIEW Simulation Interface Toolkit does not currently support this option.
2RT—Specifies that the SIT Server is running on a real-time (RT) target.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience