EngE_1104_Lab_2_Spring_2007_Students_Copy_V1B

EngE_1104_Lab_2_Spring_2007_Students_Copy_V1B - EngE 1104...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
EngE 1104 Spring 2007 Lab 2: An Introduction to LabView Written by: Jeremy Garrett, Edited by: Tom Walker Version 1B. Copyrighted: Oct, 2006 Preparation: LabVIEW must be installed prior to arriving in class. No lab warm-up required for this particular lab. Lab Objective: To gain a familiarity with and an ability to use the various mouse tools in LabVIEW. To gain a familiarity with and an ability to select, create, and use “controls” and “indicat- ors” in LabVIEW. To gain a familiarity with and an ability to connect wires within a block diagram. To perform program basic mathematical functions into LabVIEW. To observe and use the error output menu. Overview: This lab contains several parts. In Part 1, we will create a simple file and explore the available controls and indicators and we will wire some of them together. In Part 2 we will study the fact that LabView uses a “data flow model” by using the “highlight execution” tool, which will cause LabView to draw the flow of data – as we will observe, LabView supports both parallel and serial flow of data (and can even appear to move data at “random” times if the block diagram is not setup correctly). In the next lab we will look at “for loops,” “while loops,” and “case structures” (a more powerful version of an “if-then-else” statement), with a particular emphasis being placed on using a while loop in conjunction with a “power button” (to cause the program to run as long as “the power is on”). That second lab will then move on to “shift registers” (ways of bringing data from one iteration of a loop into the next iteration – instead of recreating/reinitialize the variable each time). The third lab will look at nested loops and nested case structures, and the use and construction of some simple graphs. The third lab will explore data types (integer verses float, short versus long, etc) and will demonstrate easy ways to make and use “clusters” (LabView’s word for C/C++/Pascal style “structures”).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Part 1 – Background: As described above, in this part of the lab begin our exploration of LabView. Naturally, we will start by walking through the “Getting Started” Window. Then we will explore the “Controls Palette” by creating several controls and several indicators and by wiring them together. The act of wiring them together will also give us a chance to begin our study of the “Block Diagram” window. Part 1 – Procedure: Click on the “National Instruments LabView 8.2” link in your Start / Programs folder or on your desktop. When the “Getting Started” window appears, you will be given the opportunity to open a new blank file (a blank VI or a blank project – which will be explained later), to browse and then open and existing LabView program, or to read through the help files. Choose New / Blank VI. At this point, LabView will have opened three new windows (after it has closed the
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/19/2011 for the course ENGE 1114 taught by Professor Twknott during the Fall '06 term at Virginia Tech.

Page1 / 14

EngE_1104_Lab_2_Spring_2007_Students_Copy_V1B - EngE 1104...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online