CD Bode VI
- Updated2023-03-14
- 23 minute(s) read
CD Bode VI
Owning Palette: Frequency Response VIs
Requires: Control Design and Simulation Module
Produces the Bode magnitude and Bode phase plots of the system model on an XY graph. Wire data to the State-Space Model and Frequency Range inputs to determine the polymorphic instance to use or manually select the instance.
This VI converts state-space and zero-pole-gain models to transfer function models before calculating the frequency response.
CD Bode (Frequency Range, State-Space)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
State-Space Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Range contains the frequency information of the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode (Frequency Range, Transfer Function)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Transfer Function Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Range contains the frequency information of the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode (Frequency Range, Zero-Pole-Gain)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Zero-Pole-Gain Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Range contains the frequency information of the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode (Frequency Vector, State-Space)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
State-Space Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode (Frequency Vector, Transfer Function)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Transfer Function Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode (Frequency Vector, Zero-Pole-Gain)

![]() |
Phase Graph Reference is a reference to the Bode Phase plot on an XY graph. Phase Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Magnitude Graph Reference is a reference to the Bode Magnitude plot on an XY graph. Magnitude Graph Reference automatically configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input. | ||||||||||||||||||||||||||
![]() |
Zero-Pole-Gain Model contains a mathematical representation of and information about the system of which this VI produces Bode plots. | ||||||||||||||||||||||||||
![]() |
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
| ||||||||||||||||||||||||||
![]() |
Magnitude Scale specifies how to scale the magnitude of the frequency response.
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
Plots Index specifies which input and which output to plot. If you do not specify the input #, this VI plots all the inputs.
| ||||||||||||||||||||||||||
![]() |
Bode Magnitude is a plot on an XY graph that plots the linear or decibel magnitude of the given model against a set of frequencies. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Phase is a plot on an XY graph that plots the phase (in degrees) of the model against a set of frequency values. The Plots Index array determines the plots on this XY graph. | ||||||||||||||||||||||||||
![]() |
Bode Data returns information about the Bode plot. To access the Bode Data, use the CD Get Frequency Response Data VI.
| ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
Frequency Info Out returns the frequency information of the model. |
CD Bode Details
This VI supports delays. Refer to the LabVIEW Control Design User Manual for more information about delays.
Example
Refer to the CDEx Frequency Analysis VI in the labview\examples\Control and Simulation\Control Design\Frequency Analysis directory for an example of using the CD Bode VI.















