Transport Delay Function

Simulation VI and Function

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.

Details  Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Place on the block diagram  Find on the Functions palette

Dialog Box Options

ParameterDescription
Polymorphic instanceSpecifies whether this function is Scalar, Vector, or vector with a Vector of Delays. The default value is Scalar.
FeedthroughConfigures the function to be either a Direct or Indirect feedthrough function.
ParametersLists 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.
PreviewDisplays a graphical preview, if available, of the function output or configuration.
Parameter InformationContains 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 sourceSpecifies 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 conditionSpecifies 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

ParameterDescription
initial conditionSpecifies 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.
inputSpecifies the input to the system.

Block Diagram Outputs

ParameterDescription
outputReturns the output of the function.

Transport Delay Details

This function uses the following equation to calculate the output:

y(t) = u(tτ)

whereu 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:

  • inputoutput

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.

 Open example  Browse related examples