You are on page 1of 10

LabView

Introduction
What is LabView
 It is a graphical programming language

It uses icons instead of text lines to create
application
 LabView programs are called virtual
instruments(VIs), which all the LabView vi file
end with .vi extension
Main components in VI file
• Front panel
• Block diagram
• Icon
• Connector pane
(a) Front panel
 The front panel is the
user interface of the VI
 Controls and indicators
are input and output
terminals of a VI,
respectively.
(b) Block Diagram
 A simple block diagram
, comparing two strings,
x and y.
 The real codes to
execute the application
(c) icon
 It is located on the top-
left of front panel or
block diagram.
 It normally uses to
represent different VIs.
(d) Connector pane
 To view it, right-click
on the icon, then choose
the “Show connector”
 It represent the input
and output terminals of
the VI when it is used
as a subVI
Run and Debug
 To run a vi, click on the “RUN”
button on the front panel

 To stop a vi

 To debug, use the “Highlight


execution” button
Tips
 Use the Help menu to display the Context Help
window and the LabVIEW Help, which
describes most palettes and includes step-by-
step instructions for using LabVIEW features
 Refer to the examples in LabVIEW projects
 For more information log on to
http://www.ni.com/labview/
Why we use LabView
• It is a simple and easy to use in automation
testing
• It allows engineers to develop test program in a
short period
• There is a library of over 1000 different
instrument drivers available for providing high
level access to instrumentation

You might also like