What You ll Do Today. Learn LabVIEW fundamentals Acquire temperature signal Output warning light based on alarm level Write data to file

Similar documents
What You ll Do Today. Learn LabVIEW fundamentals Acquire temperature signal Output warning light based on alarm level Write data to file

LabVIEW Graphical Development Hands-On Seminar

Today. 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework. Lab: Continue project. Lecture. Review your exams and review practice exam again.

LabVIEW Basics I: Introduction Course

Hands-On Seminar. Evaluate CompactDAQ and LabVIEW for Your Application 09/05/2017. ni.com

Designing Real-Time Control Applications Using LabVIEW and CompactRIO. Developer Days 2009

Integrating Data Acquisition and Instrument Control with Your Scilab Scripts

LabVIEW 2009 Real-Time & FPGA 最新技術剖析. National Instruments 美商國家儀器 行銷部技術經理吳維翰

With respect to the National Instruments software product(s) being used, the following patents may apply:

Building a Next Generation Data Logging System

Academic Software Solutions

Introduction to LabVIEW and NI Hardware Platform

LabWindows /CVI Using the Latest ANSI C Tools for High-Performance Automated Test

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

EECS Berkeley EE249 LabVIEW Framework. Hugo A. Andrade Principal Architect LabVIEW Platform & Real Time Group

National Instruments Approach

C Series Analog Output Modules

Analytical Instrumentation

Engineering Data Management (EDM) Software

Analytical Instrumentation

DASYLab Data Acquisition System Laboratory

Gas Combustion Testing With LabVIEW

Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System

Introduction to Automating Standalone Instruments

ni.com What s New in 2013

Mounzer saleh Applications engineer Tel:

Virtual Instrumentation With LabVIEW

Tips for Code Re-Use. Rejwan Ali, Marketing Engineer NI Africa and Oceania

NI Smart Cameras PRODUCT FLYER CONTENTS. Have a question? Contact Us.

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES

Was ist neu in LabVIEW 2014

Benefits of Programming Graphically in NI LabVIEW

Benefits of Programming Graphically in NI LabVIEW

What s New in Data Acquisition

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

Virtual Instrumentation With LabVIEW

Graphical System Design for Machine Control

What s New in LabVIEW 2018 and LabVIEW NXG

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

Overview DT Measure Foundry is a drag-anddrop test and measurement application builder designed to give you top performance

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

HEALTH MONITORING OF INDUCTION MOTOR FOR VIBRATION ANALYSIS

The Measurement Revolution

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

A Step Into the Future of Data Measurement. Focus on Tests and Measurements. Let idaq Do the Rest.

LabVIEW Programming for a Multicore Environment. Stefan Kreuzer Applications Engineer National Instruments

Graphical System Design Platform. NI LabVIEW. Test and Measurement Industrial Measurements and Control Embedded Design. ni.

Control Technology. motion controller and power amplifier

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Ethernet/Serial Interfaces for Compact FieldPoint

Increase Your Test Capabilities with Reconfigurable FPGA Technology

Title: High-Volume Automated Production Test with NI CompactRIO. Author: Robert Hoffman Signal.X Technologies, LLC

Create Without Limits: Add the Power of User-Programmable FPGAs to Your Test Applications

NI Vision Platform. Radim ŠTEFAN. ni.com

easy-to-use flexible powerful Measurement and controlling with Windows Flexible configuration of user interfaces and displays

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS

Designing Next Generation Test Systems An In-Depth Developers Guide

Small rectangles (and sometimes squares like this

New Technologies in Data Acquisition

Digital Camera Image Acquisition

FlexRIO. FPGAs Bringing Custom Functionality to Instruments. Ravichandran Raghavan Technical Marketing Engineer. ni.com

LabView programming 練習

Data Acquisition HANS-PETTER HALVORSEN,

Introduction to LabVIEW

LabWindows/CVI Development Tools for ANSI C

Running OPAL-RT s ehs on National Instruments crio: Sub-microsecond power-electronic simulation

A New Virtual Vibration and Temperature Test and Analysis Instrument of Wheel-Set Based on LabVIEW2011

Simplify System Complexity

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Install the Software and Hardware

Approach to Enable Real-Time HPC. President, CEO and Cofounder National Instruments

NI Technical Symposium ni.com

Automated Test Equipments

High-Value PXI Embedded Controller for Windows. High-Value Embedded Controllers for PXI Express NI PXI-8101, NI PXI NI PXIe-8101, NI PXIe-8102

MATLAB 7. The Language of Technical Computing KEY FEATURES

CLAD Exam Preparation Guide using LabVIEW NXG

How to Choose the Right Bus for Your Measurement System

High-Level Synthesis with LabVIEW FPGA

Graphical System Design

PXI Remote Control and System Expansion

Hardware: Acquiring Data and Communicating with Instruments

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

NI Technical Symposium 2015

COTS Technology for High Energy Physics Instrumentation Dr. James Truchard President, CEO, and Cofounder National Instruments

Module 4. Computer-Aided Design (CAD) systems

The LabVIEW RIO Architecture and the Newest Member to the CompactRIO Family

Faster Time to Measurement Advances in LabVIEW Instrument Control

Certified LabVIEW Associate Developer Examination

Flexible configuration of user interfaces and displays. Easy generation of protocol and presentation sheets

MOIS Overview. 1. Developer Walkthrough

Datalogging in LabVIEW

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

Using COTS Hardware with EPICS Through LabVIEW A Status Report. EPICS Collaboration Meeting Fall 2011

Squeezing the Most Out of a Dentifrice Filling Application

PC-based data acquisition I

Measurement Studio Using.NET in Your Test and Measurement Applications

Essential Technologies for Industrial Machine Design and Prototyping

LabVIEW Release Notes

Certified LabVIEW Associate Developer Examination

Advanced NI-DAQmx Programming Techniques with LabVIEW

Transcription:

1

What You ll Do Today Learn LabVIEW fundamentals Acquire temperature signal Output warning light based on alarm level Write data to file 2

National Instruments at a Glance Leaders in Computer-Based Measurement and Automation Long-term Track Record of Growth and Profitability NI HQ Record Revenue: $740M in 2007 Fortune 100 Best Companies to Work For nine years in a row More than 4,900 employees; operations in 40+ countries Founded in 1976 with focus on Instrument Control LabVIEW 1.0 released in 1986 $800 $700 $600 $500 $400 $300 $200 $100 $0 Net Revenue in Millions '77 '79 '81 '83 '85 '87 '89 '91 '93 '95 '97 '99 '01 '03 '05 '07 3

Virtual Instrumentation with LabVIEW Automated Test Industrial Modular I/O Software-defined behavior Embedded 4

Virtual Instrumentation Case Study Application Boeing used LabVIEW and 70 PXI chassis to collect over 300 channels of acoustic data simultaneously in their research to decrease noise during takeoff NI Products LabVIEW, PXI "Using NI software and hardware, we were able to create a high-end, low-cost system that could distribute the acquisition system across multiple chassis, tightly synchronize all channels, provide high channel count with full bandwidth on all channels simultaneously, and allow virtually unlimited channel-count expansion. -- James Underbrink, Boeing Aero/Noise/Propulsion Laboratory 5

What is LabVIEW? 6

LabVIEW is a Programming Language Graphical Programming Data types Structures (i.e. loops, case, event handling) Standard functions (i.e. File I/O) Reuse external code Compiles to machine code Automatic multithreading 7

LabVIEW is a Development Environment Debugging tools Assistants Configurable functions I/O Finder Easy UI Development Software Engineering Tools Performance Tools 8

LabVIEW Has Built-in Engineering Libraries In-line and off-line analysis and control Signal processing Analysis and filtering Complex math PID Vision Motion 9

LabVIEW Easily Connects to Hardware I/O 6000+ instruments from over 250 vendors PCI, PCIe, PXI, USB, Ethernet, serial, GPIB, and CAN devices Modular data acquisition hardware from DC to the GHz range Motion control stages Cameras Hundreds of PLCs 10

Exercise: Open and Run Final Application Explore final application Acquire, analyze and display temperature signal 11

LabVIEW Fundamentals 12

The LabVIEW Environment VI = program or function Front Panel = user interface Block Diagram = code 13

Controls & Indicators Knobs/Dials Graphs/Charts Buttons Digital Displays Sliders Thermometers Customize and create your own 14

Finding Front Panel Objects Controls Palette Controls Quick Drop or Right-click on Front Panel Browse by object hierarchy Press <ctrl + space> to bring up Search by object name 15

Functions and Express VIs Standard VIs Configuration Based Express VI 16

Dataflow Programming 1 2 3 1 2 3 Both Simulate Signal Express VIs execute simultaneously Comparison waits until all inputs are present, then executes Once executed, output from comparison continues through code 17

Wires and Data Types Transfer data between block diagram objects through wires Wires are different colors, styles, and thicknesses, depending on their data types A broken wire appears as a dashed black line with a red X in the middle Scalar 1D Array 2D Array DBL Numeric Integer Numeric String 18 18

Execution Control Structures While Loop Run until stop condition met For Loop Run N times Allow same piece of code to run multiple times Exit conditions different for each 19

Finding Block Diagram Functions Functions Palette Functions Quick Drop or Press ctrl + space to bring up Search by object name Right-click on Block Diagram Browse by object hierarchy 20

Instructor Demo: Creating a Basic VI Use basic LabVIEW objects Simulate signal and display 21

Exercise: Simulate Signal to Graph Simulate various signals Write to Graph 22

Built-in Programming Assistance Highlight Execution Block Diagram Cleanup Context Help 23

Instructor Demo: Using Help Tools Use Highlight Execution, Context Help and Block Diagram Cleanup 24

Data Acquisition with LabVIEW 25

PC-Based Data Acquisition (DAQ) 26

NI DAQ Platforms One application, multiple targets USB Wireless PCI CompactDAQ PXI 27

Today s DAQ System Hi-Speed USB 2.0 Mix and Match over 50 modules Built-in Signal Conditioning Direct sensor connectivity NI CompactDAQ Hot-swappable modules 28

CompactDAQ Door Rattle Noise Analyzer Application SM Instruments used LabVIEW and CompactDAQ to design a portable Sound Camera to analyze unwanted noise in automobile testing. NI Products LabVIEW, CompactDAQ We need a quote here to highlight how great LabVIEW, cdaq and S&V are for making advanced portable solutions. - Youngkey Kim, CEO, SM Instruments 29

Exercise: Taking a Basic Measurement Acquire temperature signal Write to graph 30

Analysis and Signal Processing 31

LabVIEW Signal Processing, Analysis and Math Signal Processing & Analysis Waveform Generation Waveform Conditioning Waveform Monitoring Waveform Measurements Signal Generation Signal Operations Windows Digital Filters Spectral Analysis Transforms Point-by-Point Mathematics Numeric Elementary and Special Functions BLAS/LAPAC-based Linear Algebra Curve Fitting Interpolation / Extrapolation Probability and Statistics Optimization Ordinary Differential Equations Geometry Polynomial Formula Parsing 1D & 2D Evaluation Calculus 32

Using Analysis Functions Programmatic, Low-Level VIs Configuration Based Express VIs Text-based MathScript Node 33

Advanced Analysis - Mind/Computer Interface www.theaudeo.com Application University of Illinois engineering students worked with LabVIEW to develop a device that translates thought into control commands. NI Products Signal Processing in LabVIEW USB DAQ LabVIEW simplifies development and encourages innovation by offering an intuitive graphical programming approach; you can focus on innovation rather than programming details. - Michael Callahan, CEO, Ambient 34

Exercise: Add Analysis and Output Acquire temperature signal Average and monitor Output based on alarm value 35

Control for Steel Rolling Mill Application I 2 S combined LabVIEW with NI CompactRIO to create a gamma-based, high-speed thickness measurement device to control sheet thickness in a steel rolling mill NI Products LabVIEW, LabVIEW FPGA, crio With NI LabVIEW graphical programming tools, we quickly programmed the FPGA and realtime processor in CompactRIO. Because CompactRIO and our PLCs are Ethernet based, we successfully integrated the CompactRIO PAC with our control systems to optimize our rolling mills with minimal changes to our existing control architecture. Clark Hummel, I 2 S Images: Integrated Industrial Systems (I2S) 36

Reporting and Data Visualization 37

Data Visualization and Communication Visualization Reporting and Data Storage Built-in user interface objects Charting and graphing capabilities Remote application control File I/O functionality HTML reports for the Web Microsoft Word and Excel reports 38

LabVIEW Supported Storage Types ASCII Binary HTML XML LVM TDM(S) * Excel Word Datalog Databases 39

Chengdu Huari RF Spectral Monitoring Application Huari Telecom required a solution to improve measurement speed for spectral monitoring, directional finding, and signal identification as well as to expand wideband signal and multiple-channel measurement capability. NI Products LabVIEW, PXI, RF Modular Instruments We significantly improved the functionality and performance of our radio monitor and directional finding systems by using NI RF modules and PXI platform. - Jingyou Mo, President, Huari Telecom

Exercise: Write to File Acquire temperature signal Average and monitor Output based on alarm value Write to File 41

Next Steps 42

Worldwide LabVIEW User Community Over 50,000 members on awardwinning NI Discussion Forums NI and LabVIEW user-contributed blogs More than 100 LabVIEW User Groups Third-party community web sites in over 15 languages Hundreds of third-party add-on tools on the LabVIEW Tools Network 43

Learn More about NI LabVIEW and NI DAQ Systems Check out additional LabVIEW exercises for Automated Test, Industrial Measurement and Control and Embedded: www.ni.com/labview/whatis View DAQ product specs and demos: www.ni.com/daq 44

Software Maintenance and Support Membership in a National Instruments software maintenance and support program allows you to: Receive software updates and maintenance releases automatically Enjoy direct access to technical support from NI applications engineers Access special online software training modules that highlight features, application uses, and development best practices Visit ni.com/services to learn more 45

Training and Certification Together, the National Instruments training and certification programs deliver the fastest, most certain route to increased proficiency and productivity using NI software and hardware. NI Training: Build Your Knowledge NI training helps you build the skills to more efficiently develop robust, maintainable applications. We provide several training options including classroom, self-paced, online, or on-site training at your facility. NI Certification: Validate Your Expertise NI certification confirms your technical growth and skill. This professional certification is ideal for differentiating yourself from the competition and making your own informed hiring and outsourcing decisions. Visit ni.com/training to learn more 46

Multicore Programming 47

Automatic Multithreading in LabVIEW LabVIEW automatically divides each application into multiple execution threads (introduced in 1998 with LabVIEW 5.0) Parallel code paths will execute in unique threads thread thread thread 48

LabVIEW and Multicore Application: Eaton Corp. created a portable in-vehicle test system for truck transmissions. Using the same LabVIEW code on multicore processors increased their overall throughput without having to change application code. NI Products: LabVIEW, USB DAQ, CAN There was no need to rewrite our application for the new multicore processing platforms. - Scott Sirrine, Eaton Truck Division 49

LabVIEW Modules and Toolkits 50

LabVIEW Real-Time Module Rapidly develop deterministic applications with graphical programming Easily architect distributed control and monitoring systems Eliminate time spent integrating diverse I/O 51

LabVIEW Datalogging and Supervisory Control Module Graphical development for distributed monitoring and control systems Trend real-time and historical data Log data from any networked I/O to a historical database Monitor and log alarms and events Network LabVIEW Real-Time targets and OPC devices Add security to LabVIEW user interfaces 52

LabVIEW FPGA Module Define custom FPGA I/O without VHDL programming Achieve hardware deterministic response within 25ns Execute tasks with true parallelism R Series Intelligent DAQ NI CompactRIO 53

LabVIEW Touch Panel Module NI TPC-2006 Create custom human-machine interface (HMI) applications for the NI TPC-2006 and other Windows CE devices 54

LabVIEW Statechart Module Statecharts provide high-level abstraction for state based applications Simple semantics represent complex systems Self-documenting design Integrate statecharts into existing LabVIEW applications Generate code for desktop, Real-time, FPGA, and embedded targets 55

LabVIEW Mobile Module Wireless communication with shared variable Portable low-cost USB DAQ 56

NI Vision Development Module LabVIEW programming libraries for machine vision and image processing Includes Vision Assistant Prototypes and benchmarks applications Generates complete code for LabVIEW, Visual Basic, and C Hundreds of tools to: Enhance images Check for presence Locate features Identify parts Measure objects 57

Motion Control with LabVIEW NI Motion Assistant Interactive environment with 3D visualization Ready-to-run LabVIEW or C code creation Easy trapezoidal or S-curve velocity profile implementation Teach pendant for easy prototyping NI SoftMotion Controller for CANopen and IEEE 1394 Use LabVIEW and NI Motion Assistant to program distributed motion control applications Compatible with intelligent CANopen drives from Copley and IEEE 1394 drives from ORMEC NI SoftMotion Development Module Develop custom motion controllers in LabVIEW Real- Time or LabVIEW FPGA Use trajectory generation, spline interpolation, position, velocity control, and encoder implementation VIs 58

LabVIEW Sound and Vibration Toolkit 10 Express VIs Fractional Octave Analysis with Weighting Vibration Level with Single or Double Integration Sound Level with A-, B-, C- Weighting Power Spectrum Zoom Power Spectrum Frequency Response Peak Search Power in Band Limit Testing 59

LabVIEW Order Analysis Toolkit Gabor order tracking algorithm analyzes signals from rotating machinery Resampling order analysis for online condition monitoring Flexible order energy selection in the joint timefrequency domain Plot order versus time or RPM Order extraction tools separate order-specific signal components Digital and analog tachometer signal processing 60

PID Control Toolkit PID Control Autotuning Gain scheduling Fuzzy Logic Control strategies Decision making 61

Report Generation Toolkit for Microsoft Office Programmatically create and edit reports in Microsoft Word and Excel Populate report templates Manage report layout, format, and appearance E-mail reports and run macros Express VI included 62

LabVIEW Advanced Signal Processing Toolkit Time-Frequency Analysis Time-Series Analysis Wavelet and filter bank design Applications Automotive Biomedical Seismology Radar/Sonar 63

Database Connectivity Toolkit Insert, select data from OLE DB, ODBC databases Microsoft Access, SQL Server, Oracle, etc. Create, drop tables Save records in XML format Execute SQL queries Immediate, parameterized Execute stored procedures Accept, reject multiple operations (transactions) 64