Laboratory 5: Introduction to LabVIEW

Slides:



Advertisements
Similar presentations
LabVIEW Crash Course Presented by:.
Advertisements

Digital Logic Circuits
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.
Software for Engineers EG1003: Introduction to Engineering and Design.
LabVIEW 7.1 Tutorial. Measurement Lab. MECH262-MECH261 Imran Haider Malik January 16, 2006.
EG1003: Introduction to Engineering and Design Software for Engineers.
Introduction to LabVIEW 8.5
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
Laboratory 5: Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report / Presentation Closing.
CS320n –Visual Programming Introduction to LabVIEW.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
EG1003: Introduction to Engineering and Design Sensors.
Laboratory 7 Introduction to LabVIEW General Engineering Department Polytechnic University.
How to use LabVIEW Ihor Korolov February 2011.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
V1: HMFR, V2: MFNB, 2007 LabView Seminar University of Puerto Rico Mayagüez Campus.
Design of Bio-Medical Virtual Instrumentation Tutorial 1.
MCEN 371 – Mechanical Engineering Lab Chapter 6: LabVIEW Part 1: Introduction.
LabVIEW an Introduction
Introduction to LabVIEW
Physics 145 Introduction to Experimental Physics I Instructor: Karine Chesnel Office: N319 ESC Tel: Office hours: on appointment.
Biomedical Measurements & Analysis using LabVIEW
Electronic Devices Laboratory CE/EE 3110 Introduction to LabView.
Laboratory 7: Sensors Matthew R. Gaglio, Feb 2007.
1 A tutorial on the VISIR Open Lab Platform and an invitation to join the VISIR Group How to open a local electronics laboratory for remote access
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY VIRTUAL INSTRUMENTATION BIBHU SANTOSH ROUT EI [1] VIRTUAL INSTRUMENTATION by Bibhu Santosh Rout Roll.
Part I MVRT 2011 – 2012 Season Introduction to LabVIEW.
Laboratory 1: Introduction to Microsoft Word, Excel, and PowerPoint General Engineering Polytechnic University.
Laboratory 9: Electronic Filters. Overview Objectives Background Materials Procedure Report / Presentation Closing.
Introduction to LabVIEW 8.5
An Overview of LabVIEW by: The Software User-Interface Group!
Digital Logic Circuits. Overview  Objectives  Background  Materials  Procedure  Report / Presentation  Closing.
Laboratory 10: Electronic Filters. Overview  Objectives  Background  Materials  Procedure  Report / Presentation  Closing.
Laboratory 7: Sensors. Overview Objective Background Materials Procedure Report / Presentation Closing.
Digital Logic Circuits. Overview Objectives Background Materials Procedure Report/Presentation Closing.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
Introduction to LabVIEW
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
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.
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
EET 2259 Programming for Electronics Technology Professor Nick Reeder.
Digital Logic Circuits
Digital Logic Circuits
Introduction to LabVIEW
Laboratory 1: Software for Engineers
Digital Logic Circuits
Lesson 2: Introduction to Control programming using Labview
Laboratory 7: Sensors Matthew R. Gaglio, Feb 2007.
Laboratory 4: Sensors Matthew R. Gaglio, Feb 2007.
Software for Engineers
Software for Engineers
Introduction to LabVIEW
Digital Logic Circuits
Introduction to LabVIEW
Digital Logic Circuits
Digital Logic Circuits
Prototyping with Micro-controllers, Sensors, and Materials
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Presentation transcript:

Laboratory 5: Introduction to LabVIEW Revised 02/28/05 Mishah Salman, GG

Overview Objectives Background Materials Procedure Report / Presentation Closing

Objectives Familiarization with graphical programming Obtain data from outside the computer using simulated instrumentation Use this knowledge to create programs in LabVIEW Simple calculator Heating and cooling system Lighting system

What is LabVIEW? Laboratory Virtual Instrument Engineering Workbench Graphical programming language Used for data acquisition, instrument control, and signal processing Based on G programming language

