Model Information 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 Information VIs to obtain or set parameters, data, and names of a system model. Model information includes properties such as the system delay, system dimensions, sampling time, and names of inputs, outputs, and states.
The VIs on this palette can return general LabVIEW error codes or specific control design error codes.
| Palette Object | Description |
|---|---|
| CD Get Data from Model | Obtains data that describes the dynamics of the given system model. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Get Delays from Model | Obtains all the delays present in the system model. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Get Names from Model | Obtains the names this VI associates with the system model. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Get Sampling Time from Model | Obtains the sampling time of the system. The sampling time is zero for continuous systems and greater than zero for discrete systems. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Get System Dimensions | Obtains the number of inputs, outputs and, if applicable, the number of states of the system. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Set Data to Model | Sets the given values to the system model. Wire data to the State-Space Model In input to determine the polymorphic instance to use or manually select the instance. |
| CD Set Delays to Model | Sets the given delays in the system model. Wire data to the State-Space Model In input to determine the polymorphic instance to use or manually select the instance. |
| CD Set Names to Model | Sets the various names this VI associates with the inputs, outputs, and, if applicable, states of the model. Wire data to the State-Space Model In input to determine the polymorphic instance to use or manually select the instance. |
| CD Set Sampling Time to Model | Sets the sampling time of the system. Wire data to the State-Space Model In input to determine the polymorphic instance to use or manually select the instance. |
| CD Verify if Delayed | Checks if the input model has any nonzero input delays, output delays, or transport delays. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Verify if Discrete | Checks if the input model represents a discrete-time system. Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |
| CD Verify MIMO Properties | Determines if the dimensions of the system matrices or transfer function matrix are consistent with the properties of the model variables, for example, delays and names. This VI calculates the number of inputs, outputs, and states (for state-space models only), and generates error messages for matrix dimensions that are inconsistent with the model. Wire data to the State-Space Model In input to determine the polymorphic instance to use or manually select the instance. |
| CD Verify Model Type | Determines the type of system models based on the number of inputs or outputs. A system model can be single-input single-output (SISO), multiple-input multiple-output (MIMO), single-input multiple-output (SIMO), or multiple-input single-output (MISO). Wire data to the State-Space Model input to determine the polymorphic instance to use or manually select the instance. |