hands-on seminar - national instrumentsdownload.ni.com/pub/branches/india/evaluate... · hands-on...

38

Upload: truonghanh

Post on 29-Apr-2018

224 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates
Page 2: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

ni.com

Hands-On Seminar

Evaluate CompactDAQ and

LabVIEW for Your Application

09/05/2017

Page 3: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Jason Strydom

Technical Sales Engineer

CLD

Let’s Talk About YouWhat type of applications are you going to be working on?

Page 4: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Agenda

Overview of the Components of a CompactDAQ System (30 Minutes)

and Relevant Application Examples

CompactDAQ and LabVIEW Hands-On Exercises (2 Hours)

Recap of the Day (15 Minutes)

Page 5: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Platform-Based Approach

Page 6: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Solve your application challenges quickly with unrivaled global support

Meet your specific application needs and

achieve more insight with customizable and easy-

to-use measurement software

NI Offers a Smarter Measurement Solution

Capture accurate measurements with

high-quality data acquisition hardware

Page 7: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Sensor Measurement Device Software

Signal

Conditioning

Analog-to-Digital

Converter

Driver

Software

Application

Software

Components of a DAQ System

Page 8: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

The CompactDAQ Family

Custom System

for Your Application

Module for

Any Measurement

Same Code,

Any Bus

Choose the Right

Form Factor for You

Page 9: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

NI Data Acquisition Software

Sound and Vibration Measurement Suite

LabVIEW Application Builder

LabVIEW Advanced Analysis Toolkit

LabVIEW Report Generation Toolkit

Page 10: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Analysis Libraries

Use built-in engineering

analysis libraries

Hardware

Connectivity

Acquire data from

any instrument

Measure in Minutes

Write less code with sample

projects and templates

Integrate Existing Code

Reuse your .m files and C

code

Create Drag and Drop UIs

Quickly display your data

LabVIEW

Unified software solution

Page 11: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Customize With Graphical Programming

Page 12: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Examining Traditional Source Code

Humans use abstracted languages because machine code

is too hard to comprehend

C++

Java / C#

C

Assembly LanguageAb

str

actio

n

System Complexity

Machine Code

Page 13: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

We Live in a Graphical, Parallel World

…But what if everything was represented using sequential, textual syntax?

Our World

A World Without Graphical

Gantt Chart Football Play Musical Score

Begin Project

Simultaneously Begin Tasks A and B

When Task A Ends,

Simultaneously Begin Tasks C, D, and

H

When Tasks B and C Both End,

Begin Task E

When Task D Ends,

Begin Task F

When Task E Ends, If Task H has

Ended,

Begin Task G

When Task F and G End,

Finish Project

Align in Split-Back Formation

Center Hikes Ball to Quarterback

Simultaneously,

Center Blocks Defensive Tackle

Quarterback Hands Ball to Tailback

Offensive Tackles 1-4 Block Defensive End

Wide Receiver Right Runs In Route

Wide Receiver Left Runs Screen Route

Tight End Blocks Linebacker

Tailback Runs Through Center Hole

Fullback Blocks Middle Linebacker

End Play

Begin Song

Rest Two Beats in ¾ Time

While Three Iterations Haven’t Been Played,

Left Hand Plays Low C, G, and Middle C

And Right Hand E, G, and High C

Hold for Two Beats

Pause for One Beat

Left Hand Plays Low A, D, F

And Right Hand Plays High F, A, F

Hold for Three Beats

Repeat

End Song

Page 14: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

LabVIEW Functions Are as Complex as You Need

Express VIs• Quick and Easy• Configuration-Based• Limited

Regular VIs• Hides Unnecessary Details• Retains Power and Flexibility

Low-Level VIs• Powerful, Flexible• Difficult, Time-Consuming

Page 15: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Built-In Engineering Specific-Libraries

Common Engineering Actions

Mathematics

Signal Processing

In-Product Data Display

Automated Report Generation

Compatible File Formats

Page 16: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Unrivaled Hardware Integration in a Single Environment

NI Hardware 200+ data acquisition devices 450+ modular instruments Cameras Motion control

Third-Party Hardware

Instrument Driver Network

10,000+ instrument drivers

350+ instrument vendors

100+ instrument types

Communicate over any bus

Page 17: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Customer Education

Online Training

Instructor-Led Courses

Tools

Network

350+ Free

and Paid Add-

Ons

Events

Developer Days

Virtual Developer Days

NIDays, and NIWeek

User Community

Thousands of Topics Curated

by Experts Such as the

LabVIEW Champions and

Local LabVIEW User Groups

Leveraging the LabVIEW Ecosystem

Page 18: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

DIAdem

Make Data-Driven Decisions

Load Over 1,000

File Formats

Use More Than Just

Data to Make Decisions

Find the Data You

Need in Seconds

Simplify Reporting With

Auto-Populating Templates

Automate Analysis

and Reporting Tasks

Page 19: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates
Page 20: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Automotive companies test drive new vehicles to ensure

proper performance. They log chassis and engine

measurements such as strain and temperature and see

how they react to different real-world driving conditions.

System Requirements

Stand-alone—Record/display data without a PC

Rugged—Survive harsh outdoor conditions

Customizable—Accommodate measurement needs

Synchronized—Acquire data from a variety of sensors

In-Vehicle Data Logging

Page 21: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

In-Vehicle Data Logging

PeripheralsSD Card

Touch Panel

Battery

Wi-Fi Adapter

GPS

Camera

Sensors

CompactDAQ Controller

Extended Temperature Option

Built-In Automotive Protocol

Port Option

Page 22: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

In-Vehicle Data Logging

Measurement Recommended Signal Conditioning Measurement Interface

CAN/LIN Isolation NI 9862/9861/9866

Vibration Amplification, Excitation, Filtering, Isolation NI 9234

Strain Amplification, Excitation, Filtering, Isolation NI 9237

Temperature Amplification, Filtering, Isolation NI 9214

Encoder Event Counting, Excitation NI 9401

Pressure Excitation, Filtering, Isolation NI 9203

Exhaust

Event Counting, Excitation for Flow Excitation,

Filtering, Isolation for

4–20 mA Sensors

NI 9401 for Flow

NI 9203 for 4–20 mA

Sensors

Position (GPS) None Integrated USB

Serial Isolation Integrated RS232

Video None Integrated GigE

Software Type Purpose of Software NI Software

ADE System Design Software LabVIEW

Post-Processing Synchronized Playback and Analysis of Data DIAdem

Page 23: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Wind Turbine Noise Testing

Engineers must minimize the noise impact of wind farms

by factoring in meteorological conditions and terrain.

They log acoustic data, meteorology masts, and process

parameters to ensure conformity to relevant standards.

System Requirements

Compact—Allow for easy setup and take down

Customizable—Handle DAQ, signal processing, and

data storage in different formats

Reliable—Wirelessly transmit data back to central host

Rugged—Survive harsh outdoor conditions

Page 24: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

CompactDAQ

USB Chassis

CompactDAQ 1-Slot

Wireless Chassis

PeripheralsMounting

Enclosure

Battery

Microphones

Sound and Vibration

Measurement Suite

Wind Turbine Noise Testing

Page 25: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Wind Turbine Noise Testing

Measurement Recommended Signal Conditioning Measurement Interface

VibrationAmplification, Excitation, Filtering,

LinearizationNI 9234

AC and DC

VoltageIsolation NI 9215

Software Type Purpose of Software NI Software

ADE System Design Software LabVIEW

Signal ProcessingFFT, 1/3 Octave, Sound Level,

and Sound Power to IEC 61400-11

Sound and Vibration

Measurement Suite

Page 26: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Refrigerator Component Testing

Engineers must ensure refrigerator components

meet specified performance demands. They log

measurements such as pressure and temperature

