Workshop 1 of 7 Welcome!. Who am I? Dilim Nwobu Computer Engineering ‘12 Fall 2011 Software Developer for NI LabVIEW Student Ambassador for Texas A&M.

Slides:



Advertisements
Similar presentations
A. Virtual Instruments (VIs)
Advertisements

LabVIEW Crash Course Presented by:.
LabVIEW is a graphical programming development environment for data acquisition and control, data analysis, and data presentation. With LabVIEW you can.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Lesson 2 Navigating LabVIEW
Based on LabVIEW 2011 Student Edition
LabVIEW and G Graphical Programming Language By: Ramtin Raji Kermani.
Diego Torres LabVIEW Student Ambassador Fall 2011 ITESM CQ
Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Welcome! Workshop 2 of 7.
Introduction to LabVIEW
Introduction to LabVIEW 8.5
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
Virtual Instrumentation With LabVIEW
Lecture 13LabVIEW and GPIB LabVIEW (National Instruments) –Graphical program language –Widely used in academia (lab) and industry (R&D) General Purpose.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
How to use LabVIEW Ihor Korolov February 2011.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Virtual Instrumentation With LabVIEW. Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in.
Tips and Tricks to Speed LabVIEW Development Useful Nuggets to Save You Time ni.com/labviewzone.
Design of Bio-Medical Virtual Instrumentation Tutorial 1.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
MCEN 371 – Mechanical Engineering Lab Chapter 6: LabVIEW Part 1: Introduction.
Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs LabVIEW Programs Are Called Virtual Instruments (VIs) Block Diagram.
LabVIEW an Introduction
Introduction to LabVIEW
Biomedical Measurements & Analysis using LabVIEW
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
LabVIEW in 3 Hours. What is Test & Measurement? Keypad Functionality Keypad Functionality LCD Testing LCD Testing Sound Quality Sound Quality Acoustic.
Part I MVRT 2011 – 2012 Season Introduction to LabVIEW.
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, room C204a
1. 2 LabVIEW Intro, Basics, Tips, Tricks Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 3 Editing and Debugging VIs  Read Bishop, Chapter 3.  Lab #3 and Homework #3 due next week.  Quiz.
Digital Electronics and Computer Interfacing Tim Mewes 4. LabVIEW - Advanced.
Introduction to LabVIEW 8.5
An Overview of LabVIEW by: The Software User-Interface Group!
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
Workshop 2 of 4 Welcome!. Survey While You Wait ni.com/duke >> Recent Documents >> LabVIEW Workshop Participation Survey.
Programming in LabVIEW
Digital Electronics and Computer Interfacing Tim Mewes 2. LabVIEW Basics part II.
A Presentation on Mr. SAJID NAEEM M.SC – Electronics (UOP) PG-DEP (C-DAC)
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report/Presentation Closing.
LabVIEW Course Course 1.
Week 3 Data Structures and Common Tools. Common Tools in Labview Automatic Tool Selector Using the Operating Tool Using the Positioning Tool to Select.
EET 2259 Programming for Electronics Technology Professor Nick Reeder.
Introduction to LabVIEW
EET 2259 Unit 3 Editing and Debugging VIs
Introduction to LabVIEW
Chapter 1 LabVIEW Basics
Chapter 5 SubVIs.
Chapter 4 Editing and Debugging
LabVIEW 7.1 寒假短期教學課程 歐陽丞修 2006/02/06.
Introduction to LabVIEW
Introduction to LabVIEW
Introduction to LabVIEW
Introduction to LabVIEW
Introduction to LabVIEW
EET 2259 Unit 2 Virtual Instruments
Introduction to LabVIEW
EET 2259 Unit 3 Editing and Debugging VIs
Presentation transcript:

Workshop 1 of 7 Welcome!

Who am I? Dilim Nwobu Computer Engineering ‘12 Fall 2011 Software Developer for NI LabVIEW Student Ambassador for Texas A&M Certified LabVIEW Associate Developer Peer Teacher for ENGR 112 Track B

Who are you? Graduate or Undergraduate? Engineering? A&S? EE BME ME CS Heard of LabVIEW? Used LabVIEW? Using LabVIEW for a project?

 5,100 employees  More than 1,000 products  600 Alliance Partners Dr. James Truchard National Instruments Leader in data acquisition technology with innovative modular instruments and LabVIEW graphical programming software  Corporate headquarters in Austin, TX  More than 40 international branches Fortune’s 100 Best Companies to Work For Twelve Consecutive Years

Diversity of Applications ElectronicsSemiconductors Computers No Industry > 10% of Revenue Advanced Research Petrochemical Food Processing Textiles Automotive Telecom ATE Military/Aerospace

