Use the Model Conversion VIs to convert a system model from one representation to another, from a continuous-time to a discrete-time model, or from a discrete-time to a continuous-time model. If you have the LabVIEW Simulation Module installed, you can use the Model Conversion VIs to convert a control design model into a simulation model or a simulation model into a control design model.
The VIs on this palette can return general LabVIEW error codes or specific control design error codes.
| Palette Object | Description |
|---|---|
| CD Convert Continuous to Discrete | Converts a continuous-time model to a discrete-time model using the Sampling Time (s) and the Method you specify. The Zero-Order-Hold conversion method supports input and output delays that are not an integer multiple of the Sampling Time (s). You can use this polymorphic VI to convert continuous state-space, transfer function, and zero-pole-gain models to discrete models. The data type you wire to the Continuous State-Space Model input determines the polymorphic instance to use. |
| CD Convert Control Design to Simulation | Converts a control design model into a model you can use for simulations. You can use this polymorphic VI to convert state-space, transfer function, zero-pole-gain, single-input single-output (SISO) transfer function, and SISO zero-pole-gain models. The data type you wire to the State-Space Model input determines the polymorphic instance to use. |
| CD Convert Delay to Poles at Origin | Incorporates delays into discrete system models by adding poles at the origin to account for the specified delay. You can use this polymorphic VI to incorporate delay into discrete state-space, transfer function, and zero-pole-gain models. The data type you wire to the State-Space Model input determines the polymorphic instance to use. |
| CD Convert Delay with Pade Approximation | Incorporates time delays in a continuous-time system model using Pade approximation, which converts all residuals. You can use this polymorphic VI to incorporate delay into continuous state-space, transfer function, and zero-pole-gain models. The data type you wire to the State-Space Model input determines the polymorphic instance to use. |
| CD Convert Discrete to Continuous | Converts a discrete-time model to a continuous-time model. This VI converts the discrete-time model using the specified Method. You can use this polymorphic VI to convert continuous state-space, transfer function, and zero-pole-gain models to discrete models. The data type you wire to the Discrete State-Space Model input determines the polymorphic instance to use. |
| CD Convert Discrete to Discrete | Changes the sampling time of a discrete-time system model. You can use this polymorphic VI to change the sampling time of discrete state-space, transfer function, and zero-pole-gain models. The data type you wire to the Discrete State-Space Model input determines the polymorphic instance to use. |
| CD Convert Simulation to Control Design | Converts a simulation model into a model you can use for control design. You can use this polymorphic VI to convert state-space, transfer function, zero-pole-gain, SISO transfer function, and SISO zero-pole-gain models. You must manually select the polymorphic instance to use. |
| CD Convert to State-Space Model | Converts a system model to state-space form. This VI produces a full or minimum realization by specifying the Realization Type. You can use this polymorphic VI to convert transfer function and zero-pole-gain models to state-space form. The data type you wire to the Transfer Function Model input determines the polymorphic instance to use. |
| CD Convert to Transfer Function Model | Converts a system model to transfer function form. You can use this polymorphic VI to convert state-space and zero-pole-gain models to transfer function form. The data type you wire to the State-Space Model input determines the polymorphic instance to use. |
| CD Convert to Zero-Pole-Gain Model | Converts a system model to zero-pole-gain form. You can use this polymorphic VI to convert state-space and transfer function models to zero-pole-gain form. The data type you wire to the State-Space Model input determines the polymorphic instance to use. |