EEE4120
EEE4120
1 Human-machine interface
• LabVIEW Basics
• LabVIEW Virtual Instruments
• Front Panel and Block Diagram
• Toolbar and Menus
• LabVIEW Palettes
• Exercise
• LabVIEW Help and Manuals
1
LabVIEW Basics
2
LabVIEW Virtual Instruments
• LabVIEW programs are called VI
• Front panel - human machine interface
- control (i/p) and indicator (o/p)
• Block diagram - source code of VI
- terminals, nodes, and connector wires
• Icon - use in subVI of another program
3
Front Panel and Block Diagram
Front Panel
Controls = Inputs
Indicators = Outputs
Block Diagram
Accompanying “program”
for front panel
Components “wired”
together
4
Front panel and block diagram toolbar
5
Front panel and block diagram toolbar
Run Button
6
Front panel and block diagram menu
7
Accessing Shortcut Menus
Right-click on the label
for its shortcut menu Right-click on the digital
display for its shortcut
menu
8
LabVIEW Palettes
• Tools Palette
• Controls Palette
• Functions Palette
9
Tools Palette
• Floating Palette
• Used to operate and modify front panel and block diagram objects.
• Select “View” and then “Tools Palette” for displaying the Tools
Palette”
• Press Shift Key and Right Click to display the Temporary Tools
Palette
10
Controls and Functions Palettes
Controls Palette Functions Palette
(Panel Window) (Diagram Window)
Graphical, floating
palettes
Used to place
controls &
indicators on the
front panel, or to
build the block
diagram
11
LabVIEW Help and Manuals
• Context Help (Help Show Context Help)
12
LabVIEW Help and Manuals
• Simple and detailed Context Help
13
LabVIEW Help and Manuals
• Content and Index Help (Help Search Example)
14