Owning Palette: Model Interconnection VIs
Installed With: Control Design and Simulation Module
Connects Model 1 with Model 2 in feedback configuration and produces the Closed-Loop Model. You can specify which outputs this VI feeds back to which inputs of the system. The system models either must be continuous-time models or must have the same sampling time if they are discrete-time models. The data types you wire to the Model 1 and/or Model 2 inputs determine the polymorphic instance to use.
Note You can use the CD Unit Feedback VI to connect two models in a unit feedback configuration. |
This VI might convert one or both input models to different forms before connecting the models. Refer to the LabVIEW Control Design User Manual for more information about connecting models in a feedback configuration.
Use the pull-down menu to select an instance of this VI.
Place on the block diagram | Find on the Functions palette |
CD Feedback State-Space and State-Space
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback State-Space and Transfer Function
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback State-Space and Zero-Pole-Gain
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Transfer Function and Transfer Function
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Transfer Function and State-Space
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Transfer Function and Zero-Pole-Gain
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Zero-Pole-Gain and Zero-Pole-Gain
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Zero-Pole-Gain and State-Space
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Zero-Pole-Gain and Transfer Function
Feedback Sign specifies the sign of all feedback connections. If Feedback Sign is positive (TRUE), all feedback connections are positive. If Feedback Sign is negative (FALSE), all feedback connections are negative. The default is negative (FALSE). When you specify connections using Feedback Connections, this VI ignores Feedback Sign. | |||||||
Model 1 is the first model this VI uses to create the Closed-Loop Model. This model represents the system in the forward loop path. | |||||||
Model 2 is the second model this VI uses to create the Closed-Loop Model. This model represents the system in the feedback path. If you do not wire a model to Model 2, then this VI assumes a unit feedback by defining Model 2 as the unit gain matrix. The number of connections in Feedback Connections defines the size of the unit gain matrix. | |||||||
Feedback Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. This VI adds or subtracts the output value of Model 1 or Model 2 from a reference input and assigns a value to the input of Model 1. Signal determines if this VI adds or subtracts the output of Model 1 to the reference input.
The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many input-output pairs as possible from Model 1 to Model 2, and Feedback Sign specifies the sign of all feedback connections. If you specify only one model, this VI feeds back the outputs from Model 1 to the inputs of Model 1. If you specify only one model and you do not specify any Feedback Connections, this VI applies unit feedback to Model 1 with as many connections as possible in ascending order.
| |||||||
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code.
Use exception control to treat what is normally an error as no error or to treat a warning as an error.
Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| |||||||
Output Connections uses the index number of the input and output to define each input-output pair, from Model 1 and Model 2, in a feedback loop. If you do not specify any Output Connections, this VI connects as many input-output pairs as possible from Model 2 to Model 1.
If you specify only one model in this VI, the VI does not use the Output Connections in feedback calculations.
| |||||||
Closed-Loop Model represents the closed-loop system that results from this VI connecting Model 1 and Model 2 according to the connections you specify. When the two input models are different model types, this VI determines the model type of the resulting model by the following model hierarchy: state-space>transfer function>zero-pole-gain. For example, if one input is a state-space model and the other is a zero-pole-gain model, the resulting model is a state-space model. To access and modify the data in the model, use the Model Information VIs. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
CD Feedback Details
This VI does not support delays for models in a closed-loop configuration. If a model has a delay, this VI ignores the delays and gives a warning. Refer to the LabVIEW Control Design User Manual for more information about delays.