Example Program Drafts

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW / Measurement I/O / NI-DAQmx / VI / NI USB-6002 / DAQ / Multifunction Device / Analog Input (AI)

Overview

Input is given to AI port by function generator of frequency 10 Hz and amplitude 4Vpp. The input range is -2 V to +2 V. For the analog input mode, the user has the option to select the DAQmx Global Channel.

 

Description

There are two configurations in analog input in NI DAQ-

  • Differential mode, the device measures the difference in voltages between two AI.
  • Reference single-ended mode (RSE), where the voltage of AI signal with respect to the ground.

Hardware and Software Requirements

 NI USB-6002, LabVIEW

Steps to Implement or Execute Code

 1. Connect USB-6002 through USB port.

 2. Input is given to AI port by function generator of frequency 10 Hz and amplitude 4Vpp. The input range is -2 V to +2 V.

 3. Download NI-DAQmx 18.0.0, Execute sample code "USB6002-AI0S" and run it.

 4. Monitor the waveform. 

Contributors