c01.qxd p /18/01 11:03 AM Page 1 Fundamentals
|
|
- Derrick Barnett
- 5 years ago
- Views:
Transcription
1 c01.qxd p /18/01 11:03 AM Page 1 Fundamentals
2 c01.qxd p /18/01 11:03 AM Page 2 OVERVIEW Welcome to the world of LabVIEW! This chapter gives you a basic explanation of LabVIEW and its capabilities and shows how it can make your life easier. GOALS Develop an idea of what LabVIEW really is Learn what graphical programming language and dataflow programming mean Peruse the introductory examples Get a feel for the LabVIEW environment KEY TERMS LabVIEW Virtual instrument (VI) Dataflow Graphical language Front panel Block diagram Icon Connector Toolbar Palette Hierarchy
3 c01.qxd p /18/01 11:03 AM Page 3 What in the World Is LabVIEW? What Exactly Is LabVIEW, and What Can It Do for Me? You d probably like to know what exactly LabVIEW is before you go much further. What can you do with it and what can it do for you? LabVIEW, short for Laboratory Virtual Instrument Engineering Workbench, is a programming environment in which you create programs with graphics; in this regard it differs from traditional programming languages like C, C++, or Java, in which you program with text. However, LabVIEW is much more than a language. It is a program development and execution system designed for people, such as scientists and engineers, who need to program as part of their jobs. LabVIEW works on PCs running Windows, MacOS, Linux, Solaris, and HP-UX. Providing you with a very powerful graphical programming language, LabVIEW can increase your productivity by orders of magnitude. Programs that take weeks or months to write using conventional programming languages can be completed in hours using LabVIEW, because it is specifically designed to take measurements, analyze data, and present results to the user. And because LabVIEW has such a versatile graphical user interface and is so easy to program with, it is also ideal for simulations, presentation 3
4 c01.qxd p /31/01 2:54 PM Page 4 4 LabVIEW for Everyone of ideas, general programming, or even teaching basic programming concepts. LabVIEW offers more flexibility than standard laboratory instruments because it is software-based. You, not the instrument manufacturer, define instrument functionality. Your computer, plug-in hardware, and LabVIEW comprise a completely configurable virtual instrument to accomplish your tasks. Using LabVIEW, you can create exactly the type of virtual instrument you need, when you need it, at a fraction of the cost of traditional instruments. When your needs change, you can modify your virtual instrument in moments. Figure 1.1 The Space Industries Sheet Float Zone Furnace is used for high-temperature superconductor materials processing research in a microgravity environment aboard the NASA KC- 135 parabolic aircraft. LabVIEW controls the industrialized Macintosh-based system.
5 c01.qxd p /18/01 11:03 AM Page 5 Chapter 1 What in the World Is LabVIEW? 5 LabVIEW tries to make your life as hassle-free as possible. It has extensive libraries of functions and subroutines to help you with most programming tasks, without the fuss of pointers, memory allocation, and other arcane programming problems found in conventional programming languages. Lab- VIEW also contains application-specific libraries of code for data acquisition (DAQ), General Purpose Interface Bus (GPIB), and serial instrument control, data analysis, data presentation, data storage, and communication over the Internet. The Analysis library contains a multitude of useful functions, including signal generation, signal processing, filters, windows, statistics, regression, linear algebra, and array arithmetic. Because of LabVIEW s graphical nature, it is inherently a data presentation package. Output appears in any form you desire. Charts, graphs, and user-defined graphics comprise just a fraction of available output options. This book will show you how to present data in all of these forms. LabVIEW s programs are portable across platforms, so you can write a program on a Macintosh and then load and run it on a Windows machine without changing a thing in most applications. You will find LabVIEW applications improving operations in any number of industries, from every kind of engineering and process control to biology, farming, psychology, chemistry, physics, teaching, and many others Dataflow and the Graphical Programming Language The LabVIEW program development environment is different from commercial C or Java development systems in one important respect. Whereas other programming systems use text-based languages to create lines of code, LabVIEW uses a graphical programming language to create programs in a pictorial form called a block diagram, eliminating a lot of the syntactical details. With this method, you can concentrate on the flow of data within your application; the simpler syntax doesn t obscure what the program is doing. Figures 1.2 and 1.3 show a simple LabVIEW user interface and the code behind it. LabVIEW uses terminology, icons, and ideas familiar to scientists and engineers. It relies on graphical symbols rather than textual language to describe programming actions. The principle of dataflow, in which functions execute only after receiving the necessary data, governs execution in a straightforward manner. You can learn LabVIEW even if you have little or
6 c01.qxd p /18/01 11:03 AM Page 6 6 LabVIEW for Everyone Figure 1.2 User interface. Figure 1.3 Graphical code. no programming experience, but you will find knowledge of programming fundamentals very helpful How Does LabVIEW Work? LabVIEW programs are called virtual instruments (VIs) because their appearance and operation imitate actual instruments. However, behind the scenes they are analogous to main programs, functions, and subroutines from popular programming languages like C or Basic. Hereafter, we will refer to a LabVIEW program as a VI (pronounced vee eye, not the Roman numeral six as we ve heard some people say). Also, be aware that a LabVIEW program is always called a VI, whether its appearance or function relates to an actual instrument or not. A VI has three main parts: The front panel is the interactive user interface of a VI, so named because it simulates the front panel of a physical instrument. The front panel can contain knobs, push buttons, graphs, and many other controls (which are user inputs) and indicators (which are program outputs). A user will input data using a mouse and keyboard and then view the results produced by the program on the screen. The block diagram is the VI s source code, constructed in LabVIEW s graphical programming language, G. The block diagram is the actual executable program. The components of a block diagram are lowerlevel VIs, built-in functions, constants, and program execution control
7 c01.qxd p /18/01 11:03 AM Page 7 Chapter 1 What in the World Is LabVIEW? 7 Figure 1.4 structures. You draw wires to connect the appropriate objects together to indicate the flow of data between them. Front panel objects have corresponding terminals on the block diagram so that data can pass from the user to the program and back to the user. In order to use a VI as a subroutine in the block diagram of another VI, it must have an icon and a connector. A VI that is used within another VI is called a subvi and is analogous to a subroutine. The icon is a VI s pictorial representation and is used as an object in the block diagram of another VI. A VI s connector is the mechanism used to wire data into the VI from other block diagrams when the VI is used as a subvi. Much like parameters of a subroutine, the connector defines the inputs and outputs of the VI. Virtual instruments are hierarchical and modular. You can use them as toplevel programs or subprograms. With this architecture, LabVIEW promotes the concept of modular programming. First, you divide an application into a series of simple subtasks. Next, you build a VI to accomplish each subtask and then combine those VIs on a top-level block diagram to complete the larger task.
8 c01.qxd p /18/01 11:03 AM Page 8 8 LabVIEW for Everyone Figure 1.5 Icon Connector Figure 1.6 Modular programming is a plus because you can execute each subvi by itself, which facilitates debugging. Furthermore, many low-level subvis often perform tasks common to several applications and can be used independently by each individual application. Just so you can keep things straight, we ve listed a few common LabVIEW terms with their conventional programming equivalents in Table Demonstration Examples Okay, you have enough reading for now. To get an idea of how LabVIEW works, you can open and run a few existing LabVIEW programs.
9 c01.qxd p /18/01 11:03 AM Page 9 Chapter 1 What in the World Is LabVIEW? 9 Table 1.1 LabVIEW Terms and Their Conventional Equivalents. LabVIEW VI function subvi front panel block diagram G or LabVIEW Conventional Language program function or method subroutine, subprogram, object user interface program code C, C++, Java, Pascal, BASIC, etc. Whether you are using the full or evaluation version of LabVIEW, just launch it. Make sure you can access the Everyone directory from the CD or your hard drive, as described in the Preface; it contains the activities for this book. After launching LabVIEW, a dialog box will appear. To open an example, select Open VI and choose the one you want. Throughout this book, use the left mouse button (if you have more than one) unless we specifically tell you to use the right one. On MacOS computers, <command>-click when right-mouse functionality is necessary. In most LabVIEW situations, the <control> key on Windows will correspond to <command> on Macs, <meta> on Suns, and <alt> on Linus and HP machines Activity 1-1: Temperature System Demo Open and run the VI called Temperature System Demo.vi by following these steps: 1. Launch LabVIEW if you haven t already. 2. Select Open from the File menu, or click the Open VI button if you have the LabVIEW start-up dialog box. 3. Next, open the Everyone directory or folder by double-clicking on it. Then select the libary CH1.LLB (Note: A library in LabVIEW, noted
10 c01.qxd p /18/01 11:03 AM Page LabVIEW for Everyone with the.llb extension, is a virtual directory of VI files. You can only see what s inside a library from LabVIEW to the operating system, it looks like a single file). Finally, open Temperature System Demo.vi. (If you have the full version of LabVIEW, you can also find this example under examples/apps/tempsys.llb). After a few moments, the Temperature System Demo front panel window appears, as shown in Figure 1.7. The front panel contains numeric controls, Boolean switches, slide controls, knob controls, charts, graphs, and a thermometer indicator. Figure 1.7 Temperature System Demo test front panel window. Run button Run button (active) Abort button 4. Run the VI by clicking on the Run button. The button changes appearance to indicate that the VI is running. The Toolbar, which is the row of icons on the top bar of the screen, also changes, since editing functionality won t be necessary while the VI is running. Notice also that the Abort button becomes active in the Toolbar. You can press it to abort program execution.
11 c01.qxd p /18/01 11:03 AM Page 11 Chapter 1 What in the World Is LabVIEW? 11 Temperature System Demo.vi simulates a temperature monitoring application. The VI makes temperature measurements and displays them in the thermometer indicator and on the chart. Although the readings are simulated in this example, you can easily modify the program to measure real values. The Update Period slide controls how fast the VI acquires the new temperature readings. LabVIEW also plots high and low temperature limits on the chart; you can change these limits using the Temperature Range knobs. If the current temperature reading is out of the set range, LEDs light up next to the thermometer. This VI continues to run until you click the Acquisition switch to off. You can also turn the data analysis on and off. The Statistics section shows you a running calculation of the mean and standard deviation, and the Histogram plots the frequency with which each temperature value occurs. Tweaking Values Operating tool Enter button 5. Use the cursor, which takes on the personality of the Operating tool while the VI is running, to change the values of the high and low limits. Highlight the old high or low value, either by clicking twice on the value you want to change, or by clicking and dragging across the value with the Operating tool. Then type in the new value and click on the enter button, located next to the run button on the Toolbar. 6. Change the Update Period slide control by placing the Operating tool on the slider, and then clicking and dragging it to a new location. You can also operate slide controls using the Operating tool by clicking on a point on the slide to snap the slider to that location, by clicking on a scroll button to move the slider slowly toward the arrow, or by clicking in the slide s digital display and entering a number. Even though the display changes, LabVIEW does not accept the new values in digital displays until you press the enter button, or click the mouse in an open area of the window.
12 c01.qxd p /18/01 11:03 AM Page LabVIEW for Everyone 7. Try adjusting the other controls in a similar manner. 8. Stop the VI by clicking on the Acquisition switch. Examine the Block Diagram The block diagram shown in Figure 1.8 represents a complete LabVIEW application. You don t need to understand all of these block diagram elements right now we ll deal with them later. Just get a feel for the nature of a block diagram. If you already do understand this diagram, you ll probably fly through the first part of this book! Figure Open the block diagram of Temperature System Demo.vi by choosing Show Diagram from the Windows menu. 10. Examine the different objects in the diagram window. Don t panic at the detail shown here! These structures are explained step by step later in this book. 11. Open the contextual Help window by choosing Show Context Help from the Help menu. Position the cursor over different objects in the block diagram and watch the Help window change to show descriptions of the objects. If the object is a function or subvi, the Help window will describe the inputs and outputs as well.
13 c01.qxd p /18/01 11:03 AM Page 13 Chapter 1 What in the World Is LabVIEW? 13 Hierarchy LabVIEW s power lies in the hierarchical nature of its VIs. After you create a VI, you can use it as a subvi in the block diagram of a higher-level VI, and you can have as many layers of hierarchy as you need. To demonstrate this versatile ability, look at a subvi of Temperature System Demo.vi. 12. Open the Temperature Status subvi by double-clicking on its icon. The front panel shown in Figure 1.9 springs to life. Figure 1.9 Icon and Connector The icon and connector provide the graphical representation and parameter definitions needed if you want to use a VI as a subroutine or function in the block diagrams of other VIs. They reside in the upper-right corner of the VI s front panel window. The icon graphically represents the VI in the block diagram of other VIs, while the connector terminals are where you must wire the inputs and outputs. These terminals are analogous to parameters of a subroutine or function. You need one terminal for each front panel control and indicator through which you want to pass data to the VI. The icon sits on top of the connector pattern until you choose to view the connector. Temperature Status Icon Connector Figure 1.10
14 c01.qxd p /18/01 11:03 AM Page LabVIEW for Everyone By using subvis, you can make your block diagrams modular and more manageable. This modularity makes VIs easy to maintain, understand, and debug. In addition, you can often create one subvi to accomplish a function required by many different VIs. Now run the top-level VI with both its window and the Temperature Status subvi window visible. Notice how the subvi values change as the main program calls it over and over. 13. Select Close from the File menu of the Temperature Status subvi. Do not save any changes. 14. Select Close from the File menu of Temperature System Demo.vi, and do not save any changes. Selecting Close from the File menu of a VI diagram closes the block diagram window only. Selecting Close on a front panel window closes both the panel and the diagram Activity 1-2: Frequency Response Example This example measures the frequency response of an unknown black box. A function generator supplies a sinusoidal input to the black box. (Hint: It contains a bandpass filter, which lets only certain signal components through it.) A digital multimeter measures the output voltage of the black box. Although this VI uses subvis to simulate a function generator and a digital multimeter, real instruments could easily be hooked up to a real black box to provide real-world data. You would then use subvis to control data acquisition, GPIB transfers, or serial port communication to bring in or send out real data instead of simulating it. You will open, run, and observe the VI in this activity. 1. Select Open from the File menu to open the VI, or click the Open VI button if you have the LabVIEW dialog box. 2. Select the EVERYONE directory and then CH1.LLB. Finally, doubleclick on Frequency Response.vi. (If you have the full version of Lab-
15 c01.qxd p /18/01 11:03 AM Page 15 Chapter 1 What in the World Is LabVIEW? 15 Figure 1.11 Run button VIEW, you can also find this example under examples/apps/ freqresp.llb.) The front panel shown in Figure 1.11 should appear. 3. Run the VI by clicking on the Run button. You can specify the amplitude of the input sine wave and the number of steps the VI uses to find the frequency response by changing the Amplitude control and the Number of Steps control, and then run the VI again. You can also specify the frequency sweep by inputting the upper and lower limits with the Low Frequency and High Frequency knobs. Play with these controls and observe the effect they have on the output of the black box. 4. Open and examine the block diagram by choosing Show Diagram from the Window menu. 5. Close the VI by selecting Close from the File menu. These exercises should give you a basic feel for LabVIEW s programming environment. With LabVIEW, you ll find writing powerful applications (and debugging them) to be a snap! Read on to learn how!
16 c01.qxd p /18/01 11:03 AM Page LabVIEW for Everyone 1.3 Wrap It Up! LabVIEW is a powerful and flexible instrumentation and analysis software system. It uses a graphical programming language, to create programs called virtual instruments, or VIs. The user interacts with the program through the front panel. Each front panel has an accompanying block diagram, which is the VI s source code. LabVIEW has many built-in functions to facilitate the programming process; components are wired together to show the flow of data within the block diagram. Stay tuned the next chapters will teach you how to effectively use LabVIEW s many features. You will find the solutions to every activity in the upcoming chapters in the EVERYONE directory on the CD that accompanies the book. We ll trust you not to cheat! 1.4 Additional Activities Activity 1-3: More Neat Examples In this activity, you will look at some example programs that ship with Lab- VIEW. Run button 1. From the Help menu, choose Examples. 2. This will bring up the LabVIEW Help system, opened at the Examples section. Clicking on a link to a specific example will bring up the specific VI in LabVIEW. 3. Run the example by clicking on the Run button. 4. After you run an example, choose Show Diagram from the Window menu to see what the program looks like. 5. Now look through and run other VIs in the examples to try to get an idea of the LabVIEW environment and what you can do with it. Although all of the examples are extremely educational, you should investigate a few particularly interesting directories: Demonstrations, Measurement Examples, and I/O Interfaces. Feel free to browse through any VIs that strike your fancy; you can learn a lot just by
17 c01.qxd p /18/01 11:03 AM Page 17 Chapter 1 What in the World Is LabVIEW? 17 watching how they work. Also feel free to modify and use these examples for your own applications (just be sure to save them to a different location so you don t overwrite the built-in examples). 6. When you re done, select Close from the File menu to close each VI. Do not save any changes you may have made.
OVERVIEW GOALS KEY TERMS
OVERVIEW Welcome to the world of LabVIEW! This chapter gives you a basic explanation of LabVIEW, its capabilities, and how it can make your life easier. GOALS Develop an idea of what LabVIEW really is.
More informationME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW
ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW Objectives: The goal of this exercise is to introduce the Laboratory Virtual Instrument Engineering Workbench, or LabVIEW software. LabVIEW is the primary software
More informationNI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES
NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE Introduction INSTRIUCTIONS IN THE EXERCISES According to National Instruments description: LabVIEW is a graphical programming platform that helps
More informationLinear Control Systems LABORATORY
Islamic University Of Gaza Faculty of Engineering Electrical Engineering Department Linear Control Systems LABORATORY Prepared By: Eng. Adham Maher Abu Shamla Under Supervision: Dr. Basil Hamed Experiments
More informationIntroduction to National Instruments LabVIEW and Data Acquisition (DAQ)
Introduction to National Instruments LabVIEW and Data Acquisition (DAQ) Danial J. Neebel, Joseph R. Blandino, and David J. Lawrence, College of Integrated Science and Technology James Madison University
More informationPHY 351/651 LABORATORY 1 Introduction to LabVIEW
PHY 351/651 LABORATORY 1 Introduction to LabVIEW Introduction Generally speaking, modern data acquisition systems include four basic stages 1 : o o A sensor (or transducer) circuit that transforms a physical
More informationNAME EET 2259 Lab 3 The Boolean Data Type
NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,
More informationGetting Started with LabVIEW Virtual Instruments
Getting Started with LabVIEW Virtual Instruments Approximate Time You can complete this exercise in approximately 30 minutes. Background LabVIEW programs are called virtual instruments, or VIs, because
More informationEngineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit
Engineering Project-I Module 1: Familiarization of LabVIEW and the Vernier Toolkit PREPARED BY Academic Services Unit January 2012 Applied Technology High Schools, 2012 Module 1: Familiarization of LabVIEW
More informationIntroduction to LabVIEW
Introduction to LabVIEW 1 Introduction 1.1 Aims The following material is a short introduction to LabVIEW and it aims for you to: familiarise with the LabVIEW programming environment including front panel
More informationOpenStax-CNX module: m Thermometer VI * National Instruments
OpenStax-CNX module: m12209 1 Thermometer VI * National Instruments This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 1.0 Exercise 1 Complete the following
More informationSmall rectangles (and sometimes squares like this
Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,
More informationComputer Interfacing Using LabView
Computer Interfacing Using LabView Physics 258 Last revised September 25, 2005 by Ed Eyler Purpose: Note: To write a simple LabView program that digitizes data using an ADC on a data acquisition card,
More informationHands-on Lab 2: LabVIEW NI-DAQ Basics 2
Hands-on Lab 2: LabVIEW NI-DAQ Basics 2 Recall that the final objective is position regulation using computer-controlled state feedback. Computer control requires both software, like LabVIEW and hardware,
More informationPHY Microprocessor Interfacing Techniques LabVIEW Tutorial - Part I Beginning at the Beginning
PHY 406 - Microprocessor Interfacing Techniques LabVIEW Tutorial - Part I Beginning at the Beginning Introduction One of the main objectives of this course is to teach you how to gather data using computers
More informationData Acquisition Laboratory
Session 2559 Data Acquisition Laboratory Asad Yousuf Savannah State University Abstract The essential element to automate your system for data collection and analysis is termed as the data acquisition.
More informationIntroduction to LabVIEW
University College of Southeast Norway Introduction to LabVIEW Hans-Petter Halvorsen, 2016-09-07 http://home.hit.no/~hansha Preface This document explains the basic concepts of LabVIEW. You find additional
More informationLabVIEW programming I
FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming I LabVIEW basics Spring 2011 Lecture #2 Bekkeng 13.1.2011 Virtual Instruments LabVIEW programs are called virtual instruments,
More informationVirtual Instrumentation With LabVIEW
Virtual Instrumentation With LabVIEW Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build a simple data acquisition application Create a subroutine
More informationThe LabVIEW Programming Environment and Basic Operations
Page 1 of 14 UNM The LabVIEW Programming Environment and Basic Operations Introduction In this hands-on, you will learn about the LabVIEW programming environment. You will also write a simple Virtual Instrument
More informationLesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI
Lesson 1 Introduction to LabVIEW TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI 1 Virtual Instruments (VIs) Front Panel Controls = Inputs
More informationVirtual Instruments with LabVIEW
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Virtual Instruments with LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks
More informationVirtual Instrumentation With LabVIEW
Virtual Instrumentation With LabVIEW Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in LabVIEW LabVIEW Programs Are Called Virtual Instruments
More informationME 224: EXPERIMENTAL ENGINEERING. Lecture 2
ME 224: EXPERIMENTAL ENGINEERING Class: M 1:00-1:50 TECH: L170 Labs: T and Th 2:00-4:50 PM Ford Building : B100 Lecture 2 1 Introduction to Labview Labview (Laboratory Virtual Instruments Engineering Workbench)
More informationLogger Pro 3. Quick Reference
Logger Pro 3 Quick Reference Getting Started Logger Pro Requirements To use Logger Pro, you must have the following equipment: Windows 98, 2000, ME, NT, or XP on a Pentium processor or equivalent, 133
More informationLabVIEW. Table of Contents. Lesson 1. Pre-reqs/Technical Skills Basic computer use
LabVIEW Lesson 1 Pre-reqs/Technical Skills Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material Complete quiz on Blackboard Submit completed
More informationLearn the three palettes. Learn how data is passed in LabVIEW. Create a subvi using two different methods.
UNM The LabVIEW Programming Environment and Basic Operations Introduction In this hands-on, you will learn about the LabVIEW programming environment. You will also write a simple Virtual Instrument (VI)
More informationINTRODUCTION TO LABVIEW
INTRODUCTION TO LABVIEW 2nd Year Microprocessors Laboratory 2012-2013 INTRODUCTION For the first afternoon in the lab you will learn to program using LabVIEW. This handout is designed to give you an introduction
More informationPart 1. Summary of For Loops and While Loops
NAME EET 2259 Lab 5 Loops OBJECTIVES -Understand when to use a For Loop and when to use a While Loop. -Write LabVIEW programs using each kind of loop. -Write LabVIEW programs with one loop inside another.
More informationExercise 0 - Open and Run a Virtual Instrument (Slide 12)
Exercise 0 - Open and Run a Virtual Instrument (Slide 12) Examine the Signal Generation and Processing VI and run it. Change the frequencies and types of the input signals and notice how the display on
More informationLab 4 - Data Acquisition
Lab 4 - Data Acquisition 1/13 Lab 4 - Data Acquisition Report A short report is due at 8:00 AM on the Thursday of the next week of classes after you complete this lab. This short report does NOT need to
More informationLabview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis
Labview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis Table of Contents Preface. FUNDAMENTALS. 1. INTRODUCTION-WHAT IN THE WORLD IS LabVIEW? What Exactly Is LabVIEW,
More informationPart 1. Creating an Array of Controls or Indicators
NAME EET 2259 Lab 9 Arrays OBJECTIVES -Write LabVIEW programs using arrays. Part 1. Creating an Array of Controls or Indicators Here are the steps you follow to create an array of indicators or controls
More informationIntroduction to LabVIEW Exercise-1
Introduction to LabVIEW Exercise-1 Objective In this Laboratory, you will write simple VIs to incorporate basic programming structures in LabVIEW. This section will teach you fundamentals of LabVIEW front
More informationAnalytical Instrumentation
Analytical Instrumentation Log in: Femlab feml@b09 A graduate course ( Chem9532a/b) Dr. Zhifeng Ding Department of Chemistry The University of Western Ontario (519) 661-2111 Ext. 86161 e-mail: zfding@uwo.ca
More informationUniversity of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView
University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Introduction to LabView PURPOSE The purpose of this lab is to get you familiarized with LabView.
More informationDept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment
Dept. of Electrical, Computer and Biomedical Engineering Data Acquisition Systems and the NI LabVIEW environment Data Acquisition (DAQ) Use of some data acquisition technique can be convenient, when not
More informationLabVIEW basics. BME MIT János Hainzmann, Károly Molnár, Balázs Scherer, Csaba Tóth
BME MIT 2007. János Hainzmann, Károly Molnár, Balázs Scherer, Csaba Tóth Table of contents REFERENCES...1 1. INTRODUCTION...2 1.1 VIRTUAL INSTRUMENTATION...2 1.2 VISUAL PROGRAMMING...2 2. GETTING STARTED...4
More informationCHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows
CHAPTER 1 Getting to Know AutoCAD Opening a new drawing Getting familiar with the AutoCAD and AutoCAD LT Graphics windows Modifying the display Displaying and arranging toolbars COPYRIGHTED MATERIAL 2
More informationENGR 1000, Introduction to Engineering Design
ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.1: Programming Line Outputs for the NI USB-6008 in LabVIEW Hardware: 12 VDC power supply Several lengths
More informationIntroduction to LabVIEW
Introduction to LabVIEW How to Succeed in EE 20 Lab Work as a group of 2 Read the lab guide thoroughly Use help function and help pages in LabVIEW Do the Pre-Lab before you come to the lab Don t do the
More informationHow to Get Started. Figure 3
Tutorial PSpice How to Get Started To start a simulation, begin by going to the Start button on the Windows toolbar, then select Engineering Tools, then OrCAD Demo. From now on the document menu selection
More informationLabVIEW Demonstration Guide
LabVIEW Demonstration Guide March 1996 Edition Part Number 321215A-01 Copyright 1996 National Instruments Corporation. All Rights Reserved. Internet Support GPIB: gpib.support@natinst.com DAQ: daq.support@natinst.com
More informationQuickStart Guide. LabVIEW QuickStart Guide. January 1998 Edition Part Number B-01
QuickStart Guide LabVIEW QuickStart Guide January 1998 Edition Part Number 321527B-01 Conventions Used in This Manual The following conventions are used in this manual: bold Bold text denotes a menu name,
More informationUsing LabVIEW in Instrumentation and Control Course
Session 1559 Using LabVIEW in Instrumentation and Control Course Chong Chen Department of Engineering Technology and Industrial Studies Middle Tennessee State University Murfreesboro, TN 37132 Abstract
More informationEngineering Innovation Center LabVIEW Basics
Engineering Innovation Center LabVIEW Basics LabVIEW LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical programming language that uses icons instead of lines of text to create
More informationStep-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform
Step-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform In this exercise, you will use the DAQ Assistant to build a LabVIEW VI that generates and outputs an analog waveform.
More informationAnalytical Instrumentation
Analytical Instrumentation A graduate course ( Chem9532a/b) Dr. Zhifeng Ding Department of Chemistry The University of Western Ontario (519) 661-2111 Ext. 86161 e-mail: zfding@uwo.ca Log in: Femlab feml@b09
More informationthe NXT-G programming environment
2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots
More information1. Learn about LabView software and its different components
SfwrEng 4aa3/4ga3 Lab 1 Lab Sessions: Week starting Sept. 21, 2009. Pre-lab reports Due: Week Starting Sept. 21, 2009 at the start of lab sessions. Lab-Reports Due: Week Starting Oct. 5, 2009 at the start
More informationUnderstanding the Interface
2. Understanding the Interface Adobe Photoshop CS2 for the Web H O T 2 Understanding the Interface The Welcome Screen Interface Overview Customizing Palette Locations Saving Custom Palette Locations Customizing
More information2 Lab 2: LabVIEW and Control System Building Blocks
2 Lab 2: LabVIEW and Control System Building Blocks 2.1 Introduction Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to
More informationLab 1: Getting familiar with LabVIEW: Part I
Lab 1: Getting familiar with LabVIEW: Part I The objective of this first lab is to provide an initial hands-on experience in building a VI. For detailed explanations of the LabVIEW features mentioned here,
More informationComputer Basics: Step-by-Step Guide (Session 2)
Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5
More informationSQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server
Chapter 3 SQL Server Management Studio In This Chapter c Introduction to SQL Server Management Studio c Using SQL Server Management Studio with the Database Engine c Authoring Activities Using SQL Server
More informationPart 1: Understanding Windows XP Basics
542362 Ch01.qxd 9/18/03 9:54 PM Page 1 Part 1: Understanding Windows XP Basics 1: Starting Up and Logging In 2: Logging Off and Shutting Down 3: Activating Windows 4: Enabling Fast Switching between Users
More informationLastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.
Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means
More informationIntroduction to Computer Engineering (E114)
Introduction to Computer Engineering (E114) Lab 1: Full Adder Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for
More informationDSP First Lab 02: Introduction to Complex Exponentials
DSP First Lab 02: Introduction to Complex Exponentials Lab Report: It is only necessary to turn in a report on Section 5 with graphs and explanations. You are ased to label the axes of your plots and include
More informationConcept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW.
Goal Description Implementation Use the debugging tools built into LabVIEW. Complete the following steps to load a broken VI and correct the errors. Use single-stepping and execution highlighting to step
More informationHands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS
Hands-On Introduction to LabVIEW for Scientists and Engineers Second Edition John Essick Reed College New York Oxford OXFORD UNIVERSITY PRESS Contents. Preface xiii 1. THE WHILE LOOP AND WAVEFORM CHART
More informationLogger Pro Resource Sheet
Logger Pro Resource Sheet Entering and Editing Data Data Collection How to Begin How to Store Multiple Runs Data Analysis How to Scale a Graph How to Determine the X- and Y- Data Points on a Graph How
More informationLabVIEW programming I
FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming I LabVIEW basics Spring 2017 Lecture #2 Bekkeng 16.01.2017 What is LabVIEW LabVIEW is a graphical programming environment G programming
More informationToday. 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework. Lab: Continue project. Lecture. Review your exams and review practice exam again.
Today 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework Review your exams and review practice exam again. Lab: Continue project Do pre-lab before lab. See last weeks handout. Requires use of
More informationLabVIEW Express VI Development Toolkit User Guide
LabVIEW Express VI Development Toolkit User Guide Version 1.0 Contents The LabVIEW Express VI Development Toolkit allows you to create and edit Express VIs, which you can distribute to users for building
More informationPage 1 of 6. ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems. Introduction
ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems Introduction The purpose of this lab is to introduce the basics of creating programs in LabView for data collection and analysis. LabView
More informationLabview Lab 2. Vern Lindberg. April 16, 2012
Labview Lab 2 Vern Lindberg April 16, 2012 1 Temperature Measurement Thermistors are sensitive semiconductor devices that can measure temperature over a restricted temperature range. The thermistors we
More informationHomework Assignment 9 LabVIEW tutorial
Homework Assignment 9 LabVIEW tutorial Due date: Wednesday, December 8 (midnight) For this homework assignment, you will complete a tutorial on the LabVIEW data acquistion software. This can be done on
More informationInterface. 2. Interface Adobe InDesign CS2 H O T
2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or
More informationLABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT
LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT WHAT IS LABVIEW? LabVIEW is a graphical programing language designed for scientists and engineers for experimental control and data acquisition. Most
More informationIntroduction to LabVIEW. Modified Powerpoint file taken from ma/courses/es110/
Introduction to LabVIEW Modified Powerpoint file taken from http://www.sonoma.edu/users/f/farahman/sono ma/courses/es110/ 1 Graphical programming language & Data flow LabVIEW relies on graphical symbols
More informationExercise 5: Basic LabVIEW Programming
Exercise 5: Basic LabVIEW Programming In this exercise we will learn the basic principles in LabVIEW. LabVIEW will be used in later exercises and in the project part, as well in other courses later, so
More informationBE/EE189 Design and Construction of Biodevices Lecture 1. BE/EE189 Design and Construction of Biodevices - Caltech
BE/EE189 Design and Construction of Biodevices Lecture 1 LabVIEW Programming Basics Virtual instrument and LabVIEW The LabVIEW development environment Basic programming with LabVIEW Navigation window Property
More informationThe Basics of PowerPoint
MaryBeth Rajczewski The Basics of PowerPoint Microsoft PowerPoint is the premiere presentation software. It enables you to create professional presentations in a short amount of time. Presentations using
More informationBoise State University. Getting To Know FrontPage 2000: A Tutorial
Boise State University Getting To Know FrontPage 2000: A Tutorial Writers: Kevin Gibb, Megan Laub, and Gayle Sieckert December 19, 2001 Table of Contents Table of Contents...2 Getting To Know FrontPage
More informationHardware: Acquiring Data and Communicating with Instruments
Hardware: Acquiring Data and Communicating with Instruments 4 Acquiring a Signal This chapter introduces you to the Express VIs you use to acquire data and communicate with instruments on Windows. These
More informationLab Exercise 2: Data Acquisition with NI LabVIEW
Objective When you have completed this exercise, you will be able: To use the DAQ Assistant to acquire analog data measurements with NI LabVIEW To use Write to Measurement express VI to log real time data
More informationECE 202 LAB 1 INTRODUCTION TO LABVIEW
Version 1.2 Page 1 of 16 BEFORE YOU BEGIN EXPECTED KNOWLEDGE ECE 202 LAB 1 INTRODUCTION TO LABVIEW You should be familiar with the basics of programming, as introduced by courses such as CS 161. PREREQUISITE
More informationUsing Microsoft Excel
About Excel Using Microsoft Excel What is a Spreadsheet? Microsoft Excel is a program that s used for creating spreadsheets. So what is a spreadsheet? Before personal computers were common, spreadsheet
More informationBasics I Course Manual. LabVIEW TM. LabVIEW Basics I Course Manual. Course Software Version 4.0 March 1998 Edition Part Number E-01
LabVIEW TM Basics I Course Manual Course Software Version 4.0 March 1998 Edition Part Number 320628E-01 LabVIEW Basics I Course Manual Copyright Copyright 1993, 1998 by National Instruments Corporation,
More informationAppleWorks 5 Installation Manual. Includes information about new features FOR MAC OS
apple AppleWorks 5 Installation Manual Includes information about new features FOR MAC OS K Apple Computer, Inc. 1998 Apple Computer, Inc. All rights reserved. Under the copyright laws, this manual may
More informationBasic Data Acquisition with LabVIEW
Basic Data Acquisition with LabVIEW INTRODUCTION This tutorial introduces the creation of LabView Virtual Instruments (VI s), in several individual lessons. These lessons create a simple sine wave signal,
More informationECSE-323 Digital System Design. Lab #1 Using the Altera Quartus II Software Fall 2008
1 ECSE-323 Digital System Design Lab #1 Using the Altera Quartus II Software Fall 2008 2 Introduction. In this lab you will learn the basics of the Altera Quartus II FPGA design software through following
More informationOutlook is easier to use than you might think; it also does a lot more than. Fundamental Features: How Did You Ever Do without Outlook?
04 537598 Ch01.qxd 9/2/03 9:46 AM Page 11 Chapter 1 Fundamental Features: How Did You Ever Do without Outlook? In This Chapter Reading e-mail Answering e-mail Creating new e-mail Entering an appointment
More informationEE 100 DMM and DC Power Supply LabVIEW Experiment Guide
1. Objectives EE 100 DMM and DC Power Supply LabVIEW Experiment Guide The purpose of this experiment is to show you how to interface your DMM and DC Power Supply to LabVIEW. I. World of LabVIEW LabVIEW
More informationIntermediate Excel 2003
Intermediate Excel 2003 Introduction The aim of this document is to introduce some techniques for manipulating data within Excel, including sorting, filtering and how to customise the charts you create.
More informationPowerPoint Basics: Create a Photo Slide Show
PowerPoint Basics: Create a Photo Slide Show P 570 / 1 Here s an Enjoyable Way to Learn How to Use Microsoft PowerPoint Microsoft PowerPoint is a program included with all versions of Microsoft Office.
More informationLabview. Masood Ejaz
Labview A Tutorial By Masood Ejaz Note: This tutorial is a work in progress and written specially for CET 3464 Software Applications in Engineering Technology, a course offered as part of BSECET program
More informationCHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.
CHAPTER 3 By Radu Muresan University of Guelph Page 1 ENGG4420 CHAPTER 3 LECTURE 1 October 31 10 5:12 PM CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R.
More informationLesson 4 Implementing a VI
Lesson 4 Implementing a VI A. Front Panel Design B. LabVIEW Data Types C. Documenting Code D. While Loops E. For Loops F. Timing a VI G. Iterative Data Transfer H. Plotting Data I. Case Structures A. Front
More informationLab 2: Introduction to LabVIEW 8.5
Lab 2: Introduction to LabVIEW 8.5 INTRODUCTION: This lab is designed as an introduction to using LabVIEW. In this lab you will run through some tutorials to get a basic understanding of some of the LabVIEW
More informationCertified LabVIEW Associate Developer Exam. Test Booklet
Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed
More informationUsing Flash Animation Basics
Using Flash Contents Using Flash... 1 Animation Basics... 1 Exercise 1. Creating a Symbol... 2 Exercise 2. Working with Layers... 4 Exercise 3. Using the Timeline... 6 Exercise 4. Previewing an animation...
More informationCSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse
CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse Goals - to become acquainted with the Linux/Gnome environment Overview For this lab, you will login to a workstation
More informationSystemVue 2011 Fundamentals (version ) LAB EXERCISE 1. SystemVue Basics
SystemVue 2011 Fundamentals (version 1-2012) LAB EXERCISE 1 SystemVue Basics This lab exercise introduces the basic use model of SystemVue, including using the built-in templates, running analyses and
More informationOutlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.
Outlook Web Access To access your mail, open Internet Explorer and type in the address http://www.scs.sk.ca/exchange as seen below. (Other browsers will work but there is some loss of functionality) In
More informationGetting Started with Windows XP
UNIT A Getting Started with Microsoft, or simply Windows, is an operating system. An operating system is a kind of computer program that controls how a computer carries out basic tasks such as displaying
More informationAt the shell prompt, enter idlde
IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar
More informationMeasurement & Automation Explorer (MAX) View and control your devices and software
1. Labview basics virtual instruments, data flow, palettes 2. Structures for, while, case,... editing techniques 3. Controls&Indicators arrays, clusters, charts, graphs 4. Additional lecture State machines,
More informationComputer Essentials Session 1 Lesson Plan
Note: Completing the Mouse Tutorial and Mousercise exercise which are available on the Class Resources webpage constitutes the first part of this lesson. ABOUT PROGRAMS AND OPERATING SYSTEMS Any time a
More information