LabVIEW Student Design Competition Deadline: June 10 Prizes Popular Vote First Prize: $750 USD Second Prize: $500 USD Third Prize: $250 USD Critic Vote Grand Prize: $2,000 USD Trip to NI Week 2011 in Austin, TX

Today's Topics What is LabVIEW? LabVIEW Environment LabVIEW Project Parts of a VI Menus & Palettes Configurations LabVIEW Data Types LabVIEW Data Flow

Compiled graphical development environment Development time reduction of four to ten times Tools to acquire, analyze, and present your data What is LabVIEW? Laboratory Virtual Instrumentation Engineering Workbench

Start»All Programs»National Instruments LabVIEW 2009 Start from a blank VI: New»Blank VI Start from an example: Examples»Find Examples… » or Open and Run LabVIEW

Use LabVIEW Projects to: Group LabVIEW files and non-LabVIEW files Create build specifications (i.e. stand-alone applications) Deploy or download files to targets (i.e. FPGA target) 10 Project Explorer Right Click!

Answer: a LabVIEW program 1. Front Panel User interface (UI) – Controls = inputs – Indicators = outputs 2. Block Diagram Graphical source code – Data travels on wires from control terminals through functions to indicator terminals – Blocks execute by data flow 3. Icon/Connector Pane Graphical representation of a VI Means of connecting VIs (subVIs) What is a Virtual Instrument (VI)? * Conn. pane available from FP only

Demonstration: Creating a new VI

Front Panel Toolbar Run Run Continuously Abort Pause Text Settings Align Objects Distribute Objects Resize Objects Reorder Context Help It is best not to use the Abort button because you run the risk of not closing references or cleaning up memory correctly

Front Panel Controls and Indicators Customize Palette View Numeric Boolean String Right click!

Shortcut Menus and Properties Dialog Right Click!

Block Diagram Toolbar Run Run Continuously Abort Pause Highlight Execution Retain Wire Values Step In Step Over Step Out Text Settings Align Objects Distribute Objects Resize Objects Reorder Clean Up Block Diagram Context Help Block Diagram Front Panel

Wires Transfer data between block diagram objects Wires are different colors, styles, and thicknesses, depending on data type A broken wire appears as a dashed black line with a red X in the middle Block Diagram Terminals Block Diagram appearance of front panel objects Entry & exit ports that exchange information between the front panel and block diagram Analogous to parameters and constants in text- based programming languages Scalar 1D Array 2D Array DBL Integer NumericNumeric String

Press -B to delete all broken wires Right-click and select Clean Up Wire to reroute the wire Use the Clean Up Diagram tool to reroute multiple wires and objects to improve readability Select a section of your block diagram Click the Clean Up Diagram button on the block diagram toolbar (or -U) 18 Block Diagram: Wiring Tips

Block Diagram Nodes Objects on the block diagram that have inputs and/or outputs and perform operations when a VI runs Analogous to statements, operators, functions, and subroutines in text-based programming languages Functions Fundamental operating elements of LabVIEW Do not have front panels or block diagrams, but do have connector panes Double-clicking a function only selects the function – does not open it like a VI Has a pale yellow background on its icon Structures While loops, for loops, event structures More discussion later subVIs VI that you build to use inside another VI Any VI has potential to become a subVI Double-clicking a subVI will open it (exception: Express Vis- config. window opens) Icon represents subVI in main VI

Common Data Types Found in LabVIEW

Numeric Controls and Functions (Front Panel) From the Controls»Modern»Numeric subpalette, select the Numeric Control icon. (Block Diagram) From the Functions»Programming»Nu meric subpalette, select the Add icon.

Mathematical Operations (Block Diagram) From the Functions»Mathematics»Integration and Differentiation subpalette, select the Derivative x(t).vi

Boolean Controls and Functions (Front Panel) From the Controls»Modern»Boolean subpalette, select the Push Button icon. (Block diagram) From the Function»Programming»Bool ean subpalette, select the OR icon.

String Controls and Functions (Front Panel) From the Controls»Modern»String subpalette, select the String Control icon. (Block diagram) From the Function»Programming»String subpalette, select the Concatenate icon.

Demonstration : Using the Functions and Controls Palette

Polymorphism Definition: a programming language feature that allows values of different data types to be handled using a uniform interface. In LabVIEW: the ability of VIs and functions to automatically adapt to accept input data of different data types i.e. Numeric Functions Useful when performing the same operation on different data types

Data Flow Block diagram execution is dependent on the flow of data Block diagram does NOT execute left to right Node executes when data is available to ALL input terminals Nodes supply data to all output terminals when done If the computer running this code had multiple processors, these two pieces of code could run independently without additional coding

Demonstration 1: Creating a simple VI

Create a new VI with a front panel block diagram that looks like this one: (image also available at ni.com/tamu) Exercise