Transport Delay Function
Owning Palette: Continuous Linear Systems Functions
Installed With: Control Design and Simulation Module
Delays the input signal by the amount of time you specify.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Place on the block diagram | Find on the Functions palette |
Dialog Box Options
Parameter | Description |
---|---|
Polymorphic instance | Specifies whether this function is Scalar, Vector, or vector with a Vector of Delays. The default value is Scalar. |
Feedthrough | Configures the function to be either a Direct or Indirect feedthrough function. |
Parameters | Lists all the parameters associated with this function. Select a parameter from this list to configure the parameter. When you select a parameter, the parameter and its associated Parameter source control appear in the Parameter Information section of the configuration dialog box. |
Preview | Displays a graphical preview, if available, of the function output or configuration. |
Parameter Information | Contains the parameters you can configure for this function. You must select a parameter from the Parameters list to make that parameter and its associated Parameter source control visible in the Parameter Information section of the configuration dialog box. |
Parameter source | Specifies whether you configure this parameter using the Configuration Dialog Box or a Terminal on the simulation diagram. The default value is Configuration Dialog Box. If you select Terminal, LabVIEW displays an input for that parameter on the simulation diagram, and you can wire values to that input to configure this function programmatically. If you select Configuration Dialog Box, LabVIEW removes that input from the simulation diagram. You then must set the value for this parameter inside the configuration dialog box. |
initial condition | Specifies the output when the simulation time is less than the delay. The default value is 0. |
delay (s) | Specifies the length of time to delay the input signal. The default value is 1. |
max delay (s) | Specifies the maximum possible delay when using a fixed step-size ordinary differential equation (ODE) solver. The default value is 1. |
Block Diagram Inputs
Parameter | Description |
---|---|
initial condition | Specifies the output when the simulation time is less than the delay. The default value is 0. |
delay (s) | Specifies the length of time to delay the input signal. The default value is 1. |
max delay (s) | Specifies the maximum possible delay when using a fixed step-size ordinary differential equation (ODE) solver. The default value is 1. |
input | Specifies the input to the system. |
Block Diagram Outputs
Parameter | Description |
---|---|
output | Returns the output of the function. |
Transport Delay Details
This function uses the following equation to calculate the output:
y(t) = u(t – τ)
where | u is the input |
y is the output | |
t is the current simulation time | |
τ is the delay (s) |
When the simulation time is less than the delay (s), the function outputs the initial condition. If the delay (s) is greater than the simulation time step size, the function linearly interpolates to produce an output. If the delay (s) is less than the simulation time step size, the function extrapolates to produce an output.
Feedthrough Behavior
Use the Feedthrough option to specify the feedthrough behavior of the following input/output pair:
- input – output
All other input/output pairs have direct feedthrough behavior.
Example
Refer to the SimEx transport delay VI in the labview\examples\Control and Simulation\Simulation\Continuous Linear directory for an example of using the Transport Delay VI.