LabVIEW is a graphical programming development environment for data acquisition and control, data an - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

LabVIEW is a graphical programming development environment for data acquisition and control, data an

Description:

LabVIEW is a graphical programming development environment for data acquisition ... Color Copy Tool. Coloring tool. Object pop-up. Menu tool. Tools Palette ... – PowerPoint PPT presentation

Number of Views:252
Avg rating:3.0/5.0
Slides: 18
Provided by: cy9
Category:

less

Transcript and Presenter's Notes

Title: LabVIEW is a graphical programming development environment for data acquisition and control, data an


1
  • LabVIEW is a graphical programming development
    environment for data acquisition and control,
    data analysis, and data presentation.
  • With LabVIEW you can build graphical programs
    called virtual instruments (VIs) instead of
    writing text based programs.
  • One creates front panel user interfaces that give
    interactive control of system.
  • One assembles block diagrams to add functionality
    to the user interface. (This is done in the
    diagram window)

2
(No Transcript)
3
Front Panel The front panel is the user interface
of the VI. You build the front panel with
controls and indicators, which are the
interactive input and output terminals of the VI,
respectively. Controls are knobs, pushbuttons,
dials, and other input devices. Indicators are
graphs, LEDs, and other displays. Controls
simulate instrument input devices and supply data
to the block diagram of the VI. Indicators
simulate instrument output devices and display
data the block diagram acquires or generates.
Controls Palette The Controls palette is
available only on the front panel. The Controls
palette contains the controls and indicators you
use to create the front panel. Select WindowShow
Controls Palette or right-click the front panel
workspace to display the Controls palette. You
can place the Controls palette anywhere on the
screen.
4
Block Diagram After you build the front panel,
you add code using graphical representations of
functions to control the front panel objects. The
block diagram contains this graphical source
code. Front panel objects appear as terminals on
the block diagram. Additionally, the block
diagram contains functions and structures from
built-in LabVIEW VI libraries. Wires connect each
of the nodes on the block diagram, including
control and indicator terminals, functions, and
structures.
Functions Palette The Functions palette is
available only on the block diagram. The
Functions palette contains the VIs and functions
you use to build the block diagram. Select
WindowShow Functions Palette or right-click the
block diagram workspace to display the Functions
palette. You can place the Functions palette
anywhere on the screen.
5
Tools Palette The Tools palette is available on
the front panel and the block diagram. A tool is
a special operating mode of the mouse cursor.
When you select a tool, the cursor icon changes
to the tool icon. Use the tools to operate and
modify front panel and block diagram objects.
Select WindowShow Tools Palette to display the
Tools palette. You can place the Tools palette
anywhere on the screen. If automatic tool
selection is enabled and you move the cursor over
objects on the front panel or block diagram,
LabVIEW automatically selects the corresponding
tool from the Tools palette.
Object pop-up Menu tool
Positioning tool
Operating tool
Labeling tool
Wiring tool
Scrolling tool
Color Copy Tool
Breakpoint tool
Coloring tool
Probe tool
6
DIAGRAM EXAMPLE WITH FUNCTION PALETTE
7
SOME IMPORTANT TOOL FUNCTIONS
Wiring tool Tool to define data paths between
terminals.
Operating tool Tool to enter data into controls
and operate them.
Labeling tool Tool to create labels and enter
text into text windows.
BreakPoint ToolUse the Breakpoint tool to place
a breakpoint on a VI, node, or wire on the block
diagram and pause execution at that location.When
you set a breakpoint on a wire, execution pauses
after data pass through the wire. Place a
breakpoint on the block diagram workspace to
pause execution after all nodes on the block
diagram execute.
Positioning Tool Used to position objects. The
Positioning tool also resizes objects. To avoid
resizing an object, place the Positioning tool in
the center of the object to move it. Click the
corners of an object to resize it.
Scrolling tool Used to size window for VIs.
8
FRONT PANEL EXAMPLE WITH CONTROLS
9
CONTROL PALETTE
Boolean
Numeric
String Path
Array Cluster
Graph
Ring Enum
Decoration
User Control
Select a control
The Control palette is available only when the
front panel window is active.
10
NUMERIC CONTROL
Digital Indicator
Vertical Pointer Slide
Digital Control
Vertical Fill slide
Vertical Graduated bar
Horizontal Fill Slide
Knob
Gauge
Thermometer
Tank
11
BOOLEAN CONTROL
Vert Rocker
Push Button
Vertical Toggle switch
Round LED
Vertical Slide Switch
Square LED
12
GRAPH CONTROL
Waveform Chart
XY Graph
Digital Waveform Chart
Intensity Chart
3-D Surface Graph
3-D Curve Graph
13
DIAGRAM EXAMPLE WITH FUNCTION PALETTE
14
FUNCTION PALETTE
Numeric
Structures
Boolean
String
Cluster
Comparison
File I/O
Waveform
Data Acquisition
Analyze
Mathematics
Tutorial
User Libraries
Select a VI
15
STRUCTURES
Case
For
While
Sequence
Formula Node
16
NUMERIC
Compound Arithmetic
Conversion
Add
Increment
Trigonometric
Absolute Value
Square root
Numeric constant
17
BOOLEAN FUNCTION
COMPOUND ARTHIMETIC
AND
NOT AND
AND
AND ARRAY ELEMENTS
BOOLEAN TO 0 or 1
TRUE CONSTANT
FALSE CONSTANT
Write a Comment
User Comments (0)
About PowerShow.com