Implements a system model in state-space form. You define the system model by specifying the input, output, state, and direct transmission matrices. Details Example
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description | ||||||
|---|---|---|---|---|---|---|---|
| Execution Mode | Configures the function to be either a Direct or Indirect feedthrough function. Enable this control by selecting a parameter from the Parameters list and then selecting Terminal from the Parameter source pull-down list. If you select Configuration Dialog Box from the Parameter source pull-down list, LabVIEW disables this control and calculates the feedthrough behavior automatically.
Refer to the Details section for a description of the parameters that determine the feedthrough behavior of this 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. | ||||||
| Load | Loads model information from a data file. | ||||||
| Save | Saves model information to a data file. This file is compatible with the LabVIEW Control Design Toolkit. | ||||||
| Copy | Copies the current model definition to the clipboard. From the clipboard, you can paste the model on the block diagram or into another configuration dialog box of the same model form. | ||||||
| Paste | Pastes model information from the clipboard to the configuration dialog box. | ||||||
| initial states | Specifies a vector of initial states for the system. This vector must be of length n, where n is the number of states. | ||||||
| State-Space | Specifies the state-space model.
|
| Parameter | Description |
|---|---|
| initial states | Specifies a vector of initial states for the system. This vector must be of length n, where n is the number of states. |
| input | Specifies the input to the system. input must be a vector of length m, where m is the number of inputs. |
| State-Space | Specifies a state-space model. This input accepts either a block diagram constant or a model you created using the LabVIEW Control Design Toolkit. |
| Parameter | Description |
|---|---|
| output | Returns the current output of the system. This vector must be of length r, where r is the number of outputs. |
| states | Returns the set of current internal states of the system. This vector must be of length n, where n is the number of states. |
The following equations define the state-space system.


| where | u is the input vector |
| y is the output vector | |
| x is the state vector | |
| A, B, C, D are the state-space matrices. Refer to the State-Space parameter help for more information about these matrices. |
The value you specify for the D matrix of the State-Space parameter determines the feedthrough behavior of this function.
When you use the configuration dialog box to configure the D matrix, LabVIEW verifies that the feedthrough behavior is correct. For example, if you set the Execution Mode parameter to Indirect, and you set the D matrix to nonzero, LabVIEW changes the Execution Mode parameter to Direct.
If you specify the value of the D matrix programmatically by wiring a value to the parameter terminal, LabVIEW does not adjust the feedthrough behavior for you. You must ensure that you specify the proper feedthrough behavior for the value of the D matrix that you specify.
Refer to the state space VI in the labview\examples\simulation\Getting Started\Continuous Linear directory for an example of using the State-Space VI.