background image

NI myDAQ User Guide

|

© National Instruments

|

11

The difference in ground potential between two instruments connected to the same building power 
system is typically between 1 and 100 mV. This difference can be much higher if power 
distribution circuits are improperly connected. If a grounded signal source is improperly measured, 
this difference might appear as a measurement error. Connect the differential analog inputs across 
the signal source and do not connect the NI myDAQ AGND pin to the grounded source.

Figure 6.  

Ground-Referenced Differential Connection

Floating Signal Sources

A floating signal source is not connected to the same ground reference as NI myDAQ, but 
instead has an isolated reference point. Some examples of floating signal sources are 
battery-powered devices, outputs of transformers, thermocouples, optical isolator outputs, and 
isolation amplifiers. An instrument or device that has an isolated output is a floating signal 
source. You must connect the ground reference of a floating signal to an NI myDAQ AGND pin 
through a bias resistor or jumper wire to establish a local or onboard reference for the signal. 
Otherwise, the measured input signal varies as the source floats out of the common-mode input 
range.

The easiest way to reference the source to AGND is to connect the positive side of the signal to 
AI+ and connect the negative side of the signal to AGND as well as to AI- without using 
resistors. This connection works well for DC-coupled sources with low source impedance (less 
than 100 

).

Figure 7.  

Differential Connections for Floating Signal Sources without Resistors

For larger source impedances, however, this connection leaves the differential signal path 
significantly off balance. Noise that couples electrostatically onto the positive line does not 
couple onto the negative line because it is connected to ground. This noise appears as a 
differential-mode signal instead of a common-mode signal, and thus appears in your data. In this 
case, instead of directly connecting the negative line to AGND, connect the negative line to 
AGND through a resistor that is about 100 times the equivalent source impedance. The resistor 
puts the signal path nearly in balance, so that about the same amount of noise couples onto both 

+

+

AI+ 

AGND

S

ign

a

S

o

u

rce

AI– 

+

AI+ 

AGND

S

ign

a

S

o

u

rce

R

s

o

u

rce

 >100 

Ω

AI– 

+

Summary of Contents for myDAQ

Page 1: ...AQ Hardware Overview 3 Analog Input AI 4 Analog Output AO 4 Digital Input Output DIO 5 Power Supplies 5 Digital Multimeter DMM 5 NI myDAQ Software Overview 6 NI ELVISmx Driver Software 6 NI LabVIEW an...

Page 2: ...ple Measuring Signals Using the NI ELVISmx Oscilloscope Express VI with NI myDAQ 28 Using NI DAQmx with NI myDAQ 30 Example Measuring Audio Pass Through in LabVIEW with NI myDAQ 30 Texas Instruments C...

Page 3: ...llation or when the product is connected to a test object To minimize the potential for the product to cause interference to radio and television reception or to experience unacceptable performance de...

Page 4: ...digital to analog converter DAC so they can update simultaneously In general purpose mode you can generate up to 10 V signals In audio mode the two channels represent left and right stereo outputs Cau...

Page 5: ...lators 5 V can be used to power digital components such as logic devices The total power available for the power supplies analog outputs and digital outputs is limited to 500 mW typical 100 mW minimum...

Page 6: ...yDAQ with LabVIEW section Note NI ELVISmx supports LabVIEW 32 bit To use NI ELVISmx with LabVIEW on a 64 bit operating system you must have LabVIEW 32 bit installed NI myDAQ and NI Multisim You can us...

Page 7: ...ELVISmx for NI ELVIS NI myDAQ NI ELVISmx Instrument Launcher Caution To ensure the specified EMC performance the USB cable must be less than 2 0 m 6 6 ft in length Making Signal Connections with NI m...

Page 8: ...N Analog Input USB Power Supply Gain Analog Output Digital Input Output AUDIO OUT NI myDAQ System Diagram AI DIO 5 V 15 V DC toDC Converter Analog to Digital Converter Digital to Analog Converter Digi...

Page 9: ...r DMM ports must be no longer than 3 m 10 ft Figure 4 NI myDAQ 20 Position Screw Terminal I O Connector Table 1 Screw Terminal Signal Descriptions Signal Name Reference Direction Description AUDIO IN...

Page 10: ...ground point with respect to the NI myDAQ device assuming that the computer is plugged into the same power system Instruments or devices with nonisolated outputs that plug into the building power syst...

Page 11: ...or or jumper wire to establish a local or onboard reference for the signal Otherwise the measured input signal varies as the source floats out of the common mode input range The easiest way to referen...

Page 12: ...ce with 200 k and produce a 1 gain error Figure 9 Differential Connections for Floating Signal Sources with Two Resistors Both positive and negative analog input lines require a DC path to ground in o...

Page 13: ...x Instrument Launcher 3 Select the Resistance mode by clicking the Resistance button 4 Click Run 5 If the fuse is blown the display will show Over indicating a disconnected circuit path Replace the fu...

Page 14: ...1 25 A Fast Acting Littelfuse Part Number 02161 25 1 2 1 NI myDAQ NI myDAQ AUDIO IN Analog Input USB Power Supply Gain Analog Output Digital Input Output AUDIO OUT NI myDAQ System Diagram AI DIO 5 V...

