NI LabVIEW for Beginer
Transcript of NI LabVIEW for Beginer
-
8/18/2019 NI LabVIEW for Beginer
1/46
ni.com
-
8/18/2019 NI LabVIEW for Beginer
2/46
ni.com
NI LabVIEW Live
Aashish Mehta
Marketing Engineer
NI ASEAN
Wu Rong
Marketing Engineer
NI ASEAN
&
-
8/18/2019 NI LabVIEW for Beginer
3/46
ni.com
Everyday Engineering Challenges
Do more with less
Integrate code and systems
Get increasingly complex
products to market fasterAdapt to evolving
application requirements
Protect existing investments
Minimize power consumption
-
8/18/2019 NI LabVIEW for Beginer
4/46
ni.com
Escalating Complexity Over Time
-
8/18/2019 NI LabVIEW for Beginer
5/46
ni.com
Our MissionWe equip engineers and scientists with tools that
accelerate productivity, innovation, and discovery.
-
8/18/2019 NI LabVIEW for Beginer
6/46
ni.com
Our Stability
Annual Revenue: $1.14 billion
Global Operations:Approximately 7,100 employees;
operations inmore than 40 countries
Broad Customer Base: Morethan 35,000 companies served
annually
Diversity: No industry >15%of revenue
Culture: Ranked among the top25 companies to work worldwide by
the Great Place to Work Institute
Strong Cash Position: Cash andshort-term investments of $327million
at March 31, 2013
-
8/18/2019 NI LabVIEW for Beginer
7/46
ni.com
What We DoWe provide graphical software with modular hardware to build
measurement and control systems.
Low-Cost Modular Measurement
and Control Hardware
Productive Software
Development Tools
Highly Integrated
Systems Platforms
-
8/18/2019 NI LabVIEW for Beginer
8/46
ni.com
What is NI LabVIEW?System Design Software for any Measurement
or Control Application
-
8/18/2019 NI LabVIEW for Beginer
9/46
-
8/18/2019 NI LabVIEW for Beginer
10/46
ni.com
Architecture of an Integrated Measurement System
LabVIEW is system design software that provides
engineers and scientists with the tools needed to
create and deploy measurement and control systemsthrough unprecedented hardware integration.
Sensor
Signal
Conditioning
Analog-to-Digital
Converter
Measurement Device Software
Driver
Software
Application
Software
-
8/18/2019 NI LabVIEW for Beginer
11/46
ni.com
Because It Has Been Proven Over Nearly 30Years… Withstanding the test of time across operating systems, buses, technologies, and more
-
8/18/2019 NI LabVIEW for Beginer
12/46
ni.com
…LabVIEW Is the Standard for Making Measurements
0% 5% 10% 15% 20% 25% 30% 35% 40%
NI LabVIEW
Microsoft Visual C/C++
Microsoft Visual Basic
Microsoft Visual Basic 6.0
NI - LabWindows™/CVI Microsoft C#
The MathWorks, Inc. - MATLAB®
NI Measurement Studio
Agilent VEE
NI TestStand
Agilent IO Libraries Suite
Python
GeoTest ATEasy
Other
Don't use
Software Used for Data Acquisition and Instrument Control
-
8/18/2019 NI LabVIEW for Beginer
13/46
ni.com
Unrivaled Hardware Integration in a Single Environment
• NI hardware
• 200+ data acquisition devices• 450+ modular instruments
• Cameras
• Motion control
• Third-party hardware
• Instrument Driver Networko 10,000+ instrument drivers
o 350+ instrument vendors
o 100+ instrument types
• Communicate over any bus
-
8/18/2019 NI LabVIEW for Beginer
14/46
ni.com
The Foundation of LabVIEW: Virtual InstrumentationAutomation through software led to a realization about fixed-functionality instrumentation…
Redundancy: DisplaysInstrument vendors provide a limited-
quality display per instrument, even though
monitor technology is far more advanced.
Redundancy: Processors
Chip manufacturers rapidly enhanceprocessors according to Moore’s law, but
instruments have fixed processing power.
Redundancy: Memory
PCs can quickly capitalize on a performance
boost from a memory upgrade from readily
available RAM.
Redundancy: Storage
Each instrument duplicates onboard
storage even though PC hard drives are
plentiful and cost-effective.
Redundancy: Power Supplies
Each separate instrument requires its own
power supply to run measurement circuitry
that captures the real-world signal.
-
8/18/2019 NI LabVIEW for Beginer
15/46
ni.com
The Foundation of LabVIEW: Virtual InstrumentationBy leveraging COTS PC components, the software becomes the instrument
LabVIEW unlocks the power of instrument and data acquisition hardware
by capitalizing on the PC industry and abstracting redundant circuitry.
-
8/18/2019 NI LabVIEW for Beginer
16/46
ni.com
Therefore, LabVIEW Building Blocks Are Called
Virtual Instruments (*.VI)
LabVIEW Front PanelThe user interface of a VI
LabVIEW Block DiagramThe source code of a VI
Note: A *.vi file encapsulatesall three elements
-
8/18/2019 NI LabVIEW for Beginer
17/46
ni.com
Creating a LabVIEW Front Panel
Controls Palette (Right-Click)Access a hierarchical palette of all front
panel elements.
Quick Drop (Ctrl + Space)Search by object name.
-
8/18/2019 NI LabVIEW for Beginer
18/46
ni.com
Customising your Front Panels
All of the front panels above were contributed
for sharing and reuse by members of the
global LabVIEW community.
https://decibel.ni.com/content/servlet/JiveServlet/showImage/38-4203-14650/Windmill+Preview.png
-
8/18/2019 NI LabVIEW for Beginer
19/46
ni.com
All Front Panel Elements Have Block
Diagram TerminalsBlock diagram terminals provide access to front panel values
-
8/18/2019 NI LabVIEW for Beginer
20/46
ni.com
-
8/18/2019 NI LabVIEW for Beginer
21/46
ni.com
-
8/18/2019 NI LabVIEW for Beginer
22/46
ni.com
-
8/18/2019 NI LabVIEW for Beginer
23/46
ni.com
Examining Traditional Source CodeHumans use abstracted languages because machine code is too hard to comprehend
-
8/18/2019 NI LabVIEW for Beginer
24/46
ni.com
With LabVIEW, You Can Program the Way You Think
-
8/18/2019 NI LabVIEW for Beginer
25/46
ni.com
With LabVIEW, You Can Program the Way You Think
The graphical, dataflow-based G programming language
is ideal for programming parallel data acquisition
hardware.
-
8/18/2019 NI LabVIEW for Beginer
26/46
ni.com
What Is Data Flow?
• Each block diagram node executes only when it receives all inputs
• Each node produces output data after execution• Data flows along a path defined by wires
• The movement of data determines execution order
Formula: Result = (A+B*C) / (D-E)
-
8/18/2019 NI LabVIEW for Beginer
27/46
ni.com
What Is Data Flow?
• Each block diagram node executes only when it receives all inputs
• Each node produces output data after execution• Data flows along a path defined by wires
• The movement of data determines execution order
The [Multiply] and [Subtract] operations can execute at the same time since they
don’t have any data dependencies.
-
8/18/2019 NI LabVIEW for Beginer
28/46
ni.com
Dataflow Languages Naturally Express ParallelismThe LabVIEW compiler will automatically multithread code expressed in parallel
Data Parallelism
Task Parallelism
-
8/18/2019 NI LabVIEW for Beginer
29/46
ni.com
Creating a LabVIEW Block Diagram
Functions Palette (Right-Click)Access a hierarchical palette of all
block diagram functions.
Quick Drop (Ctrl + Space)Search by object name.
-
8/18/2019 NI LabVIEW for Beginer
30/46
ni.com
Execution Control Structures: Loops
Count TerminalThe code contained within this For
Loop will execute N times.
Conditional TerminalThe code within this While Loop will
run until a True value is evaluated.
Loop Iteration TerminalsThis provides the current loop
iteration count, which ranges from
0 to N-1.
For Loop
While Loop
-
8/18/2019 NI LabVIEW for Beginer
31/46
ni.com
Getting Started with LabVIEW Example Finder
-
8/18/2019 NI LabVIEW for Beginer
32/46
ni.com
Getting Started with LabVIEW Example Finder
-
8/18/2019 NI LabVIEW for Beginer
33/46
ni.com
Event and Case Structures
Event Selector LabelThis indicates which subdiagram isvisible and details the event that the
code within the diagram handles.
Selector TerminalThe value wired to this terminal
determines which of the subdiagrams,
or cases, will execute.
Event Structure
Case StructureCase Selector Label
This indicates which subdiagram is
visible.
-
8/18/2019 NI LabVIEW for Beginer
34/46
ni.com
LabVIEW Functions Are as Complex as You Need
ExpressVIs
•
Quick and Easy• Configuration-Based
• Limited
RegularVIs
• Hides Unnecessary
Details
• Retains Power and
Flexibility
Low-LevelVIs
• Powerful, Flexible
• Difficult, Time-
Consuming
-
8/18/2019 NI LabVIEW for Beginer
35/46
ni.com
Wire Color, Style and Thickness
Wire Type Scalar 1D Array 2D Array Color
Floating Point Orange
Integer Blue
Boolean Green
String Pink
Error Yellow
A “broken wire” represents a data type conflict that LabVIEWcannot automatically resolve. Fix it, or your code won’t run!
-
8/18/2019 NI LabVIEW for Beginer
36/46
ni.com
Visualizing Data Flow Along Wires: Highlight ExecutionUser presses the “Start” button to fire the first event
User presses the “Stop” button to fire the second event
LabVIEW Real-Time Module
-
8/18/2019 NI LabVIEW for Beginer
37/46
ni.com
User Community
9,000+ Certified Users
700+ Alliance Partners
60+ Registered User Groups
LabVIEW Tools Network
1,000,000+ Add-Ons Downloaded
26+ Certified Add-Ons
100+ Available Add-Ons
Leveraging the LabVIEW Ecosystem
Modules and Toolkits
40+ Toolkits and Modules Including:
LabVIEW Real Time Module
LabVIEW FPGA Module
LabVIEW Embedded Module for ARM
LabVIEW Touch Panel Module
LabVIEW Wireless Sensor Network Module
LabVIEW C Code Generator
NI Real-Time Hypervisor
Vision Development Module for LabVIEW
Sound and Vibration Measurement Suite
Sound and Vibration ToolkitLabVIEW Advanced Signal Processing Toolkit
LabVIEW Adaptive Filter Toolkit
LabVIEW Digital Filter Design Toolkit
LabVIEW MathScript RT Module
Spectral Measurements Toolkit
Modulation Toolkit for LabVIEW
LabVIEW Robotics Module
LabVIEW Biomedical Toolkit
ECU Measurement and Calibration Toolkit
GPS Simulation Toolkit for LabVIEW
Measurement Suite for Fixed WiMAXWLAN Measurement Suite
Automotive Diagnostic Command Set
LabVIEW GPU Analysis Toolkit
Multicore Analysis and Sparse Matrix Toolkit
LabVIEW PID and Fuzzy Logic Toolkit
LabVIEW Control Design and Simulation Module
LabVIEW System Identification Toolkit
LabVIEW Simulation Interface Toolkit
LabVIEW SoftMotion Module
LabVIEW Datalogging and Supervisory Control ModuleLabVIEW Report Generation Toolkit for Microsoft Office
LabVIEW Database Connectivity Toolkit
LabVIEW DataFinder Toolkit
LabVIEW SignalExpress
LabVIEW VI Analyzer Toolkit
LabVIEW Statechart Module
LabVIEW Desktop Execution Trace Toolkit
NI Requirements Gateway
NI Real-Time Execution Trace Toolkit
LabVIEW Unit Test Framework Toolkit
LabVIEW Application Builder for Windows
-
8/18/2019 NI LabVIEW for Beginer
38/46
ni.com
-
8/18/2019 NI LabVIEW for Beginer
39/46
ni.com
Join us at a summit near you!
To register for the conference, visit ni.com/asean/gsdsummits
Country City Event DateMalaysia Petaling Jaya 03 October 2013, Thursday
Malaysia Penang 09 October 2013, Wednesday
Malaysia Johor Bahru 16 October 2013, Wednesday
Singapore Singapore 18 October 2013, Friday
Thailand Bangkok 06 November 2013, Wednesday
Indonesia Jakarta 13 November 2013, Wednesday
Philippines Manila 20 November 2013, Wednesday
Philippines Cebu 27 November 2013, Wednesday
Vietnam Ho Chi Minh 03 December 2013, Tuesday
Vietnam Hanoi 10 December 2013, Tuesday
L bVIEW Skill D l Pl
-
8/18/2019 NI LabVIEW for Beginer
40/46
ni.com
LabVIEW Skill Development Plan
ni.com/asean/training
The Fastest, Most Certain Route to Productivity
• Save development time and cost with faster learning and development
• Hands-on hardware based courses
• Differentiate skills with professional credentials
• Multiple training formats - Classroom, On-site, Self-Paced
New User
Advanced
Architectures
for LabVIEW
LabVIEW Core
1
LabVIEW Core
2
LabVIEW Core
3
Managing
Software
Engineering in
LabVIEW
CLACLD
Proficient User Advanced User
LabVIEW
Connectivity
LabVIEW DAQ
And Signal
Conditioning
LabVIEW
FPGA
Hardware Courses
LabVIEW
Real Time
LabVIEW RF
Application
Development
LabVIEW
Modular
Instruments
LabVIEW RF
Fundamentals
CLAD
-
8/18/2019 NI LabVIEW for Beginer
41/46
ni.com
LabVIEW Certification Program
Architect• Mastery of LabVIEW
• Expert in large application development
• Skilled in leading project teams
Developer• Advanced LabVIEW knowledge
and application development
experience
• Project management skills
Associate Developer• Proficiency in navigating
LabVIEW environment• Some application
development experience
Certified LabVIEW
Developer
Certified LabVIEW AssociateDeveloper
CertifiedLabVIEW
Architect
ni.com/asean/training
-
8/18/2019 NI LabVIEW for Beginer
42/46
ni.com
Training and Certification Membership
Cost Effective
Applies to 1 person
Software Training Membership (4 Software Training)
• Free CLAD Certification Exam.
• Valid for 6 months period
Hardware Training Membership (3 Software and 1
Hardware Training)
• Free CLAD and CLD certification exams
•
Valid for 12 months period
ni.com/asean/training
-
8/18/2019 NI LabVIEW for Beginer
43/46
ni.com
LabVIEW Learning Center
Visit our NEW LabVIEW Learning Center to try out other basic
features of LabVIEW!
www.ni.com/asean/labviewlearningcenter
-
8/18/2019 NI LabVIEW for Beginer
44/46
ni.com
Lowering the Cost of Innovation
• Quickly automate the acquisition of data to betterunderstand meaningful results
• Easily build a graphical user interface to best communicatethe results of your work
• Acquire data from a wide range of measurement hardware,
benchtop instruments, and custom I/O• Leverage self-paced online training to enhance your
proficiency
www.ni.com/asean/labview-base
-
8/18/2019 NI LabVIEW for Beginer
45/46
ni.com
Stand a chance to win an ASUS MEMO Pad
How to enter the lucky draw:
1. Fill up the survey form at the belowlink:
o https://docs.google.com/forms/d/1iO0Qni
3trmzzfR-1bKL_lsVjmj2KqYvCtC-
YQNzFZfY/viewform
3. Results will be announced via our Facebook page(https://www.facebook.com/asean.ni) on 30 September 2013
2. Submit it and you will automatically be
entered in the lucky draw. Submissions closed on 20 September
2013
Good Luck!
https://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://www.facebook.com/asean.nihttps://www.facebook.com/asean.nihttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewformhttps://docs.google.com/forms/d/1iO0Qni3trmzzfR-1bKL_lsVjmj2KqYvCtC-YQNzFZfY/viewform
-
8/18/2019 NI LabVIEW for Beginer
46/46