Lesson 2 DAQ
Lesson 2 DAQ
Lesson 2 DAQ
Experimental Methods
Module code DME 811
Dr Riaz A Mufti
(B.Sc, M.Sc Eng (UK), PhD (UK), CEng (UK), MIMechE (UK), P.E (PEC))
Topics
• Hardware setup
• Components of a DAQ device Software
Signal
Transducer
ni.com/training
Data Acquisition Hardware
Your Signal
Sensors Signal Computer
Connector DAQ Device
• Any type • PCI/PXI • Windows
• Direct
• PCIe/PXIe • Linux
Connection
• USB • Mac (DAQmx
• Terminal Block
Base)
ni.com/training
Configuration Considerations Analog Signal
• Analog Input
− Resolution
− Range
− Amplification
− Code Width
− Mode (Differential, RSE, or NRSE)
ni.com/training
Resolution
ni.com/training
Resolution Example
ni.com/training
Device Range
ni.com/training
Range = 0 to +10 volts
Range Example 10.00
(5kHz Sine Wave)
111
8.75
Proper Range 7.50
110
101
ni.com/training
Amplification
• Max and min settings amplify or attenuate
the signal for best fit in ADC range
• Settings are 0.5, 1, 2, 5, 10, 20, 50, or 100
for most devices
• You don’t choose the amplification directly
− Choose the input limits of your signal in
LabVIEW or the DAQ Assistant
− Proper amplification chosen by NI-DAQmx
• Proper amplification = more precise
representation of your signal
− Allows you to use all of your available
resolution
ni.com/training
Amplification Example
ni.com/training
Code Width
Code Width is the smallest change in the signal, which your system can detect
(determined by resolution, range, and amplification)
range
code width =
amplification * 2 resolution
Smaller Code Width = more precise representation of your signal
Example: 12-bit device, range = 0 to 10V, amplification = 1
range 10
= = 2.4 mV
amplification * 2 resolution 1* 212
20
Increase range: = 4.8 mV
1 * 212
10
Increase amplification: = 24 μV
100 * 212
ni.com/training