Download - UCTI SPACC 07 LabView Introduction
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 1/29
Data Acquisition
System Programming and Computer ControlCT047-3-2-SPCC
Level-2
Prepared by: First Prepared on: 10-9-07 Last Modified on:Quality checked by: xxx
Copyright 2007 Asia Pacific University college of Technology and Innovation
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 2/29
CT014-1 Hardware, Systems Software and Networks
In This Lesson, You Will• Build a measurement system with new NI data
acquisition (DAQ) tools – Learn the parts of a typical DAQ system and their functions – Quickly set up and configure your DAQ system – Efficiently develop the application software for your DAQ
system – Understand each measurement type: AI, AO, DIO, CTR
• Learn about real-world applications for DAQ
• Discover why NI data acquisition technologies areessential for reducing your total development time andcost
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 3/29
CT014-1 Hardware, Systems Software and Networks
Profile• Leaders in Computer-
Based Measurement and Automation
• Long-Term Track Recordof Growth and Profitability
• $660M Revenue in 2006• More than 4,100
employees; operations in40+ countries
•Fortune’s
100 BestCompanies to Work ForEighth Consecutive Year
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 4/29
CT014-1 Hardware, Systems Software and Networks
What we do… • Revolutionize measurement and automation
– Monitor and control traditional instruments and automationdevices
– Replace them at a lower cost
How we do it… • Leverage mainstream PC, network, semiconductor technologies
User-friendly softwareCost-effective, modular hardwareHighly integrated driver software
= Virtual instrumentation Bringing Automation to Measurement, and Measurement to Automation
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 5/29CT014-1 Hardware, Systems Software and Networks
Today’s Designs: ConvergingComplexity
Automotive
Telematics
CD+RW
AM/FM Stereo
DVD+RW
PC/WWW/
Navigation Cellular
Phone
Satellite CarAlarm/Radio
TV Games
RemoteDiagnostics
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 6/29CT014-1 Hardware, Systems Software and Networks
Today’s Challenges: The TraditionalApproach
Oscilloscope
LogicAnalyzer
Spectrum Analyzer
DMM
CommunicationsAnalyzer
LCR Meter
FunctionGenerator
Power Supply
Pattern Generator
ProgrammableSwitch Automotive
Telematics
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 7/29CT014-1 Hardware, Systems Software and Networks
• Lower cost• Higher performance• Smaller size• Flexible• Easily upgraded• User-defined
• Lower cost• Higher performance• Smaller size• Flexible
• Lower cost• Higher performance• Smaller size
The NI Value Proposition
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 8/29CT014-1 Hardware, Systems Software and Networks
Who Chooses NI?Eighty-five percent of Fortune 500 manufacturing companies
have adopted NI virtual instrumentation.
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 9/29CT014-1 Hardware, Systems Software and Networks
Customer-DefinedPC-Based Measurement and
Automation SolutionsTraditional Vendor-Defined
Instruments
What is Virtual Instrumentation?
Processor
RAM
ROM
Display
PowerSupply
Hard Disk
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 10/29CT014-1 Hardware, Systems Software and Networks
What is Virtual Instrumentation? (continued)Measurement Services &
Application Software
Modular Hardware
Sensors or Unit Under Test (UUT)
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 11/29
CT014-1 Hardware, Systems Software and Networks
Virtual Instrumentation Applications
• Test – Physical/environmental
measurements – Prototype validation – Manufacturing test – And more…
• Control – Industrial monitoring and control – Motion control – And more…
• Design – Simulation and prototyping – Design characterization – And more…
Data
Acquisition
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 12/29
CT014-1 Hardware, Systems Software and Networks
Developing a DAQ System – FourSteps
SystemSpecification
SystemSetup
SoftwareDevelopment
SystemTest and
Calibration
Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 13/29
CT014-1 Hardware, Systems Software and Networks
System SpecificationSystem specification accounts for 7% of the total cost of data
acquisition*
• Choose the right hardware and software• Helpful resources
*Source:2004 National Instruments Survey of DAQ Customers and Prospects, n = 377
SystemSpecification
SystemSetup
SoftwareDevelopment
SystemTest and
Calibration
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 14/29
CT014-1 Hardware, Systems Software and Networks
What is a DAQ System?
V
Input Signals
Output Signals
V
i
Application Software (LabVIEW)
S i g n
a l
C
o n d i t i o n i n
g
A/DD/ADIOTIO
Measurement Services Software(NI-DAQmx)
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 15/29
CT014-1 Hardware, Systems Software and Networks
DAQ Hardware Options
PXI Portable/Handheld
Ethernet, Serial, or Wireless
Distributed Desktop
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 16/29
CT014-1 Hardware, Systems Software and Networks
• More Performance – Up to 18-bit resolution – Up to 1.25 MS/s sampling
rates
– NI-MCal: 5x accuracyimprovement• More I/O
– Up to four analog outputs – Up to 48 digital I/O
• More Value – Lower prices
M Series – Next Generation DataAcquisition
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 17/29
CT014-1 Hardware, Systems Software and Networks
Modular Signal Conditioning
SCXI
Integrated Signal Conditioning
PXI InstrumentsSC Series
FieldPointSCC
USB-9200 Series
Signal Conditioning Hardware Options
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 18/29
CT014-1 Hardware, Systems Software and Networks
Data Acquisition Hardware
Test and Data Management SoftwareNI TestStand, DIAdem
Measurement and Control Services:NI-DAQmx or NI-DAQmx Base
MeasurementStudio
Visual Studio Components
LabWindows/CVI
ANSI C Development
LabVIEWGraphical Development
DAQ Software Options
Application Development Software
SignalExpressVI Logger
Interactive Tools
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 19/29
CT014-1 Hardware, Systems Software and Networks
Application Software
Driver Engine
Hardware
Basic Data Acquisition Driver
Typical Driver Software
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 20/29
CT014-1 Hardware, Systems Software and Networks
NI-DAQmx Measurement & Control Services
LabVIEW
ConfigurationManager
DAQ Assistant
API
Driver Engine
Hardware
Measurement Services – NI-DAQmx• Streamlined API
– Polymorphic functions – Automatic code generation
• Improved DriverArchitecture – Multithreaded
measurements – Instant calibration – 20x faster for single-point
operations – Code generation
b h l l
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 21/29
CT014-1 Hardware, Systems Software and Networks
LabVIEW Graphical DevelopmentEnvironment
• Compiled graphical developmentenvironment
• Development time reduction of four to tentimes
• Tools to acquire, analyze, and present yourdata
l f l f S
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 22/29
CT014-1 Hardware, Systems Software and Networks
Helpful Resources for SystemSpecification
• NI Field Engineers – Local to your area – Available to consult on your application,
recommend products, etc.
• Online product advisors – Available for many
types of products on
ni.com/advisor
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 23/29
CT014-1 Hardware, Systems Software and Networks
System Setup and Configuration
• USB DAQ• Sensors Plug&Play• NI-DAQmx
• Measurement & Automation Explorer (MAX)configuration utility
System setup accounts for 23% of the total cost of dataacquisition*
* Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377
SystemSpecification
SystemSetup
SoftwareDevelopment
SystemTest and
Calibration
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 24/29
CT014-1 Hardware, Systems Software and Networks
Plug&Play DAQ Systems• USB DAQ
– Plug-and-play installation – Automatic driver association – No rebooting computer – Ready-to-run data logger included with
some devices
• Sensors Plug&Play – Based on IEEE 1451.4 – Confirm sensor connection – Eliminate paper data sheets – Remove data entry errors
• Faster setup – Decrease setup steps by up to 50%
Measurement and Automation Explorer
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 25/29
CT014-1 Hardware, Systems Software and Networks
Measurement and Automation Explorer(MAX)
Deviceconfiguration
and connectionmanagement
Built-in test panel
windowsTask andchannelcreation
Signal connectiondiagrams
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 26/29
CT014-1 Hardware, Systems Software and Networks
Exercise 1 – Configuring DAQSystem in MAX
5 Minutes per Station
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 27/29
CT014-1 Hardware, Systems Software and Networks
Developing a DAQ SystemSoftware development accounts for 30% of the total cost of data
acquisition*
• AI/AO/DIO/CTR/Triggering/Synchronization• NI-DAQmx Measurement Services software•
LabVIEW development environment* Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377
SystemSpecification
SystemSetup
SoftwareDevelopment
SystemTest and
Calibration
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 28/29
CT014-1 Hardware, Systems Software and Networks
Software Development Tools
• Configuration-based tools – SignalExpress (Test, Design) – VI Logger (Test)
• Programming tools (Test, Control, Design) – LabVIEW – LabWindows/CVI – Measurement Studio for Visual Studio.NET
8/2/2019 UCTI SPACC 07 LabView Introduction
http://slidepdf.com/reader/full/ucti-spacc-07-labview-introduction 29/29
CT014-1 Hardware, Systems Software and Networks
Q & A
Question and Answer Session