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.

Slides:



Advertisements
Similar presentations
A. Virtual Instruments (VIs)
Advertisements

Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 6 Shift Registers Read Bishop, Section 5.3. Midterm Exam this week. Lab #6 and Homework #6 due next.
LabVIEW is a graphical programming development environment for data acquisition and control, data analysis, and data presentation. With LabVIEW you can.
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
TE Sessions Supported by: Basic Concepts of Programming November 3, 2012.
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 10 Clusters and Matrices  Read Bishop, Sections 6.4 to  Lab #10 and Homework #10 due next week.
Introduction to LabVIEW
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 5 Loops  Read Bishop, Sections 5.1 and 5.2.  Lab #5 and Homework #5 due next week.  Exam #1 next.
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.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 4 SubVIs  Read Bishop, Chapter 4.  Lab #4 and Homework #4 due next week.
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.
V1: HMFR, V2: MFNB, 2007 LabView Seminar University of Puerto Rico Mayagüez Campus.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 8 Other Structures; Local Variables  Read Bishop, Sections 5.6 to  Lab #8 and Homework #8 due.
Virtual Instrumentation With LabVIEW. Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in.
Design of Bio-Medical Virtual Instrumentation Tutorial 1.
LabView Basics The Fighting Pi Controls Group. About LabView LabView is a highly adaptable programming GUI (Graphic User Interface) LabView compiles the.
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
Samuel Alberg Thrysøe, PhD, PostDoc, Kontakt info: Tlf:
EET 2259 Unit 7 Case Structures; Sequence Structures  Read Bishop, Sections 5.4 and 5.5.  Lab #7 and Homework #7 due next week.  Quiz #3 next week.
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.
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.
CS320n –Visual Programming More LabVIEW Foundations.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 9 Arrays  Read Bishop, Sections 6.1 to 6.3.  Homework #9 and Lab #9 due next week.  Quiz #5 next.
Digital Electronics and Computer Interfacing Tim Mewes 2. LabVIEW Basics part II.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
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.
EET 2259 Unit 4 SubVIs Read Bishop, Chapter 4.
EET 2259 Unit 11 Charts and Graphs
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
EET 2259 Unit 3 Editing and Debugging VIs
Introduction to LabVIEW
Chapter 1 LabVIEW Basics
Chapter 5 SubVIs.
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
Chapter 4 Editing and Debugging
EET 2259 Unit 9 Arrays Read Bishop, Sections 6.1 to 6.3.
Introduction to LabVIEW
EET 2259 Unit 7 Case Structures; Sequence Structures
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
EET 2259 Unit 11 Charts and Graphs
EET 2259 Unit 2 Virtual Instruments
EET 2259 Unit 4 SubVIs Read Bishop, Chapter 4.
EET 2259 Unit 8 Other Structures; Local Variables
EET 2259 Unit 3 Editing and Debugging VIs
Presentation transcript:

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.

Floyd, Digital Fundamentals, 10 th ed Virtual Instruments Remember, LabVIEW programs are called virtual instruments, or VIs for short. Recall that every VI has a front panel (user interface) and a block diagram (program code). (Bishop, p. 53)

Floyd, Digital Fundamentals, 10 th ed Items on Front Panel The front panel contains controls and indicators. Controls are inputs that let the user enter data, such as switches, knobs. Indicators are outputs that display data to the user, such as graphs, numeric displays. (Bishop, p. 62)

Floyd, Digital Fundamentals, 10 th ed Controls Palette Use the controls palette to place controls or indicators on the front panel. (Open palette by View > Controls Palette or by right-clicking a blank area on front panel.) (Bishop, p. 62)

Floyd, Digital Fundamentals, 10 th ed Finding Controls & Indicators On the controls palette, under Modern, the most commonly used controls and indicators are grouped into three categories: Numeric, Boolean, and String & Path.

Floyd, Digital Fundamentals, 10 th ed Search Button on Controls Palette Search button lets you find controls or indicators by name. (Bishop, p. 64) Search

