AAP With LabVIEW - NEW Animated
AAP With LabVIEW - NEW Animated
with NI LabVIEW
Graphical Development Seminar
Agenda
• National Instruments Company Overview
• Introduction to Virtual Instrumentation
• What is NI LabVIEW?
– Acquire
– Analyze
– Present
• Beyond the Basics
• Expanding Your Knowledge
• The Next Step
National Instruments Overview
• Direct Operations in 40 Countries
• More Than 1,000 Products, 3,700 Employees, and
600 Alliance Program Members
• Corporate Headquarters in Austin, Texas
Distributors
National Instruments Profile
• Leaders in Computer-Based
Measurement and Automation
• Strong Track Record of Growth
and Profitability
• $514 MM Revenue in Fiscal
Year 2004
• Past Seven Consecutive Years
Voted Fortune Magazine’s 100
Best Companies to Work For in
America
Diversity of NI Customers
• Top 100 customers 32% of revenue
• More than 25,000 customers in more than 90 countries
• 95% of Fortune 500 in manufacturing
Today’s Designs: Converging Complexity
CD+RW Navigation Cellular PC/WWW/
PC/WWW/
Phone Email
AutomotiveT
elematics
TV
Games
Satellite Car
DVD+RW
Alarm/Radio Remote
AM/FM Stereo
Diagnostics
Today’s Challenges: The Traditional Approach
Function
Generator
Programmable
Switch
Automotive
Communications Oscilloscope
Telematics
Analyzer
Pattern Generator
Logic
Analyzer
• Lower cost
• Higher performance
• Smaller size
• Flexible
• Easily upgraded
• User-defined
Telematics Unit
The Virtual Instrumentation Revolution
Benefits of Virtual Instrumentation
High-Speed High-Resolution Multifunction Dynamic Instrument Digital I/O Counter/ Machine Motion Distributed I/O and
Digitizers Digitizers and DMMs Data Acquisition Signal Acquisition Control Timers Vision Control Embedded Control
Signal Conditioning
and Switching
MATLAB 4% Software
Software
Software Used
UsedUsedforfor
for PC-Based
PC-Based
PC-Based
Data
Data
Data Acquisition
Acquisition
Acquisition and
and andInstrument
Instrument
Instrument
LabWindows/CVI 4% Control
Control
Control
0% 5% 10% 15% 20% 25% 30% 35%
Source: Survey of 400 US readers from T&M World, EDN, Design News, and R&D magazines, Q1 2004
Graphical Development Platform for
Design, Control, and Test
• Intuitive graphical programming language designed for
engineers and scientists
• Hundreds of built-in functions for I/O, control, analysis, and
data presentation
• High-level, application-specific development tools and libraries
• Deployment to desktop, mobile, industrial, and embedded
targets
Introduction to the LabVIEW Environment
Front Panel
Block Diagram
Functions Palette – Express VIs
DATA
Modularity
• Modular design “The robustness of LabVIEW,
combined with its graphical
• Hierarchal system with subVIs programming environment, ensure
• Reusable building blocks similar that we can quickly complete the
application and adapt it to unique
to subroutines customer requirements.”
—Dirk De Mol, Manager, Honeywell-
Measurex describing a LabVIEW
measurement and control system for sheet
process products with more than 3,000 VIs
Help Utilities – Intelligent Development Assistance
Context Help
• Function definitions
• Documentation
Example Programs
• Thousands available
• Included in NI LabVIEW
• Web integrated search tool
• ni.com/labviewzone
Demo: The NI LabVIEW Environment
NI LabVIEW: A History of Innovation
October 2005 • LabVIEW 8 Distributed Intelligence, tools for large application development
May 2004 • LabVIEW 7.1 Express VIs for Modular Instruments, NI-DAQmx for Real-Time
June 2003 • LabVIEW 7 Express VIs, interactive measurements, FPGA, PDA
January 2002 • LabVIEW 6.1 Enhanced networking capabilities, analysis
August 2000 • LabVIEW 6i Internet-ready measurement intelligence
February 1999 • LabVIEW 5.1 3D graphs, performance, Web tools, Linux
March 1998 • LabVIEW 5.0 ActiveX, multithreading
June 1997 • LabVIEW 4.1 DAQ Wizards on Windows platforms
February 1996 • LabVIEW 4.0 Added professional tools, improved debugging
August 1993
• LabVIEW 3.0 Multiplatform version of LabVIEW
September 1992
• LabVIEW for Windows
January 1990
• LabVIEW 2.0 for Macintosh
October 1986
• LabVIEW 1.0 for Macintosh
April 1983
• LabVIEW project begins
Increasing Ease-of-Use without Compromising Flexibility
Leveraging Commercial Technologies
Third-Party Software Communication Protocols
• Wolfram Research Mathematica® • Ethernet • IEEE 1394
• Microsoft Excel® • CAN • RS-232
• MathSoft MathCAD® • TCP/IP • GPIB
• Electronic Workbench MultiSim® • DeviceNet • RS-485
• Texas Instruments Code Composer • USB • Other
Studio® • BlueTooth
• The MathWorks MATLAB® and Simulink®
• Ansoft RF circuit design software
• Microsoft Access® OS Support
• Microsoft SQL Server® • Microsoft Windows
• Oracle® • Apple Macintosh
• Other • Linux
Leveraging Commercial Technologies
Technologies
Corba
UNIX (Solaris/Linux)
LabVIEW
OSes
Windows
MAC
Java
Languages
C/C++
Basic
PCI
PCIe
USB
Compact
Flash
Ethernet,
Serial,
Wireless,
Fieldbus
M Series – Next Generation Data Acquisition
• More Performance
– Sampling Rate versus Resolution breakthrough
– Advances in timing and triggering
– Improved accuracy
• More I/O
– Up to 48 Digital I/O
– Up to 32 Analog Input
– Up to 4 Analog Output
• More Productivity
– Fast development tools
– Simple connectivity
– Price (especially per I/O channel)
USB Data Acquisition
High Performance
Integrated Signal
Conditioning 16 bits, 200 kS/s
16 AI, 2 AO, 32 DIO, 2 CTR
Low-Cost
16-bit simultaneous sampling AI
24-bit thermocouple input
Rugged features
Starting at $145
8 AI, 2 AO, 12 DIO, 1 CTR
Programming with NI-DAQmx and LabVIEW
Flexible programming options:
• DAQ Assistant
– Creating Tasks and Channels in MAX
– DAQ Assistant Express VI
– DAQmx Task Name
Constant
• Automatic code generation
• NI-DAQmx API
– DAQmx VIs
– DAQmx Property Nodes
NI-DAQmx Programming in LabVIEW
Simulated DAQmx
devices
Device
configuration
and connection
Signal connection
management
diagrams
Demo: Measurement & Automation Explorer and
the DAQ Assistant
Smart Sensor Technology
• IEEE 1451.4 (a.k.a. Smart TEDS Sensors)
• Smart TEDS Sensors store information internally
• LabVIEW
– Ships with basic TEDS library for reading and writing to existing files
– Can download separate library to create TEDS files
• MAX LabVIEW
Analog Signal
– Integrated into DAQmx Tasks Sensor
TEDS
TEDS
(EEPROM)
(EEPROM) Digital
Transducer Electronic
Data Sheet
. (TEDS)
Instrument Control with NI LabVIEW
Instrument Control with LabVIEW
• LabVIEW can communicate with virtually any instrument
– Instrument drivers
– Instrument I/O Assistant
• Tools for parsing, analyzing, and presenting instrument data
NEW
Instrument I/O Assistant
• I/O communication to Serial, GPIB, or Ethernet instruments
• Simplifies instrument control applications
– Reduces development time
– Little to no programming
required
– Automatically formats
instrument responses into
LabVIEW data types
– Increased flexibility through
reusable sequences of code
Demo: Instrument Control in LabVIEW
Modular Instrumentation with NI LabVIEW
Leveraging Semiconductor Technology
28
26
24 24 Bits at 500 kS/s (NI 5922)
22
Accuracy (Bits)
20
16 Bits at 15 MS/s (NI 5922)
18
16
14
12
10
8
6
1 10 100 1K 10K 100K 1M 10M 100M 1G 10G 100G
Traditional Instruments
Frequency (Hz) NI before NI 5922
NI after NI 5922
Modular Instrumentation with LabVIEW
Software-defined measurements from 26 bits to 2.7 GHz
Distortion, Octave Analysis, Swept FIR / IIR Filter Design, Zoom FFT, Power-in-Band,
Sine, S&V Level, Frequency Quantization, Fixed-point Modeling, Adjacent Channel Power, Tone
Measurements, Limit Testing, Fixed-point Simulation, … Detection, …
Transient, Time-Domain Integration,
Weighting, Waterfall Plot, …
LabVIEW Add-On Toolkits for Signal Processing and
Analysis
Order Analysis Advanced Signal Processing Modulation
Internet
Internet
Networked I/O
PC Boards
Workstation
Em
Oc bar
tob go
er ed
3 rd un
, 2 til
00
5
• Eliminates programming of
common test executive tasks
• Reuse test code from in any language
• Simplifies updates and long-term maintenance
• 14 of the top 15 electronics
manufacturers* use NI
TestStand
• The DIAdem Data Index stores descriptive information of your data files
• Works with any data file you have a DataPlugin for
• It builds automatically and updates periodically
• No IT support required to install, configure or maintain
visit www.ni.com\dataplugins
NI DIAdem Interactive environment for data management, visualization,
analysis, report generation and task automation
Find, understand, and work with your data the For more information visit
way that makes most sense to you
www.ni.com/diadem
Demo: NI DIAdem
Conclusion
Associate Developer
• Proficiency in navigating
Certified LabVIEW Associate
LabVIEW environment Developer
• Some application
development experience
ni.com/labview