From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Output a DC Voltage with a NI DSA Card

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 how to output a DC signal using the Analog Output of a Dynamic Signal Acquisition (DSA) device.

Description

NI DSA hardware is made specifically to input and output fast changing signals with a concentration on accuracy in the frequency domain and a great Signal to Noise Ratio. However, there might be a time when you need to use the AO on your DSA card to output a DC voltage. You will find this is a little more difficult than with a lower-cost board because the DSA doesn't allow you to simply update a voltage. This example shows you how to output a DC Voltage with your DSA card.

Requirements

Software

  • LabVIEW 11.0 or compatible
  • DAQmx 9.1.5 or compatible

Hardware

  • NI DSA Hardware (i.e. NI 446x, 447x, 449x)

Steps to Implement or Execute Code

  1. Open the VI and configure the Channel Parameters and DC Voltage
  2. Run the VI
  3. Observe the resulting output from the DSA channels

Additional Information or References

KnowledgeBase 5PPA82PC: Why Does my Dynamic Signal Acquisition (DSA) Device Not Handle Impulses, Squ...

Front Panel

Front Panel.png

Block Diagram

Block Diagram.png

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

With warm regards,

David D.

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

Contributors