LabVIEW Control Design and Simulation Module

Model Construction VIs

  • Updated2023-03-14
  • 3 minute(s) read

Owning Palette: Control Design VIs and Functions

Requires: Control Design and Simulation Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Model Construction VIs to create linear system models and modify the properties of a system model. You also can use the Model Construction VIs to save a system model to a file, read a system model from a file, or obtain a visual representation of a model.

The VIs on this palette can return general LabVIEW error codes or specific control design error codes.

Palette ObjectDescription
CD Construct Filter ModelConstructs a digital filter model. You must manually select the polymorphic instance to use.
CD Construct First Order ModelGenerates a first-order transfer function. This VI is the 1st Order polymorphic instance of the CD Construct Special TF Model VI.
CD Construct Lead-Lag ControllerConstructs a phase-lead or a phase-lag controller model in transfer function form. You must manually select the polymorphic instance to use.
CD Construct PID ModelConstructs a PID model in transfer function form. You must manually select the polymorphic instance to use.
CD Construct Random ModelCreates a random model in state-space, transfer function, or zero-pole-gain representation. You can specify the sampling time, location of uncontrollable or unobservable states (for state-space), and location of poles and zeros in the different regions of the complex plane. You must manually select the polymorphic instance to use.
CD Construct Second Order ModelGenerates a second-order transfer function. This VI is the 2nd Order polymorphic instance of the CD Construct Special TF Model VI.
CD Construct Special TF ModelCreates commonly used transfer function models. You must manually select the polymorphic instance to use.
CD Construct State-Space ModelCreates a deterministic state-space representation of a system using the matrices A, B, C, and D, and the Sampling Time (s). You must manually select the polymorphic instance to use.
CD Construct Transfer Function ModelCreates a transfer function representation of a system using the Sampling Time (s), Numerator, Denominator, and Delay. This VI also produces a transfer function model which specifies the data in symbolic form. You must manually select the polymorphic instance to use.
CD Construct Zero-Pole-Gain ModelCreates a zero-pole-gain representation of a system using the Zeros, Poles, Gain, Delay, and Sampling Time (s). This VI also produces a zero-pole-gain model which specifies the data in symbolic form. You must manually select the polymorphic instance to use.
CD Draw State-Space EquationDisplays the state-space equation of the State-Space Model.
CD Draw Stochastic State-Space EquationDisplays the stochastic state-space equation of the Stochastic State-Space Model.
CD Draw Transfer Function EquationDisplays the transfer function equation of the model. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Draw Zero-Pole-Gain EquationDisplays the zero-pole-gain equation of the model. Wire date to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.
CD Query Model FileQueries a model (.lti) file that contains information about one or several models and returns the information in the file. The .lti file can contain models of multiple types (state-space, transfer function, and zero-pole-gain).
CD Read Model from FileOpens a file the Write Model to File VI created and reads all the records in the file. Each record contains a separate model. To retrieve all records in the file, all the models must be in the same model representation. You must manually select the polymorphic instance to use.
CD Write Model to FileCreates a new file or appends to an existing file, writes the specified number of records to the file, then closes the file and checks for errors. Each record is a model. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance.

Log in to get a better experience