LabVIEW Simulation Interface Toolkit API Reference

SIT Configure Timing VI

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

SIT Configure Timing VI

Owning Palette: Model Interface VIs

Requires: Simulation Interface Toolkit

Configures timing information for the simulation. If the simulation does not use a hardware timing source, this VI determines whether the simulation uses 1 kHz timing or 1 MHz timing.

Simulation Data In specifies unique information about the model DLL.
Using Output Loop? is TRUE when the driver VI uses a separate output loop for multirate models.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Timing Source Type returns the type of software timing source that the simulation uses. If HW Timing Src is TRUE, this VI ignores the value of Timing Source Type.

01kHz (SW)— Specifies a timing source running at a rate of 1 kHz.
11MHz (SW)—Specifies a timing source running at a rate of 1 MHz.
Simulation Data out returns unique information about the model DLL.
Timed Loop Names returns the names of any Timed Loops that this VI uses to configure the simulation.
Timed Loops Config out returns timing information about any Timed Loops this VI uses to configure the simulation. If you are running a single-rate simulation, tloops out is an array consisting of one element.
Task returns a number that uniquely identifies the task.
Source returns the name of the timing source for Task.
Period returns the sample period of Task. The sample period defines the deadline, or the time limit in which Task must finish operating.
Offset returns the offset for the execution of Task. The offset delays the execution of the selected task by the specified time period.
Priority returns the priority of Task relative to other tasks in the model. The LabVIEW Simulation Interface Toolkit uses rate-monotonic scheduling, which prioritizes tasks with shorter periods over tasks with longer periods.
Name returns the name of Task.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience