Workshop
1 of 6
National Instruments
Leader in data acquisition technology with Corporate headquarters in
innovative modular instruments and LabVIEW Austin, TX
graphical programming software More than 40 international
branches
5,100 employees
More than 1,000 products
600 Alliance Partners
Fortune’s 100
Best Companies
to Work For
Twelve
Consecutive Years
Advanced Food
ATE Military/Aerospace Petrochemical Textiles
Research Processing
LabVIEW Student Design Competition
• Deadline: June 10
• Prizes
• Popular Vote
• First Prize: $750 USD
• Second Prize: $500 USD
• Third Prize: $250 USD
• Critic Vote
• Grand Prize: $2,000 USD
• Trip to NI Week 2011 in Austin, TX
http://www.ni.com/studentdesign/
Today's Topics
What is LabVIEW?
LabVIEW Environment
LabVIEW Project
Parts of a VI
Menus & Palettes
Configurations
or
Start from an example:
Examples»Find Examples…
Project Explorer Right Click!
8
What is a Virtual Instrument (VI)?
Answer: a LabVIEW program
1. Front Panel * Conn. pane
available from
User interface (UI) FP only
– Controls = inputs
– Indicators = outputs
2. Block Diagram
Graphical source code
– Data travels on wires from control
terminals through functions to
indicator terminals
– Blocks execute by data flow
3. Icon/Connector Pane
• Graphical representation of a VI
• Means of connecting VIs (subVIs)
Demonstration:
Creating a new VI
Front Panel Toolbar
Abort
Reorder
Run Continuously
Align Objects
Resize Objects
Context Help
Text Settings
Distribute Objects
Front Panel Controls and Indicators
Numeric Boolean Customize
Palette
View
Block Diagram
Pause Front Panel
Highlight Execution
Retain Wire Values
Step In
Step Over
Step Out
Text Settings
Block Diagram Toolbar
Align Objects
Distribute Objects
Resize Objects
Reorder
Clean Up Block Diagram
Context Help
Block Diagram
Terminals
• Block Diagram appearance of front panel objects
• Entry & exit ports that exchange information
between the front panel and block diagram
• Analogous to parameters and constants in text-
based programming languages
Wires
• Transfer data between block diagram objects
• Wires are different colors, styles, and DBL Integer
thicknesses, depending on data type Numeric Numeric String
16
Block Diagram
Nodes
• Objects on the block diagram that have inputs and/or
outputs and perform operations when a VI runs
• Analogous to statements, operators, functions, and
subroutines in text-based programming languages