Floyd, Digital Fundamentals, 10 th ed Items on Block Diagram The block diagram contains items connected by wires. Most items on the block diagram fall into one of four categories: Terminals representing front-panel controls or indicators, or constant values. Built-in functions (such as multiplication) SubVIs (A subVI is a smaller program contained within a bigger program.) Express VIs (a special type of subVI) (Bishop, pp )

Floyd, Digital Fundamentals, 10 th ed Distinguishing Functions from SubVIs (Part 1) On block diagrams, built-in functions have a pale yellow background, while subVIs usually have a white background (except for Express VIs, which have a blue background). (Bishop, p. 70)

Floyd, Digital Fundamentals, 10 th ed Distinguishing Functions from SubVIs (Part 2) When you double-click a function, nothing happens. When you double-click a standard subVI, the front panel for the subVI opens. (Remember, a subVI is a complete program with its own front panel and block diagram.) When you double-click an Express VI, a dialog box opens to let you configure it. (Bishop, p. 70)

Floyd, Digital Fundamentals, 10 th ed Functions, SubVIs, and Express VIs Functions: Cant be customized. Standard subVIs: You can rewire the block diagram to customize. Express VIs: You use dialog box to customize.

Floyd, Digital Fundamentals, 10 th ed Icons vs. Expandable Nodes Standard subVIs and Express VIs can be displayed either as icons or as expandable nodes. To change display, right-click and select (or deselect) View As Icon. (Bishop, p. 70)

Floyd, Digital Fundamentals, 10 th ed Example Same VI, viewed three different ways. Icon Expandable Node Expanded Node

Floyd, Digital Fundamentals, 10 th ed Colors for Data Types Terminals and wires are color-coded to show what type of data they carry: Blue = integer Orange = floating point number Green = Boolean (true/false) Pink = String (text) Blue & White Dashed = Dynamic (for Express VIs) Usually two terminals can be connected together by a wire only if theyre the same data type. (Bishop, p. 72)

Floyd, Digital Fundamentals, 10 th ed Terminals A terminal on a block diagram is a connection point for a wire. There are several kinds of terminals, including: Constants Control terminals for inputs from front panel Indicator terminals for outputs to front panel Node terminals on functions or subVIs (Bishop, p. 71)

Floyd, Digital Fundamentals, 10 th ed Control Terminals A control terminal has an arrow pointing out to the right. Theres a control terminal on the block diagram for each control on the front panel. On front panel, can right-click and choose Find Terminal. On block diagram, can right-click and choose Find Control. (Bishop, p. 72)

Floyd, Digital Fundamentals, 10 th ed Indicator Terminals An indicator terminal has an arrow pointing in from the left. Theres an indicator terminal on the block diagram for each indicator on the front panel. On front panel, can right-click and choose Find Terminal. On block diagram, can right-click and choose Find Indicator. (Bishop, p. 72)

Floyd, Digital Fundamentals, 10 th ed Icons vs. Data Type Terminals On the block diagram, control terminals and indicator terminals can be displayed either as icons or as data type terminals. To change display, right-click and select (or deselect) View As Icon. (Bishop, p. 72) Icon Data Type Terminal

Floyd, Digital Fundamentals, 10 th ed Terminals on Functions or SubVIs (Part 1) Functions and subVIs also have terminals where wires can connect to them. By convention, inputs are placed on the left and outputs are on the right.

Floyd, Digital Fundamentals, 10 th ed Terminals on Functions or SubVIs (Part 2) To show terminals more clearly, right-click and select Visible Items > Terminals

Floyd, Digital Fundamentals, 10 th ed Dataflow Programming In traditional text-based programming languages, the order of the statements determines the order in which theyre executed. In LabVIEWs graphical language, the layout on the page does not tell you the order of execution. A node executes whenever all of its inputs are available. (Bishop, pp )

Floyd, Digital Fundamentals, 10 th ed Highlight Execution Button To watch the order in which nodes are executed in the block diagram, click the Highlight Execution button on block diagrams toolbar and then run the VI. (Bishop, p. 84) Click on Highlight Execution button; data flow is animated using bubbles. Values are displayed on wires.