Page 15: ...to DIO 0 DIO 1 and DIO 2 respectively In some instances the software may refer to the output lines as PFI as opposed to DIO Refer to Table 3 for a list of the corresponding counter timer signals assig...

Page 16: ...directly modify the executable files but you can modify or enhance the functionality of these instruments by modifying the LabVIEW code which installs in the following location Windows XP 2000 C Docum...

Page 17: ...instruments Figure 11 NI ELVISmx Instrument Launcher To launch an instrument click the button corresponding to the desired instrument Select the NI myDAQ device from the Device control pull down dial...

Page 18: ...Resistance measurement Diode test Audible continuity test Make connections for measurements to the DMM banana jacks on the device This instrument has the following measurement parameters DC voltage 60...

Page 19: ...instrument has the following measurement parameters Channel Source Channels AI 0 and AI 1 AudioInput Left and AudioInput Right You can use AI channels or AudioInput channels but not a combination of...

Page 20: ...angle amplitude selection and frequency settings In addition the instrument offers DC offset setting frequency sweep capabilities and amplitude and frequency modulation The FGEN uses AO 0 or AO 1 on t...

Page 21: ...linear and logarithmic display scales You can also invert the measured values of the input signal during Bode analysis by inverting the Op Amp signal polarity Refer to the NI ELVISmx Help for require...

Page 22: ...rement It can either continuously make measurements or make a single scan You can also apply various window and filtering options to the signal This instrument has the following measurement parameters...

Page 23: ...red waveforms Refer to the NI ELVISmx Help for more information about the Waveform Editor To access this help file go to Start All Programs National Instruments NI ELVISmx for NI ELVIS NI myDAQ NI ELV...

Page 24: ...igital lines NI ELVISmx Digital Reader groups the I O lines into ports through which data can be read You can read one port at a time either continuously or as a single reading The lines are grouped i...

Page 25: ...o 7 or an 8 bit pattern 0 to 7 You can also manually create a pattern or select predefined patterns such as ramp toggle or walking 1s This instrument can control a port of four or eight consecutive li...

Page 26: ...ady to use After the myDAQ is connected to the system the blue LED by the connector lights indicating the device is ready for use 1 Connect the signal s you want to measure to the connector s on the s...

Page 27: ...h instrument This enables you to develop LabVIEW applications without extensive programming expertise To access the NI ELVISmx Express VIs open a LabVIEW block diagram and select Measurement I O NI EL...

Page 28: ...lloscope Express VI from the VI palette and place it on the block diagram The NI ELVISmx Oscilloscope configuration window opens 5 Connect the signal s you want to measure to the connector s on the si...

Page 29: ...r from the menu This creates a Graph Indicator on the VI front panel to display the signal data Repeat this step for Channel 1 if you configured the NI ELVISmx Oscilloscope Express VI to enable Channe...

Page 30: ...input signals and generation of output signals using the DAQ Assistant in LabVIEW This example forms the foundation for audio signal processing experimentation 1 Launch LabVIEW 2 In the Getting Starte...

Page 31: ...10 Click OK to exit the DAQ Assistant configuration front panel The VI builds Click No on the Confirm Auto Loop Creation dialog box that displays 11 Place another DAQ Assistant Express VI to the righ...

Page 32: ...t Generation Mode to Continuous Samples 17 Click OK to exit the DAQ Assistant configuration front panel The VI builds Click No on the Confirm Auto Loop Creation dialog box that displays 18 Wire the da...

Page 33: ...layer to the AUDIO IN 3 5 mm jack and connect speakers to the AUDIO OUT jack You should hear the music on the speakers If you do not hear sound test the speakers on the music player to make sure there...

Page 34: ...Li ion battery or from a two to three cell NiCd NiMH or alkaline battery Regulator TPS62003 LDO Regulator TPS71501 These are low dropout LDO voltage regulators offering the benefits of low noise low...

Page 35: ...push pull output comparator that features a fast 6 s response time and 1 2 A max nanopower capability allowing operation from 1 8 V 5 5 V Operational Amplifier TLE2082 This is an operational amplifier...

Page 36: ...s DMM Scope AI Scope Audio FGEN Bode DSA AI DSA Audio Arb AO Arb Audio DI 4 Lines DI 8 Lines DO 4 Lines DO 8 Lines DMM Scope AI Scope Audio FGEN Bode DSA AI DSA Audio Arb AO Arb Audio DI 4 Lines DI 8...

Page 37: ...ures you use to build data acquisition and instrument control applications This document contains exercises that you can use to learn how to develop basic applications in LabVIEW Multisim Getting Star...

Page 38: ...re sound or light DAC Digital to analog converter Device that converts digital code into analog signals DAQ Data acquisition Measuring an electrical or physical phenomenon such as voltage current or t...

Page 39: ...or other documentation National Instruments will at its option repair or replace equipment that proves to be defective during the warranty period This warranty includes parts and labor For private in...

Reviews: