Example Code

Archived: NI-DAQmx: Analog Output Frequency Sweep in LabVIEW

Code and Documents

Attachment

Download All

Overview


This document has been archived and is no longer updated by National Instruments.

This example generates a continuous output waveform on an E-Series or M-Series board. The frequency of this output waveform is swept across a specified range logrithmically in a number of discrete increments defined by the user. Custom_Sweep is the main VI that generates the waveform and Create_Log_Frequencies is a subVI called by Custom_Sweep to get the logarithmic frequency array.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors