ni.com is experiencing intermittent service disruptions.

Support teams are actively working on the resolution.

Example Code

Zero a DAQmx Channel

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 shows how to zero an analog input.

 

Description

If you have a DC offset that you want to zero out at the beginning of your program, change the sampling rate while acquiring data.

 

 

Requirements

Software

  • LabVIEW 2012 or compatible
  • NI-DAQmx 9.5.5 or compatible

Hardware

  • NI Multifunction DAQ Device

 

Steps to Implement or Execute Code

  1. Configure the parameter for the right channel and device
  2. Connect your hardware appropriately
  3. Run the VI

 

Additional Information or References

  

 

zero channel.JPGzero_blockD.JPG

 

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

 

 

Regards,
Jim Schwartz

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

Comments
adamharden25
Member
Member
on

Is there a way to do this Signal Express? Thanks for the help