8/10/2019 L1 - VI tools.ppt
1/20
8/10/2019 L1 - VI tools.ppt
2/20
LabVIEW Environment
8/10/2019 L1 - VI tools.ppt
3/20
8/10/2019 L1 - VI tools.ppt
4/20
Virtual Instrumentation With
LabVIEW
Front Panel
Block Diagram
8/10/2019 L1 - VI tools.ppt
5/20
Front Panel Controls = Inputs
Indicators = Outputs
Block Diagram Accompanying program
for front panel
Components wired
together
Icon/Connector Means of connecting a VI
to other VIs
LabVIEW Programs Are Called
Virtual Instruments (VIs)
8/10/2019 L1 - VI tools.ppt
6/20
VI Front Panel
Front PanelToolbar
Graph
Legend
BooleanControl
WaveformGraph
Icon
Plot
Legend
Scale
Legend
8/10/2019 L1 - VI tools.ppt
7/20
VI Block Diagram
GraphTerminal
WireData
SubVI
While LoopStructure
BlockDiagramToolbar Divide
Function
NumericConstant
TimingFunction
Boolean ControlTerminal
8/10/2019 L1 - VI tools.ppt
8/20
Express VIs, VIs and Functions
Express VIs: interactive VIs with configurable dialog page
Standard VIs: modularized VIs customized by wiring
Functions: fundamental operating elements of
LabVIEW; no front panel or block diagram
Express VI Standard VI
Function
C t l d
8/10/2019 L1 - VI tools.ppt
9/20
Controls and
Functions Palettes
Controls Palette(Front Panel Window) Functions Palette(Block Diagram Window)
8/10/2019 L1 - VI tools.ppt
10/20
Scrolling Tool
Breakpoint Tool
Probe Tool
Color Copy Tool
Coloring Tool
Tools Palette
Operating Tool
Positioning/Resizing Tool
Labeling Tool
Wiring Tool
Shortcut Menu Tool
Floating Palette Used to operate and modify
front panel and block diagram
objects.
Automatic Selection Tool
8/10/2019 L1 - VI tools.ppt
11/20
Status Toolbar
Run Button
Continuous Run Button
Abort Execution
Pause/Continue Button
Text Settings
Align Objects
Distribute Objects
Reorder
Resize front panelobjects
Execution HighlightingButton
Step Into Button
Step Over Button
Step Out Button
Additional Buttons onthe Diagram Toolbar
8/10/2019 L1 - VI tools.ppt
12/20
Creating a VI
Control
Terminals
Block Diagram Window
Front Panel Window
Indicator
Terminals
8/10/2019 L1 - VI tools.ppt
13/20
Creating a VIBlock Diagram
8/10/2019 L1 - VI tools.ppt
14/20
Wiring TipsBlock Diagram
Wiring Hot Spot
Clean Up WiringUse Automatic
Wire Routing
Click To Select Wires
8/10/2019 L1 - VI tools.ppt
15/20
Dataflow Programming
Block diagram executes
dependent on the flow of data;
block diagram does NOT
execute left to right
Node executes when data is
available to ALL input terminals
Nodes supply data to all output
terminals when done
8/10/2019 L1 - VI tools.ppt
16/20
8/10/2019 L1 - VI tools.ppt
17/20
Exercise 1 - Convert C to F
8/10/2019 L1 - VI tools.ppt
18/20
Debugging Techniques
Finding Errors
Execution Highlighting
Probe
Click on broken Run button
Window showing error appears
Click on Execution Highlighting button; dataflow is animated using bubbles. Values aredisplayed on wires.
Right-click on wire to display probe and it
shows data as it flows through wire segment
You can also select Probe tool from Toolspalette and click on wire
8/10/2019 L1 - VI tools.ppt
19/20
8/10/2019 L1 - VI tools.ppt
20/20