You are on page 1of 30

System Programming and Computer Control

CT047-3-2-SPCC

Introduction to Systems Programming


– Data Acquisition

Degree – Level 2
Learning Outcomes

• At the end of this session, you should be able


to:-
– Build a measurement system with new NI data acquisition (DAQ)
tools
– Learn about real-world applications for DAQ
– Discover why NI data acquisition technologies are essential for
reducing your total development time and cost

CT047-3-2 Systems Programming and Computer Control


Profile

• Leaders in Computer-
Based Measurement and
Automation
• Long-Term Track Record
of Growth and Profitability
• $660M Revenue in 2006
• More than 4,100
employees; operations in
40+ countries
• Fortune’s 100 Best
Companies to Work For
Eighth Consecutive Year

CT047-3-2 Systems Programming and Computer Control


What we do…

• Revolutionize measurement and automation


– Monitor and control traditional instruments and automation
devices
– Replace them at a lower cost

Bringing Automation to Measurement, and Measurement to Automation

How we do it…
• Leverage mainstream PC, network, semiconductor technologies
 User-friendly software
 Cost-effective, modular hardware
 Highly integrated driver software
= Virtual instrumentation
CT047-3-2 Systems Programming and Computer Control
Today’s Designs: Converging Complexity

Navigation Cellular
CD+RW PC/WWW/
PC/WWW/
Phone Email

Automotive
Telematics

TV
Games

DVD+RW
Remote
Satellite Car AM/FM Stereo
Diagnostics
Alarm/Radio

CT047-3-2 Systems Programming and Computer Control


Today’s Challenges: The Traditional Approach

Function
Generator
Programmable Switch
Automotive
Telematics

Communications Analyzer Oscilloscope

Pattern Generator
Logic Analyzer

Power Supply LCR Meter DMM


Spectrum Analyzer

CT047-3-2 Systems Programming and Computer Control


The NI Value Proposition

• Lower cost
• Higher performance
• Smaller size
• Flexible
• Easily upgraded
• User-defined

CT047-3-2 Systems Programming and Computer Control


Who Chooses NI?

Eighty-five percent of Fortune 500 manufacturing companies


have adopted NI virtual instrumentation.

CT047-3-2 Systems Programming and Computer Control


What is Virtual Instrumentation?

Customer-Defined
Traditional Vendor-Defined PC-Based Measurement and
Instruments Automation Solutions

Processor Display

Power
RAM
Supply

ROM Hard Disk

CT047-3-2 Systems Programming and Computer Control


What is Virtual Instrumentation?
(continued)

Measurement Services &


Application Software

Modular Hardware

Sensors or Unit Under Test (UUT)

CT047-3-2 Systems Programming and Computer Control


Virtual Instrumentation Applications

• Test
– Physical/environmental measurements
– Prototype validation
– Manufacturing test
– And more…
• Control
– Industrial monitoring and control
Data
– Motion control
– And more…
Acquisition
• Design
– Simulation and prototyping
– Design characterization
– And more…

CT047-3-2 Systems Programming and Computer Control


Developing a DAQ System – Four Steps

System
System System Software
Test and
Specification Setup Development
Calibration

Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377

CT047-3-2 Systems Programming and Computer Control


System Specification

System specification accounts for 7% of the total cost of data


acquisition*

System
System System Software
Test and
Specification Setup Development
Calibration

• Choose the right hardware and software


• Helpful resources

*Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377

CT047-3-2 Systems Programming and Computer Control


What is a DAQ System?

Input Signals

Application Software (LabVIEW)


Measurement Services Software
(NI-DAQmx)
V
Conditioning
Signal
A/D
i
D/A
Output Signals
DIO
V TIO

CT047-3-2 Systems Programming and Computer Control


DAQ Hardware Options

Ethernet, Serial, or
Wireless

Distributed Desktop

PXI Portable/Handheld

CT047-3-2 Systems Programming and Computer Control


M Series – Next Generation Data
Acquisition

• More Performance
– Up to 18-bit resolution
– Up to 1.25 MS/s sampling rates
– NI-MCal: 5x accuracy
improvement
• More I/O
– Up to four analog outputs
– Up to 48 digital I/O
• More Value
– Lower prices

CT047-3-2 Systems Programming and Computer Control


Signal Conditioning Hardware Options

Modular Signal Conditioning


SCC FieldPoint
SCXI

Integrated Signal Conditioning

PXI Instruments USB-9200 Series


SC Series

CT047-3-2 Systems Programming and Computer Control


DAQ Software Options

Test and Data Management Software


NI TestStand, DIAdem
Interactive Tools Application Development Software

SignalExpress LabWindows/ Measurement


VI Logger LabVIEW CVI Studio
Graphical Development ANSI C Development Visual Studio Components

Measurement and Control Services:


NI-DAQmx or NI-DAQmx Base

Data Acquisition Hardware

CT047-3-2 Systems Programming and Computer Control


Basic Data Acquisition Driver

Application Software

Driver Engine

Hardware

Typical Driver Software

CT047-3-2 Systems Programming and Computer Control


Measurement Services – NI-DAQmx

• Streamlined API
– Polymorphic functions
LabVIEW
– Automatic code generation
DAQ Assistant
• Improved Driver
Configuration
Architecture Manager
API
– Multithreaded Driver Engine
measurements
– Instant calibration Hardware
– 20x faster for single-point
operations
– Code generation

NI-DAQmx Measurement &


Control Services
CT047-3-2 Systems Programming and Computer Control
LabVIEW Graphical Development Environment

• Compiled graphical development environment


• Development time reduction of four to ten times
• Tools to acquire, analyze, and present your data

CT047-3-2 Systems Programming and Computer Control


Helpful Resources for System Specification

• 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

CT047-3-2 Systems Programming and Computer Control


System Setup and Configuration

System setup accounts for 23% of the total cost of data


acquisition*

System
System System Software
Test and
Specification Setup Development
Calibration

• USB DAQ
• Sensors Plug&Play
• NI-DAQmx
• Measurement & Automation Explorer (MAX)
configuration utility

*Source: 2004 National Instruments Survey of DAQ Customers and Prospects, n = 377

CT047-3-2 Systems Programming and Computer Control


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%

CT047-3-2 Systems Programming and Computer Control


Measurement and Automation Explorer
(MAX)
Task and Built-in test panel
channel windows
creation

Device configuration
and connection
management
Signal connection diagrams

CT047-3-2 Systems Programming and Computer Control


Exercise 1 –
Configuring DAQ System in MAX

5 Minutes per Station

CT047-3-2 Systems Programming and Computer Control


Developing a DAQ System

Software development accounts for 30% of the total cost of data


acquisition*

System
System System Software
Test and
Specification Setup Development
Calibration

• 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

CT047-3-2 Systems Programming and Computer Control


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

CT047-3-2 Systems Programming and Computer Control


Question and Answer Session

Q&A

CT047-3-2 Systems Programming and Computer Control


Next Session

• Tutorial Virtual Instrumentation.

CT047-3-2 Systems Programming and Computer Control

You might also like