labview overview

Upload: bigirimw

Post on 02-Jun-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 LABVIEW Overview

    1/24

    BY

    V.BALAJI,

    AP/EEEDCE

    Introduction to LabVIEW

  • 8/10/2019 LABVIEW Overview

    2/24

    2

    PC, Mac, Linux, Sun

    LabVIEW Everywhere

    Networked I/O

    PC Boards

    Workstation

    Handheld

    Embedded(FPGA)

    Industrial Computer (PXI)

    Wireless

    Sensor

    Tektronix Open WindowsOscilloscopes

  • 8/10/2019 LABVIEW Overview

    3/24

    LabVIEW

    LabVIEW, which stands for LaboratoryVir tual I nstrumentation Engineer ing

    Workbench , is a graphicalcomputing environment for

    instrumentation, system design, andsignal processing, etc.

  • 8/10/2019 LABVIEW Overview

    4/24

    This course prepares you to do the following: Use LabVIEW to create application.

    Understand front panels, block diagrams, and icons andconnector panes.

    Use built-in LabVIEW functions.

    Create and save programs in LabVIEW so you can usethem as subroutines.

    OBJECTIVES

  • 8/10/2019 LABVIEW Overview

    5/24

    The Virtual Instrumentation Approach

  • 8/10/2019 LABVIEW Overview

    6/24

    LabVIEW Graphical Development System

    Graphical programming environmentCompile code for multiple OS and devicesUseful in a broad range of applications

  • 8/10/2019 LABVIEW Overview

    7/24

    Virtual Instrumentation ApplicationsDesign

    Signal and image processingEmbedded system programming

    (PC, DSP, FPGA,microcontroller)

    Simulation and PrototypingAnd more

    ControlAutomatic controls and dynamicsystemsMechatronics and roboticsAnd more

    MeasurementsCircuits and electronicsMeasurements and instrumentationAnd more

    Design Prototype Deploy

    A single graphical development platform

  • 8/10/2019 LABVIEW Overview

    8/24

    OVERVIEWLabVIEW EnvironmentFront Panel

    Block DiagramDataflow ProgrammingLabVIEW HelpDebugging a VI

  • 8/10/2019 LABVIEW Overview

    9/24

    StartAll ProgramsNational Instruments LabVIEW 8.6

    Startup Screen:

    Start from a blank VI: New Blank VI

    Start from an example:

    ExamplesFindExamples

    or

    Open and Run LabVIEW

  • 8/10/2019 LABVIEW Overview

    10/24

    Each VI has 2 windows

    Front Panel User interface (UI)

    Controls = inputs Indicators = outputs

    Block Diagram Graphical code

    Data travels on wires fromcontrols through functions toindicators

    Blocks execute by data flow

    LabVIEW Programs Are Called VirtualInstruments (VIs)

  • 8/10/2019 LABVIEW Overview

    11/2411

    Front Panel Controls Palette

    Controls PaletteContains the most commonly used controls

    All Controls PaletteShows all controls

  • 8/10/2019 LABVIEW Overview

    12/24

    Controls Palette(Place items on the front panel window)

    Indicator: Numeric Slide

    Control: Numeric

    CustomizePalette View

  • 8/10/2019 LABVIEW Overview

    13/24

    Functions (and Structures) Palette

    (Place items on the block diagram Window)

    Structure:While Loop

  • 8/10/2019 LABVIEW Overview

    14/24

    Run Button

    Continuous Run Button

    Abort Execution

    Execution Highlighting Button

    Additional Buttons on the Diagram Toolbar

    Status Toolbar

    Retain Wire Values Button

    Step Function Buttons

  • 8/10/2019 LABVIEW Overview

    15/24

    Block Diagram Window

    Front Panel Window

    Demonstration 1: Creating a VI

    InputTerminals

    OutputTerminal

    BooleanControl

    GraphIndicator

  • 8/10/2019 LABVIEW Overview

    16/2417

    NodesWires

    ControlTerminals

    Block DiagramFront PanelIndicatorTerminals

    Creating a VI Block Diagram

  • 8/10/2019 LABVIEW Overview

    17/24

    Data Types Found in LabVIEW

  • 8/10/2019 LABVIEW Overview

    18/24

    Block diagram execution Dependent on the flow of data Block diagram does NOT execute

    left to right

    Node executes when data isavailable to ALL input terminals

    Nodes supply data to all outputterminals when done

    Dataflow Programming

  • 8/10/2019 LABVIEW Overview

    19/24

    Debugging Techniques

    Finding Errors

    Execution Highlighting

    Probes

    Click on broken Run button.Window showing error appears.

    Click on Execution Highlighting button; data flow isanimated using bubbles. Values aredisplayed on wires.

    Right-click on wire to display probe; it shows data asit flows through wire segment.

    You can also select Probe tool from Tools palette andclick on wire.

  • 8/10/2019 LABVIEW Overview

    20/24

    Context Help Window

    HelpShow Context Help , press the keysHover cursor over object to update window

    Additional Help Right-click on the VI icon and choose

    Help, or Choose Detailed help on the context

    help window

  • 8/10/2019 LABVIEW Overview

    21/24

    Tips for Working in LabVIEW

    Keystroke Shortcuts Activate/Deactivate Context Help Window Remove Broken Wires from Block Diagram Toggle between Front Panel and Block

    Diagram Undo (also in Edit menu)

    ToolsOptions Set Preferences in LabVIEWFileVI Properties Configure VI Appearance,

    Documentation, and so on

  • 8/10/2019 LABVIEW Overview

    22/24

    Tips for Working in LabVIEW

    Keystroke Shortcuts Activate/Deactivate Context Help Window Remove Broken Wires from Block Diagram Toggle between Front Panel and Block

    Diagram Undo (also in Edit menu)

    ToolsOptions Set Preferences in LabVIEWFileVI Properties Configure VI Appearance,

    Documentation, and so on

  • 8/10/2019 LABVIEW Overview

    23/24

    SUMMARYLabVIEW EnvironmentFront Panel

    Block DiagramDataflow ProgrammingLabVIEW HelpDebugging a VI

  • 8/10/2019 LABVIEW Overview

    24/24

    THANK YOU