Graphic-based vs. Text-Based

LabVIEW Programs (VIs) Called “Virtual Instruments” (VIs) Appearance and operation imitates actual physical instruments Without With

Applications in EG 1004 Heat Transfer and Thermal Insulation Lab Therm1.vi Electronic Filters Lab Oscilloscope Semester Long Project – Supermarket, Train Lighting system and heater/AC Computerized checkout counters Security system Light sensors Switches rail paths

LabVIEW Interface Front Panel - User Interface (UI), where the program is controlled and executed Back Panel (Block Diagram) - The internal circuit where the program code is written

LabVIEW Tools

represents object in front panel Controls & Indicators Icon in back panel represents object in front panel

Color Representation

(Functions -> All Functions) LabVIEW Functions (Functions -> All Functions)

Structures Allow programmer to produce conditional statements or multiple outputs, based on input Structures Case Structure

Structures Case Structure A number of different situations (or cases) Executes the case that matches the value of the input If no matching case, default case is executed

DAC Board Data Acquisition & Control Board Interface that exchanges data (sends/receives) between the computer and the outside world DAC Icons Used: One Input Analog Channel Port Config Port Write References: See EG1004 Online Manual, National Instruments documentation, and other LabVIEW oriented websites (i.e. IIT’s LabVIEW for Dummies©)

Pattern Pattern represents pins to be activated on DAC interface card Depends on values used with Port Config.vi Channels are groups of 8 pins With a channel of 2 and port width of 8, to activate pin: 47 pattern is 20, or 1 43 pattern is 22, or 4 47 and 43 pattern is 1+4, or 5

Materials for Lab Computer equipped with LabVIEW software, internal DAC board, and external DAC interface cards LED assembly (breadboard with LEDs) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

Procedure Program 1: Simple Calculator VI Create program simulating simple calculator Able to add, subtract, and multiply Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System

Procedure Program 1: Simple Calculator VI Front panel of program must have: Switch allowing 3 different arithmetic operations (add +; subtract -; multiply *) 3 LED (Boolean) indicators to show which arithmetic operation is selected Two numeric controls for inputting numbers One numeric indicator to display results Back panel should have: A case statement to control which arithmetic operation is being used Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System

Procedure Program 2: Thermal Control VI Home heating/cooling system Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System Program 2: Thermal Control VI Home heating/cooling system Program requirements- Automatic Mode Regulate house air temperature AC is ON when temperature is greater than 80oF Heater is ON when the temperature is less than 60oF Heater and AC are OFF when temperature is between 60oF and 80oF Program requirements- Manual Mode Heater and AC power are controlled directly by user (overrides automatic mode)

Procedure Program 2: Thermal Control VI Front panel must have: 2 LEDs AC on/off indicator Heater on/off indicator Automatic/manual mode switch A temperature control represented by a thermometer Back panel should have: A Boolean case statement to control manual and automatic operations Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System

Procedure Program 3: Lighting System VI Simulate typical household lighting system Use Boolean indicators in conjunction with real LEDs to illustrate operation Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System

Procedure Program 3: Lighting System VI Front panel must have: Main power on/off switch for all lights 4 lights, each representing a different room Each light should have separate on/off switch Back panel should have: A “Port Config” and “Port Write” setup to control LEDs through DAC board A Boolean case for each LED Real world Functional LED assembly (depict real lights) Program 1: Simple Calculator Program 2: Thermal Control Program 3: Lighting System

Assignment: Report Individual report Title page Discussion topics in the manual Include lab notes with TA’s initials TA must note that student programs worked Scan in data and lab notes (ask TA for assistance)

Assignment: Presentation Team presentation Include screen shots of your programs Photo of functioning LED assembly Explain what each part does Provide program walk-through Suggest improvements for programs Refer to “Creating PowerPoint Presentations” found on EG website

Closing Have all lab notes signed by TA Each team member should have turn using software Save Heating and Cooling VI – to be used in next lab Submit all work electronically Return all unused materials to TA