LabVIEW Simulation Interface Toolkit API Reference

Editing Multiple Parameters at Run Time (Simulation Interface Toolkit)

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

Use the Edit Multiple Parameters dialog box to edit multiple parameters at run time and apply changes all at once. You can save a set of parameter values to a file that you can load at a later time. Complete the following steps to edit multiple parameters at run time.

  1. Click the Edit Multiple Parameters front panel button of the host VI to launch the Edit Multiple Parameters dialog box. You can click this button only while the host VI is running.
  2. Click the Add Parameter button to launch the Edit Parameter Value dialog box. You use this dialog box to specify the new value of the parameter. You also can access this dialog box by double-clicking a row in the table.
  3. Select the parameter you want to edit from the Parameter pull-down list. You can change the value of any parameter associated with the model, even a parameter that does not have a front panel control. When you select a parameter, the data type of that parameter appears below the Parameter pull-down list.
  4. Enter the new value of the parameter in the Value text box.
  5. Click the OK button to save the updated value and return to the Edit Multiple Parameters dialog box. The New Parameter Values table on this dialog box updates to show the changes you made.
    Note  Any values that you change do not affect the simulation until you click either the Apply button or the OK button in the Edit Multiple Parameters dialog box.
  6. Click the Save button to save the updated parameter values to a text file.
  7. Click the OK button to apply the updated parameter value(s) to the simulation. If a parameter has a front panel control, that control updates to show the new value.

By default, the LabVIEW Simulation Interface Toolkit does not automatically adjust the scale range of knobs and sliders. LabVIEW Simulation Interface Toolkit can automatically adjust the scale range if the new value is outside the current range. You can enable autoscaling by placing a checkmark in the Autoscale Controls checkbox on the Mappings tab of the SIT Connection Manager dialog box. If autoscaling is disabled and you enter a parameter value outside the scale range, the control saves the value but shows only the maximum value of the scale range. For example, if the scale range of a knob is 0?10 and you enter a value of 20, the front panel shows the value of the control as 10, even though the actual value is 20.

Log in to get a better experience