Documente Academic
Documente Profesional
Documente Cultură
Agenda
Brief Introduction How does LABVIEW Works? Components of LABVIEW LABVIEW Conventions
Creating a VI
Induction Motor Simulation on LABVIEW Applications
Brief Introduction
Laboratory Virtual Instrument Engineering
Workbench Create programs using a graphical notation However, it is much more than any programming language. It can create programs that run on a number of platforms e.g. computers (running Windows, Mac OS X or Linux), Microsoft Pocket PC, FPGAs, DSPs and microprocessors. Users Affectionately call LABVIEW as G Language (for graphical).
instruments (VIs). Virtual instruments are called such because their appearance and operation often imitate actual physical instruments. However, behind the scenes, they are analogous to main programs, functions, and subroutines from popular programming languages like C or Basic. Hereafter, we will refer to a LabVIEW program as a "VI". Also, a LabVIEW program is always called a VI, whether its appearance or function relates to an actual instrument or not.
Components of LABVIEW
Front Panel
Controls = Inputs Indicators = Outputs
Block Diagram
Accompanying program for front panel Components wired together
VI Front Panel
Front Panel Toolbar Icon
Boolean Control
Graph Legend
VI Block Diagram
Block Diagram Toolbar
SubVI Graph Terminal Wire Data Divide Function
Numeric Constant
Timing Function
Status Toolbar
Run Button Continuous Run Button Abort Execution Pause/Continue Button Text Settings Align Objects Distribute Objects Reorder Resize front panel objects Execution Highlighting Button Step Into Button Step Over Button
Terminals
When you place a control (or indicator) on the FRONT PANEL
LabVIEW automatically creates a corresponding control (or indicator) terminal on the BLOCK DIAGRAM
Control? or Indicator?
Wires
A LabVIEW VI is held together by wires connecting nodes and terminals; they deliver data from one source terminal to one or more destination terminals.
Wiring Connections
Wires transport data
variable type
A red X means
something is wrong!
Broken wires
If you connect more than one source or no source at all to a wire,
LabVIEW DISAGREES with what youre doing, and the wire will appear broken
1D array
2D array
Color orange
blue
Boolean
String
green
pink
LabVIEW Conventions
Front panel items
Controls and indicators
Wiring colors
Wires are color coded to correspond to data types
Creating a VI
Front Panel Window
Control Terminals
Indicator Terminals
Applications
Virtual Design of Instruments Data Acquisition Signal Processing And Analysis
THANK YOU