to determine environmental conditions and evaluate

how components perform against expected results.

System Requirements

Distributed—Be as close to measurements as

possible

Customizable—Accommodate measurement needs

Reliable—Ensure measurement accuracy

Rugged—Survive harsh test cell conditions

Page 27: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

CompactDAQ

Ethernet Chassis

LabVIEW System

Design Software

C Series I/O Modules

Peripherals

Mounting

Busbar

Sensors

Power Supply

Refrigerator Component Testing

Page 28: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Refrigerator Component Testing

Measurement Recommended Signal Conditioning Measurement Interface

Thermocouple Amplification, Isolation, Filtering, CJC NI 9211/ NI 9213

RTD Amplification, Isolation, Filtering, Excitation NI 9217

Pressure Isolation for 4–20 mA Sensors, Filtering, Excitation NI 9203

Mass Flow Isolation for 4–20 mA Sensors, Filtering, Excitation NI 9203

Software

TypePurpose of Software NI Software

ADE System Design Software LabVIEW

Page 29: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Considerations for Your Application

Channel count

Types of measurements

Signal conditioning

Analysis

Customization

Synchronization

Communication bus

Ruggedness

Additional components/peripherals

Page 30: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

What Are We Using Today

Page 31: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

CompactDAQ and LabVIEW Demo

Page 32: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

CompactDAQ Hands-On

Part 1: Getting Started (Mandatory)

Hardware Configuration………………………………………………... 4

Explore the Example Finder…….……………..………..……………..14

Part 2: Choose Your Own Adventure (Optional)

Temperature Measurement and Logging……………………………. 23

Combining Measurement from Light and Temperature. ...………… 51

Strain Gage Measurement with User LED Feedback......……… …. 72

Audio Equalizer....………………………………………………………. 96

Measuring Vibration from an Accelerometer………….......………. 133

Page 33: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

ni.com

Coffee BreakCoffee Break

Coffee BreakEnjoy Coffee and Networking

Page 34: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

CompactDAQ Hands-On

Part 1: Getting Started (Mandatory)

Hardware Configuration………………………………………………... 4

Explore the Example Finder….……………..…………………………..14

Part 2: Choose Your Own Adventure (Optional)

Temperature Measurement and Logging…………………………….. 23

Combining Measurement from Light and Temperature. ...……….… 51

Strain Gage Measurement with User LED Feedback......……… ….. 72

Audio Equalizer....……………………………………………………..… 96

Measuring Vibration from an Accelerometer………….......……….… 133

Page 35: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Recap of the Day

Reviewed CompactDAQ and LabVIEW system components

Looked at how the components map to different applications

Set up and configured the hardware

Programmed your first CompactDAQ application

Collected data

Page 36: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Free 24/7 Online Support

Browse common questions

and getting started material

Online technical support

and user communities

NI Data Acquisition Technical Support

Solve your application challenges quickly with unrivaled global support

ni.com

Local EngineersAvailable

Local application and sales

engineers in over 50 countries

Thoroughly trained in all

NI software and hardware

Global Servicesand Integration

Global hardware and

software services

Hundreds of professional

NI Alliance Partners

Page 37: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

NI Customer Education

Reduce Development Time and Costs with NI Training

Faster learning and increased productivity with NI products

Over 40 courses accessible onsite or online

Unlimited training through membership program

Validate Your Expertise with NI Certification

20,000+ Certified Professionals world-wide

Demonstrate skill and inspire confidence

Improve job prospects, work quality, and project opportunities

Innovate with Confidence

ni.com/training

Page 38: Hands-On Seminar - National Instrumentsdownload.ni.com/pub/branches/india/Evaluate... · Hands-On Seminar Evaluate CompactDAQ ... Write less code with sample projects and templates

Get Help Building Your Own DAQ System

Configure a CompactDAQ system with the online advisor

ni.com/advisors

Speak to a technical representative about your system needs

ni.com/contact-us