Example Code

Output Swept Sine Wave in DAQmx

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview:

This example demonstrates on how to generate sweep signal to analog output.

 

Description:

Configure the analog output channel and the swept signal characteristic that you need and this VI will continuously output a swept sine wave in DAQmx.

 

Requirement:

NI LabVIEW 2012 or compatible
NI DAQmx 9.0 or compatible

 

Steps to Implement or Execute Code:

  1. Configure the Analog output channel
  2. Configure the sweep signal parameter
  3. Run the VI

2017-04-27_11-02-10.jpg

 

bd.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

John Passiak

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