CD Unit Feedback VI
- Updated2023-03-14
- 30 minute(s) read
CD Unit Feedback VI
Owning Palette: Model Interconnection VIs
Requires: Control Design and Simulation Module
Connects two linear models in a unit feedback configuration. 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. Wire data to the Model 1 and Model 2 inputs to determine the polymorphic instance to use or manually select the instance.
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit 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 specifies the model connected to the error signal of the Closed-Loop Model. In general, this model represents the model of the controller. | ||||||
![]() |
Model 2 specifies the model connected in series to Model 1 in the Closed-Loop Model. In general, this model represents the model of the plant. | ||||||
![]() |
Series Connections specifies the outputs of Model 1 to connect to the inputs of Model 2.
| ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
Feedback Connections uses the index number of the output and input to define each output-input pair, from Model 2 and Model 1, in a feedback loop. This VI adds or subtracts the output value of 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 2 to the reference input. The indexes are zero-based. If you do not specify any Feedback Connections, this VI connects as many output-input pairs as possible from Model 2 to Model 1, and Feedback Sign specifies the sign of all feedback connections.
| ||||||
![]() |
Delay Adjustment Settings approximates the delay that this VI eliminated by connecting the models. With continuous systems, the approximation is based on Pade approximation, while discrete systems increase the system order to account for delay.
If you specify FALSE for the Adjust Model for Delay parameter, this VI does not make any approximation for any delay.
| ||||||
![]() |
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. This output provides standard error out functionality. |
CD Unit Feedback Details
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.
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.








