Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 25

PRESENTATION ON LabVIEW

• INTRODUCTION
• LabVIEW ENVIRONMENT
• LabVIEW PROGRAMMING CONCEPT
• SOFTWARE CONSTRUCTS IN LabVIEW
INTRODUCTION
• LabVIEW – Laboratory Virtual Instrument Engineering Workbench
• Graphical – based Programming Language
• VI (virtual instrumentation) – basic LabVIEW element
• Programming languages – C,C++, BASIC
FEATURES
• Extensive Interface
• Code reuse and platform independent
• Parallel processing
APPLICATIONS
LabVIEW Environment
• A VI has 3 main parts
1. front panel
2. Block diagram
3. Connector pane
• Front panel: interacts with the user
• Block diagram: contains the code
• Connector pane: method of connecting to other VI’s
FRONT PANEL
• Right click – controls pallete pop’s up
• Caption and label both are front panel properties
• Traditional debugging features not available for front panel
• Connector pane – part of front panel
BLOCK DIAGRAM
• Label – block diagram property
• Right click – functions pallete pop’s up
• Traditional debugging features and clean up availability
CONNECTOR PANE
• Means of passing data to other VI
• The connector pane terminals display the color of data
BUILT-IN-HELP
• This is enabled by selecting this item from the Help pull-down menu
• If the cursor is placed over the particular button a small box pops up
with its description
• It is also activated from the Help pull-down menu by selecting Show
Help (Ctrl+H)
LabVIEW Programming Concept

• Data flow programming


• Process to determine the execution of program – Arbitrary
Interleaving
• Wire table – identifies the elements in the block diagram that have
inputs needed for that element to run
• A LabVIEW program is executed by pressing the arrow or the run
button located in the pallete along the top of the window
THREE PALETTES
• Function palette
• Control pallete
• Tools pallete
CONTROL PALETTE
CONTROL PALLETE
• VIEW – CONTROL PALETTE or by right clicking on the front panel
• The controls are grouped into categories in a tree
• The sub palettes have a lock in the top left corner to keep the window
visible while you are working with the controls
FUNCTION PALETTE
• VIEW – FUNCTION PALETTE or by right clicking on the block diagram
• Functions are grouped into categories
TOOLS PALETTE
VARIOUS TOOLS
• Automatic tool selection
• Operating value
• Positioning
• Labeling
• Wiring
• Short-cut menu
• Scrolling
• Break point
• Probe
• Get color
• Coloring
DATA TYPES
• Numeric
• String
• Dynamic data types
• Boolean
• Enum
• Ring
• Waveform
STRUCTURESS
• While loop
• For loop
• If-else - if
• Switch case
EXAMPLE
THANK YOU

You might also like