To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows a quick way to create a filtered sine wave and plot its bode diagram plot.
Description
A Bode plot shows the magnitude vs frequency response of a circuit. This example VI generates a sine wave sweep, sends it though a (software) filter, and plots the frequency response of the filter. After the sine wave sweep completes the -3dB cutoff frequencies are calculated. This VI could easily be modified for use with DAQ hardware and a physical circuit.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.