PHY 351/651 LABORATORY 1 Introduction to LabVIEW
|
|
- Jerome Chapman
- 6 years ago
- Views:
Transcription
1 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 quantity (e.g. temperature, charge, pressure, mechanical strain, light intensity, etc.) into an electronic signal (either a voltage or a current). Front-end electronic circuitry that amplifies and shapes the analog signal from the sensor to make it detectable for digitization in the next stage of circuitry, the back-end circuitry. o Back-end electronic circuitry also referred to as data acquisition hardware or DAQ card - that further processes the analog signal and then converts it into a digital signal that can be processed and stored by a computer. o A computer that is programmed to retrieve, store and in many cases analyze the digitized data so that it can be easily retrieved, interpreted, and presented by the scientist performing the measurement. Over the course of the semester, you will learn about all four of these elements of data acquisition. However, you will start the semester by becoming familiar with the hardware and software you will use in this laboratory for back-end circuitry and for programming of the laboratory computers for processing and storage of data (i.e. steps 3 and 4 above). Specifically today, you will begin learning a widely-used programming environment known as LabVIEW (Laboratory Virtual Instrument Engineering Workbench), which will ultimately enable you to utilize a computer in a powerful manner for monitoring, controlling and conducting scientific experiments. Today s learning objectives are as follows: Laboratory 1 Learning Objectives: o o Learn to use LabVIEW to interface, in a very basic manner, with the back-end hardware connected to your PC 2. For today you will simply learn how one would inspect and configure installed hardware through something known as the Measurement Automation Explorer (MAX). Learn to use LabVIEW to construct and operate basic virtual instruments (VIs). In LabVIEW, VIs are programs that serve many functions: they might be used to facilitate communication with other instruments; they might be used to imitate physical instruments by generating a signal from the computer 1 See the following link for a more detailed general overview of modern computer-based data acquisition systems: 2 You should keep in mind the example I showed at the beginning of class of DAQ hardware that is connected to the computer through installation in PCI expansion slots in the motherboard. In some situations, this arrangement may be preferable due to higher throughput of data. Page 1
2 or conditioning signals received by the computer; or they might serve as elements ( nodes or sub-vis ) for processing information in other VIs. In today s lab you will briefly explore a professionally made VI that simulates a digital oscilloscope. Afterwards you will develop some rudimentary VIs for performing various calculations, generating random numbers and generating a sine wave. Introduction to the LabVIEW Environment LabVIEW provides a programming environment with standard interfaces between a computer and a variety of back-end electronics and front-end instruments. As well, it can be used for simulation and general programming. As you will learn over the semester, one of the major advantages (and also a potential pitfall) of LabVIEW is that is based upon a very intuitive graphical programming language (a form of data flow programming known as G ) that does not require extensive programming experience to execute many operations that are vital for the collection and processing of data. As a result, even a novice user can utilize LabVIEW to design measurement and automation systems that employ low-cost, flexible PC technology. LabVIEW's graphical programming language provides easy means for scientists and engineers of diverse background to quickly design and implement complex test and measurement and automation applications. The first cycle of laboratory sessions will familiarize you with this programming tool and the way it is used in most laboratories. Activity 1 A First Peak at Measurement Automation Explorer (MAX) Goal: In this activity, you will utilize LabVIEW via MAX to familiarize yourself with the DAQ card that will be connected to your PC. Note: The DAQ that we will use this semester is the NI USB-6003, a commercial board that was developed by National Instruments (Figure 1, next page). This board includes screw-terminal interconnects for multi-channel analog I/O (that s short for Input/Output), digital I/O, counters, timers, and ports for triggering. In particular, you can digitize up to 4 differential analog inputs or 8 single-ended inputs (all with 16 bit resolution); and you can generate algorithms that use 8 lines of digital I/O. Also, the 6003 provides 2 channels of analog output (14 bit resolution). If the terminology I m using here is unfamiliar, don t worry; by the end of the semester it should be second nature. In fact, a good way to begin learning is to peruse the Page 2
3 Figure 1: The USB-6003 Multifunction DAQ. A USB port allows connection to a computer. Screw terminals provide connections to external circuitry. specification sheets that I have handed out for these devices, and which are also posted on blackboard. I encourage you to have a quick look at these sheets now and then a more thorough reading on your own before the next lab (actually some of the questions at the end of the lab require that you read the specs). Steps: 1. After you re done browsing the spec sheets for the 6003, it s time to see how one would access it using LabVIEW. Power up the computer in front of you, and then click the LabVIEW icon from the desktop. A LabVIEW pop-up screen should appear. 2. There are several options at this point. Create Project will allow you to create a new virtual instrument (we will explore this later on in the class). Open Existing allows you to edit or run a VI that has already been created. You should also notice the Tools menu in tool bar at the top of the screen. This menu provides access to many different options for augmenting and controlling the LabVIEW environment. What you should do is click on Measurement & Automation Explorer (aka MAX). **Throughout the semester (or even beyond this semester) this will enable you to explore and configure any data acquisition hardware that has been installed in or connected with the PC. ** 3. On the left-hand side of the screen, you will see a list of folders. Click on the one labeled Devices and Interfaces. This is where you see a list of all hardware components recognized by LabVIEW and installed in your system; you should see the USB-6003 here Page 3
4 - make sure it shows up. If you click on USB-6003 in the list, you get a list of options, including as self-test feature. 4. To access the channel of the USB-6003 you will have to configure virtual channels or tasks. A virtual channel will return data that has been properly scaled and has the proper units (e.g. Volts or C). However, with virtual channels, it is up to you to explicitly program the other details of timing and triggering in setting up the application. A task encapsulates all of the information in the virtual channel plus the timing and triggering information. You can set up a task in MAX. Right-click Data Neighborhood and select Create New. Follow the instructions to set up e.g. a voltage read-back channel. Use the USB-6003 spec sheet (linked on class home page) to figure out which ports to connect to the function generator. Set the function generator up to produce a 1 Hz sine wave. You can verify that your task is configured properly by running it you should see the 1 Hz sine wave signal. 5. Now let s get an idea of how a virtual channel or tasks can serve as a well-controlled conduit through which data can be passed into your computer. Minimize MAX and find the LabVIEW pop-up window. Click on Open Existing. Find the folder C:\Program Files (x86)\national Instruments\LabVIEW 2014\vi.lib and open up the VI 2 Channel Oscilloscope.vi 6. Two new windows should appear looking similar to the windows in Figure 2 and Figure 3 on the following pages. You have now opened the oscilloscope VI. 7. The two windows that have appeared are the VI s front panel (Figure 2) and block diagram (Figure 3). The front panel and block diagram are two of the three main components in any VI (the third component is the connector panel, which is indicated in figure 2, and will be explored later on). As you can see, the front panel is a graphical user interface (GUI) that quite closely resembles the front panel of any laboratory instrumentation (like an oscilloscope) that you may have used before. This screen is the one that would be used to set up and execute a desired measurement. There are controls, which allow you to supply input parameters to the VI (such as voltage scale and time-base). There are indicators which specify the parameter values that have been selected. And there is a graph that displays data that the VI has recorded versus time where this data comes from can be controlled by setting the controls Channel A and Channel B 3 to the desired virtual channel that you would have just created in MAX if we had our DAQ boards. **In short, what you are looking at is a virtual oscilloscope, similar in function to the physical oscilloscope sitting next to the PC on your table. For the physical 3 Note: The control for Channel B has been hidden for some reason in this program. Ask the instructor to show you how to make it visible. Page 4
5 Tools Palette VI Icon Front Panel Controls Controls Palette Figure 2: Front panel window for the LabVIEW VI 2 channel oscilloscope Page 5
6 Data Flow Programming Code Functions Palette Tools Palette Figure 3: Block diagram window for the LabVIEW VI 2 channel oscilloscope. oscilloscope, signals (data) are input through the front panel connectors. For the virtual oscilloscope, signals (data) are input through the hardware channels on your DAQ, processed through the virtual channels you ve set up in MAX, and then displayed on your computer screen. In a few weeks you will know how to create VIs with the same functionality. For now, try to use this virtual oscilloscope to display the 1Hz sine wave you set up. ** 8. You will also notice that there are a couple of pop-up windows on the front panel. The smaller one is known as the tool palette; when building your front panel GUI, this palette provides tools that allow you to click, drag, modify, etc the various controls and other elements you place on the front panel. The larger pop-up window is known as the Page 6
7 control palette; it harbors various style and function controls, indicators, graphs and other elements that you might want to incorporate in your virtual instrument. 9. If you now locate the block-diagram panel (you can do so by pressing ctrl-e), you will see the graphical programming or source code for the VI. The elements you see on the screen are nodes, representing various operations and inputs/outputs. Data flows in the program from left to right between these nodes via various types of wiring (here each type of wiring represents a conduit for a specific format of data). Various function nodes for the source code can be added via the functions palette. If you click the light bulb icon in the tool bar at the top of the block diagram, and then click run (the white arrow in the tool bar, equivalently ctrl-r), you will be able to actually watch the data flow while the VI is being executed; and the parallel nature of LabVIEW programming will be evident. For your lab report: o Describe the elements of a data acquisition system. If possible, to help illustrate the elements, provide an example from any experiences you ve had in research or through second-hand knowledge of research (i.e. from reading on the web, talking to friends, etc). o Also provide a sketch of the elements of the data acquisition system you just implemented in this first activity using the oscilloscope. Activity II Build your first VI Goal: Generate a VI that calculates the sum of the squares of two numbers and displays the result. Steps: 1. Create a folder on the desktop with your name. 2. Open LabVIEW and select Create Project. 3. On the front panel, using the control palette, add 2 digital controls (ultimately to enter inputs for your calculations) and one digital indicator (to display the result of your calculation). Note that there are multiple style options for the controls (Modern, Silver, Classic, etc). As far as I m aware, the functionality does not change between these different styles. 4. Use save as in the file menu to save this vi in the folder you just created. 5. Open the block diagram window and, using the functions palette, under the programming menu, numeric palette, add the necessary numeric functions to calculate the sum of the squares of the two input numbers. In order to perform the full calculation you will need to wire the numeric functions (nodes) together and to the input and outputs. You can do this using the tools palette: click on the spool of wire icon; this will change the cursor to a spool; you can then click on and connect the two elements that you desire. If you make a mistake in the wiring, you can delete the wires by using the cursor to select a wire and then clicking delete. You can also remove broken wires using the ctrl-b function. 6. Once you have finished building your program, go back to the front panel, input into the two controls the two numbers of which you want to calculate the sum of the squares, and then click run. Check to make sure that the answer given in the digital indicator makes Page 7
8 sense. 7. After you are satisfied with the operation of your program, spend some time sprucing up the appearance of the front panel using decorations which can be found on the controls palette. When you re done with decorating, run the VI again to make sure you haven t screwed anything up. 8. Then under the file menu select VI properties. In the category documentation, enter a description of this VI. Under VI properties you should also explore memory usage to see how much memory the program utilizes, and check the location where the file is stored. 9. Save the completed VI in your folder. For your lab report: Include a picture of the front panel and a picture of the block diagram for this VI. (You can save a picture by using print screen). Activity III Build your second VI Goal: Build a VI that compares an integer number to the number 5 and then either produces (1) a green LED light if the number is greater than 5 (plus the word over ) or (2) a red LED light if (plus the word over ) if the number is less than or equal to 5. Note: With this activity I am not giving you step-by-step instructions for a reason: I want you to think about what you have learned from the previous program and now apply it to this new situation. Of course, if you get unduly stuck, ask for help. Also, be sure to save your work. For your lab report: Include a picture of the front panel and a picture of the block diagram for this VI. Activity IV Creating your first sub-vi Goal: Transform the VI from Activity III into a sub-vi that can be used in more complex programs. Note: If you have any experience with programming, you are well aware that good programs are modular: you design your building blocks, each to perform a specific task, and then you link the blocks together as needed in the more complex program. If you go back to the oscilloscope VI that you explored in Activity I, you will see that there are many icons on the block diagram that represent sub-vis but which can also be operated as stand-alone VIs. In order to transform a VI into a sub-vi that can be used in other programs you have to learn to manipulate the VI s connector panel icon (top right corner of either window in the VI; see figure 2). You can edit it starting from the VI property window (under file menu) or by double-clicking on the icon itself. Steps: 1. To start, you will change the design of the icon for the VI from Activity III. Double-click on the icon in the upper-right corner. Then use the editing tools to change the design on the icon to an image that suits you. (More practically, the image should reflect the function of the VI.) Page 8
9 2. Next, you need to configure the VI for connections to the outside world. To do this, right-click on the terminal pane next to the icon, and select patterns. 3. Choose the terminal layout that you feel best suits this example (i.e. how many input? How many outputs?). 4. Click on a terminal; the wiring tool will appear. Connect it to the desired control or indicator on the front panel. A moving dotted line will appear when you successfully make the connection. 5. Click on an open area of the front panel. 6. Then repeats as necessary for the other terminals. Save this VI with another name and then construct a new VI that performs the same function by utilizing this VI as a sub-vi. Document the new VI, and save it in your folder. As always, ask for help if you get stuck. For your lab report: Include a picture of the front panel and of the block diagram of the two VIs from this activity. Activity V Build a VI that generates a sinusoid waveform Goal: Follow the example in chapter 1 of the hand out from John Essick s book Hands-On Introduction to LabVIEW to build a VI that generates a sinusoid waveform. Note: You should bear in mind that Essick s book was written for a much later version of LabVIEW than we have here in the class. Therefore, do not be surprised if some of the features he refers to are not present in our verion or are located in different menus (folders, subpalettes,etc) in our version. To prevent undue confusion, I have included at the end of this handout a list of the instances in the sine wave example where Essick s instructions differ from our version; and I have provided the appropriate instructions. Final Questions to be answered in your lab report Provide answers to the following questions in your lab report. Do this at home. (You may consult any source you find helpful to answer these questions.) 1. What is the difference between differential, referenced single-ended, and non-referenced single-ended wiring configurations in standard NI DAQ boards? 2. In the context of LabVIEW, what is a virtual channel? 3. In the context of LabVIEW, what is a virtual instrument? 4. What is the difference between double-precision floating point data format and singleprecision floating point format? What is the difference between unsigned four-byte integer format and signed four-byte integer format? What is Boolean data format? 5. What is a waveform graph in LabVIEW? 6. What is a while loop? Page 9
Data 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 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 informationPHYS 5061 Lab 1: Introduction to LabVIEW
PHYS 5061 Lab 1: Introduction to LabVIEW In this lab, you will work through chapter 1 and 2 of Essick s book to become familiar with using LabVIEW to build simple programs, called VI s in LabVIEW-speak,
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 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 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 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 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 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 informationIntroduction to Labview and Temperature Measurement
Introduction to Labview and Temperature Measurement Objective This lab is intended to familiarize you with the LABVIEW software and the data acquisition board used in this class and with temperature measurements
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 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 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 informationc01.qxd p /18/01 11:03 AM Page 1 Fundamentals
c01.qxd p001-017 10/18/01 11:03 AM Page 1 Fundamentals c01.qxd p001-017 10/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
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 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 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 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 informationCh En 475: Introduction to Instrumentation and Signal Processing with Labview
Ch En 475: Introduction to Instrumentation and Signal Processing with Labview Measurement Instrumentation Rapid, on-line measurement of temperature, pressure, liquid level, flow rate and composition is
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 informationStrain and Force Measurement
NORTHEASTERN UNIVERSITY DEPARTMENT OF MECHANICAL, INDUSTRIAL AND MANUFACTURING ENGINEERING MIMU 0-MEASUREMENT AND ANALYSIS Strain and Force Measurement OBJECTIVES The primary objective of this experiment
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 informationVME Data Acquisition System, ADC Read
VME Data Acquisition System, ADC Read Abstract: UTA-HEP/LC 0023 Shashwat Udit University of Texas at Arlington August 25, 2008 This document presents the design concept and the functionality of the newly
More informationOVERVIEW 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 informationLabVIEW Basics I: Introduction Course
www.ni.com/training LabVIEW Basics I Page 1 of 4 LabVIEW Basics I: Introduction Course Overview The LabVIEW Basics I course prepares you to develop test and measurement, data acquisition, instrument control,
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 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 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 informationPCI-express data acquisition card DAQ0504M User Guide
PCI-express data acquisition card DAQ0504M User Guide Contents Safety information... 3 About this guide... 4 DAQ0504M specifications... 5 Chapter 1. Product introduction 1-1. Package contents...... 6.
More informationCh En 475: Introduction to Instrumentation and Signal Processing with Labview
Ch En 475: Introduction to Instrumentation and Signal Processing with Labview Measurement Instrumentation Rapid, on-line measurement of temperature, pressure, liquid level, flow rate and composition is
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 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 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 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 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 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 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 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 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 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 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 informationThe data acquisition components, and their relationship to each other, are shown below.
Data acquisition system Part (1) Digital inputs output and counter You can think of a data acquisition system as a collection of software and hardware that connects you to the physical world. A typical
More informationIntroduction to Electronics Workbench
Introduction to Electronics Workbench Electronics Workbench (EWB) is a design tool that provides you with all the components and instruments to create board-level designs on your PC. The user interface
More informationVernier SensorDAQ User s Manual
Vernier SensorDAQ User s Manual Vernier SensorDAQ User s Manual 2011 by Vernier Software & Technology. All rights reserved. You are entitled to reproduce parts of this manual for use in your educational
More informationENGR 1000, Introduction to Engineering Design
ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.2: Programming Line Inputs with Boolean Values Hardware: 12 VDC power supply Several lengths of wire
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 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 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 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 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 informationPHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 16 (v 1.2) Controlling hardware with DAQ device This exercise has two parts. First, simulate a traffic light circuit
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 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 informationTUTORIAL. Ve r s i on 1. 0
TUTORIAL Ve r s i on 1. 0 C O N T E N T S CHAPTER 1 1 Introduction 3 ABOUT THIS GUIDE... 4 THIS TUTORIAL...5 PROJECT OUTLINE...5 WHAT'S COVERED...5 SOURCE FILES...6 CHAPTER 2 2 The Tutorial 7 THE ENVIRONMENT...
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 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 informationThe LabScribe Tutorial
The LabScribe Tutorial LabScribe allows data to be accumulated, displayed and analyzed on a computer screen in a format similar to a laboratory strip chart recorder. Equipment Setup 1 Place the iworx unit
More informationPHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 1 (v 1.3) Setup The user interface of LabView is highly customizable. How this is done is a personal preference. For
More informationDept. of Electrical, Computer and Biomedical Engineering. Instrumentation for the data acquisition laboratory
Dept. of Electrical, Computer and Biomedical Engineering Instrumentation for the data acquisition laboratory Purpose of the lab activity Design and make simple systems for data acquisition from detectors,
More informationBE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech
BE/EE189 Design and Construction of Biodevices Lecture 5 LabVIEW Programming Data acquisition DAQ system Signals and signal conditioning Nyquist frequency NI ELVIS II NI-DAQmx and DAQ assistant LabVIEW
More informationHands-on Lab 1: LabVIEW NI-DAQ Basics 1
Hands-on Lab 1: LabVIEW NI-DAQ Basics 1 This lab reviews LabVIEW concepts needed towards the course s final objective of position regulation using computer-controlled state feedback. Specific LabVIEW concepts
More informationAdvanced NI-DAQmx Programming Techniques with LabVIEW
Advanced NI-DAQmx Programming Techniques with LabVIEW Agenda Understanding Your Hardware Data Acquisition Systems Data Acquisition Device Subsystems Advanced Programming with NI-DAQmx Understanding Your
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 informationLabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)
Spring 2015 LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ) Experiment Objectives Experience LabVIEW capabilities through learning exercises that design and implement
More informationDetermination of Drag Coefficient
DEPARTMENT OF MECHANICAL, INDUSTRIAL AND MANUFACTURING ENGINEERING MIMU 505 - MEASUREMENT AND ANALYSIS Determination of Drag Coefficient You will need to bring a zip disk or USB storage device to the lab
More informationECE 463 Lab 1: Introduction to LabVIEW
ECE 463 Lab 1: Introduction to LabVIEW 1. Introduction The purpose of the lab session of ECE463 is to apply/practice the digital communication theory on software-defined radios (USRPs). USRP is coupled
More informationPHYS 5061 Lab 6 Programmable Instruments
Introduction PHYS 5061 Lab 6 Programmable Instruments This lab introduces the computer control of bench lab instruments for data acquisition and uses a programmable digital multimeter as part of a measurement
More informationInstall the Software and Hardware
WHERE TO START WITH YOUR NI 4350/4351 This document explains how to begin using your National Instruments 4350/4351 high-precision temperature and voltage meters. The NI 4350/4351 (NI 435x) products include
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 informationeace PLC Velocio s Embedded Ace (eace) PLC
Velocio s Embedded Ace (eace) PLC eace PLC The eace PLC is a member of the Velocio s groundbreaking series of programmable logic controllers. These PLCs introduce revolutionary new concepts, capabilities,
More informationFRC LabVIEW Sub vi Example
FRC LabVIEW Sub vi Example Realizing you have a clever piece of code that would be useful in lots of places, or wanting to un clutter your program to make it more understandable, you decide to put some
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 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 informationCLAD Exam Preparation Guide using LabVIEW NXG
CLAD Exam Preparation Guide using LabVIEW NXG This prep guide prepares you to take the CLAD exam using LabVIEW NXG if you registered to take the exam on or after July 31, 2017. If you want to take the
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 informationTECH 3821 Lab #2 Relay Driver with Computer Control
TECH 3821 Lab #2 Relay Driver with Computer Control Name: Background: One of the most basic controls in industry is the ability to turn things on and off. As we saw in Lab #1, a relay is often used to
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 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 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 informationPSpice Tutorial. Physics 160 Spring 2006
PSpice Tutorial This is a tutorial designed to guide you through the simulation assignment included in the first homework set. You may either use the program as installed in the lab, or you may install
More informationA variety of ECONseries modules provide economical yet flexible solutions. Waveform Generation
ECONseries BUS: USB Type: Economy, Mini-Instruments ECONseries Economy USB Mini-Instruments Flexible Yet Economical A variety of low-cost ECONseries modules are available to provide flexible yet economical
More informationAbove Threshold Warning of Temperature Data
Above Threshold Warning of Temperature Data Exercise 6 Completed front panel and block diagram. The hidden case Celsius is also shown in this picture. In the following exercise, you will create a program
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 informationUsing the Zoo Workstations
Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions
More informationWELCOME TO LabVIEW 1
WELCOME TO LabVIEW 1 ELECTRICAL ENGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California, Berkeley SIMON HONG, HSIN-I LIU, JONATHAN KOTKER, AND BABAK AYAZIFAR
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 informationCSCI 1100L: Topics in Computing Lab Lab 1: Introduction to the Lab! Part I
CSCI 1100L: Topics in Computing Lab Lab 1: Introduction to the Lab! Part I Welcome to your CSCI-1100 Lab! In the fine tradition of the CSCI-1100 course, we ll start off the lab with the classic bad joke
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 informationLearn LabVIEW 2010 / 2011 Fast
Learn LabVIEW 2010 / 2011 Fast A Primer for Automatic Data Acquisition Douglas Stamps, Ph.D. SDC PUBLICATIONS Schroff Development Corporation Better Textbooks. Lower Prices. www.sdcpublications.com Visit
More informationUniversity of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science
University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Fall 2000 Original Lab By: J.Wawrzynek and N. Weaver Edited by B. Choi, R.
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 informationFaculty of Computing, Engineering and Technology. Real Time Systems 1 CE LabVIEW David D. Hodgkiss & Staffordshire University 1
Faculty of Computing, Engineering and Technology Real Time Systems 1 CE00345-3 TM LabVIEW 8 2006 David D. Hodgkiss & Staffordshire University 1 Table of Contents Chapter 1 - Introduction. Introduction.
More informationData Acquisition in LabVIEW
University College of Southeast Norway Data Acquisition in LabVIEW Hans-Petter Halvorsen, 2016.10.28 http://home.hit.no/~hansha Preface This tutorial explains the basic concepts of a Data Acquisition in
More informationBE/EE189 Design and Construction of Biodevices Lecture 2. BE/EE189 Design and Construction of Biodevices - Caltech
BE/EE189 Design and Construction of Biodevices Lecture 2 LabVIEW Programming More Basics, Structures, Data Types, VI Case structure Debugging techniques Useful shortcuts Data types in labview Concept of
More informationTeaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW
Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW OUTLINE: John Essick Reed College Reed Advanced Laboratory LabVIEW-Based Instruction Required Cost and Time for Instruction
More informationUser Interfaces in LabVIEW
User Interfaces in LabVIEW Company Overview Established in 1996, offices in New York, Boston, Chicago, Denver and Houston 75+ employees & growing Industries Served: Automotive Bio-medical Chemical and
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 informationNI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI mydaq HANS-PETTER HALVORSEN, 2012.01.20 Faculty of Technology, Postboks 203, Kjølnes ring 56,
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 informationHelp Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface
Help Volume 1994-2002 Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface Agilent E2485A Memory Expansion Interface The E2485A Memory Expansion Interface lets you use the
More information