PHYS 5061 Lab 1: Introduction to LabVIEW

Size: px
Start display at page:

Download "PHYS 5061 Lab 1: Introduction to LabVIEW"

Transcription

1 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, short for Virtual Instruments. Eventually we will use LabVIEW to control experiments, including control of instruments and collection, display, and analysis of data. Keep your work in a sensibly named folder on the Windows desktop so the instructor can find your work easily. (1) Work quickly through the chapter 1, which provides some basic orientation to navigating LabVIEW. You will find that some features in the LabVIEW version we are using don t match the description in the 3 rd edition of Essick s book. Don t worry about documenting anything at this point. (2) Move on to work through chapter 2 and complete the do-it-yourself exercise at the end of chapter 2. Make sure each person spends time working the controls. (3) Complete problems 5 and 8 from the end of chapter 2. For the metronome VI, add in some audio with the beep.vi built into LabVIEW to produce a 262 Hz tone for 100 ms on each tick of the metronome along with the blinking. You may work collaboratively in developing these final VI s if you wish, but in each pair, each person should take lead responsibility in producing at least one of the finished VI s. After you have finished a VI and think it s perfect, make a final test of it by closing it, loading it afresh into LabVIEW and see if it performs as desired. You may discover LabVIEW has decided on assigning some default conditions or values to parameters that make for unexpected or undesired behavior and you should figure out how to change this behavior. Add some comment labels to your block/wiring diagrams to make your code intelligible to others. Print out the VI s (Front panel, Block diagram) and tape them into your lab notebook. (Do this for the DIY and two end-of chapter 2 problems.) Save the VI s in a folder on the Windows desktop so the instructor can test them out.

2 PHYS 5061 Lab 2: More getting up to speed with LabVIEW (1) Work through chapter 3 of Essick, mastering the FOR loop and the waveform graph. (2) Complete and save the VI for the final do-it-yourself coin flipper VI at the end of chapter 3. (3) Modify it (the DIY VI) to do 50 coins in a toss and save as a new VI. (Nevermind creating 50 heads/tails indicators for this situation! That d be cruel. Simulating a flip of 50 coins can be done with a loop within a loop doing each one of the 50 coins at a time, rather than flipping all 50 in parallel. ) To total up the number of heads, there is a useful hint in problem 1 of chapter 3 on summing elements in an array, or you can look ahead to chapter 7, where shift registers are introduced as a means of retaining and updating a value from one loop iteration to the next. You only need to look at the first two pages of chapter 7 to get this. There s also an advanced histogram VI that you may want to explore as a somewhat nicer way to get the histogram. Comment this VI by adding text to the block diagram explaining to someone what/how this VI does its thing. And add a brief instruction to the front panel on how to use it for someone who picks it up to try six weeks from now. (4) (a) Complete problem #3 from chapter 3 and save the VI. Same requirement on commenting/documenting your VI. (b) Create a VI that extends the series sum in (a) to contain a user-specified number of terms and updates the plot after each term is added. You probably want to put a delay in somewhere so you can see successive plots at a human-friendly pace. And you may really, really want to look at that shift register mumbo jumbo mentioned above now. Print out the VI documentation for your various VI s and put them in your lab notebook with any additional comments you may have. Remember: After you have finished a VI and think it s perfect, make a final test of it by closing it, loading it afresh into LabVIEW and see if it performs as desired. You may discover LabVIEW has decided on assigning some default conditions that make for unexpected behavior.

3 PHYS 5061 Lab 3: Math tricks in LabVIEW, building re-usable VI s, saving data. Open up LabVIEW 8.6 for this lab! LabVIEW s graphical programming leads to programs driven by data flow, which is convenient in situations where one collects and processes data from an experiment. But it may seem that one often spends a fair amount of time building a diagram that does some relatively simple mathematical calculation. For example, think about what the block diagram to compute an array of values of A sin( t ) for t = 0, 0.01, 0.02,, , with values set by controls for the amplitude, frequency (which a user would prefer to give in Hz) and phase. That requires putting down VI icons for the trig function, a constant (2 ), a few multiplications, and an addition, along with generating the array of input time values, along with wiring it all up and placing things so the next person who looks at it can figure it out. It s not that hard (although the figuring-out by the next user often is), but sometimes good old-fashioned text-based programming languages can achieve the same goals (functionality and ease-of-understanding) with significantly less effort. LabVIEW offers that capability through two of its programming structures. The first is the function node. This icon expands to a region where one can put in simple text-based programming instructions. It allows you to wire up input values (from other icons, constants, or front panel controls) to tunnels on the math function node frame and then do text-based calculations, i.e. calculate functions of the input values, and take the results from output tunnels to further processing or display. The second and fancier option is the MathScript node, which does much the same thing, but knows a large set of high level commands. Its use will be familiar if you have previously used Matlab. It understands the same syntax and has many of the same functions built into it as Matlab. It also provides an interactive MathScript window that is reminiscent of Matlab s interpreter interface, with different regions for commands, variables, outputs, plots, etc. (Note: The drawback to the enhanced functionality of Mathscript is that it is no longer a standard part of our LabVIEW package. LabVIEW 8.6 has it, but it is missing from 2010 on. It is still included in recent student editions of LabVIEW. Note, however, that VI s created in recent versions of LabVIEW may work in v. 8.6 only if you take advantage of the Save for previous version option when saving them. So, if navigating between versions, keep that in mind.) (1) Work through chapter 3 of Essick to become familiar with the basic functionality of these features. This chapter introduces you to how to make your VI a re-usable entity. Having written a carefully designed VI to perform a useful task, you can give it its own icon, with input and output connections, save it, and use it as just another element you simply drop into a VI to perform a more complicated task. Frequently repeated tasks can be coded in LabVIEW once, with controls to input key variables, and then used repeatedly in future work. Be sure to save your AM Wave VI from the Do it yourself

4 exercise at the end of the chapter, and figure out how to print out the front panel and block diagram for your VI. (2) Complete problem 6 from chapter 3. Add a control named Save to the front panel so that when it is true, the θ,r data is written to a text file suitable for input to other programs. Write the data (both θ and R values, one column for each) to a text file using the write-to-spreadsheet file VI described at the start of chapter 5. You can assemble the θ and R data into a single 2-D array and use the 2D data option on the file-writing VI. There is also a transpose option on that VI that is useful in getting data out in columns vs. rows. Be sure to look at your output data file to be sure it s human-readable. Save your complete VI and print out the front panel and block diagram. (3) Complete problem 8 at the end of chapter 3 and save the VI. Print out the VI front panel and block diagram. Always comment the block diagrams of your VI s to provide guidance as to how the VI works.

5 Previous lab 3 component (3) Complete problem 1 from chapter 3, to form a square wave from a Fourier series of harmonics of a fundamental sine wave, but with several twists for your finished VI described here. Most importantly, instead of a fixed number of terms in the series, extend the sum to include an arbitrary number of harmonic terms in the Fourier series, which will be specified by the user through a front panel control. (Make the default choice 5 terms.) You should be able to infer the form of the general term in this series. Use one Mathscript node to calculate the array of time values required. You can use another MathScript node inside a loop (which executes as many times as the number of terms the user has specified) to calculate the contribution to the waveform from each successive harmonic. Make use of a shift register to accumulate the sum of the series. Shift registers are described at the start of chapter 6. (Yes, a clever MathScript node probably could do everything for us all at once, but that s not desired here.) Display the waveform with an x-y graph on the front panel as each successive harmonic is added to the waveform. (You might need to put a delay in the loop to watch the waveform evolve at a reasonable pace.) Write the final waveform data (both t and y values, one column for each) to a text file named squarewave.txt. Use the write-to-spreadsheet file VI described at the start of chapter 5. You can assemble the t and y data into a single 2-D array and use 2D data option on the file-writing VI. Save the VI and print it out. Always comment the block diagrams of your VI s to provide guidance as to how the VI works.

6 PHYS 5061 Lab 4: Data Acquisition in LabVIEW: A/D and D/A operations. Use LabVIEW 8.6 for this lab! Tools developed in the previous lab may be handy here. Chapter 4 in Essick introduces generation and measurement of signals using LabVIEW. We are making use of commercial off-the-shelf hardware and software to perform these tasks. Unlike the days of old, experimentalists can now routinely avoid worrying about the low-level aspects of communicating with the devices in many situations. Commercially available data acquisition (DAQ) hardware typically comes with software packages or drivers that may be accessed from high level programming languages, including LabVIEW, and offers great flexibility on making measurements in a variety of circumstances. The data acquisition (DAQ) hardware we will use is the NI USB-6211, which offers up to 16 channels of 16-bit resolution analog-to-digital conversion (ADC), 2 channels of 16-bit analog output (DAC), and a small number of lines for digital input and output (DIO). All this is contained in a small box that is external to the PC and communicates via USB. LabVIEW makes use of driver software (NI-DAQmx drivers) to talk to the hardware. The drivers handle the work of converting your desires into configuring the hardware and transmitting or retrieving data between your program or VI and the DAQ device. The USB-6211 features hardware timing and buffers for both input and output. For example, it is possible to create a VI that loads the USB-6211 with data to produce a single cycle of a sinewave for output and arrange for the device to automatically regenerate the sinewave to produce a continuous sinewave output without further intervention by the PC or the user. Your VI can go on and make measurements or do calculations, just as if you had a stand-alone benchtop function generator to create the sinewave. Chapter 4 makes use of some high-level VI s (the DAQ Assistant VI and Express VI s) that sacrifice some freedom for ease of configuring DAQ tasks, which will provide a gentle introduction to using the DAQ hardware. (Chapter 11 describes how to use the more basic DAQmx VI s as building blocks to have greater control over the individual choices needed in setting up a DAQ task and lays out more clearly what choices a user must make in setting up measurements.) (1) Preliminaries: connecting the DAQ device: Make sure the DAQ device is NOT connected to the PC. From the Windows Desktop or under `All Programs from the Windows menu open up the Measurement and Automation Explorer (MAX). Look in Devices and Interfaces. You may see one or more devices listed there. You may leave any GPIB devices, but if you see any USB devices listed, delete them. Then plug in your device to a USB port. It should be recognized, drivers load, and then it appears in the list of devices. Note how it is identified (Dev1 probably). Once it s installed and available in MAX, you can select it and run a self-test in MAX. Hereafter, the DAQ device should remain with that PC.

7 Swapping them between PCs may cause a second DAQ device to be created and a Dev2 entry, which can lead to confusion and frustration in the not-so-distant future. A short specifications sheet is available and an enlarged diagram with the pinouts for the device is provided. We will use the analog inputs (ai0 ) in NRSE mode (Non- Referenced Single-Ended mode), not the differential mode mentioned in Essick. (This gives 16 input channels, not that you ll need them all, but it means the wiring is a little simpler; all the channels use a common ground connection as the low side of their. In general differential mode is preferred, and at times essential.) To operate in NRSE mode, connect a 10k resistor between the analog input sense (AI SENSE) and analog in ground (AI GND). Find a small screwdriver that fits the terminal blocks and keep it handy for making connections. (2) Fire up LabVIEW (8.6). Work through Essick chapter 4. You can skip 4.11, since the hardware we have has the timing capabilities for high quality waveform generation needed beginning in sec (Sec does something similar using the more basic DAQmx VI s. ) (3) Note on DIY exercise on digital I/O (DIO) before problem: Our USB-6811 has only four general purpose digital output lines and four digital input lines. For the alternating LEDs portion, put a delay in loop to make the alternating visible to the user. (4) Do Problem 4.6. in Essick. In addition, have the VI display an estimate of the 3db point of your filter at the end of the measurement. Save the VI so it can be tested with filters that contain different components. Put some instructions for the user on the front panel for it, and include commentary so someone can make sense of you block diagram a cleanly wired diagram makes data flow and the VI s operation easier to follow.

8 Build a VI to continuously output your AM signal.

9 (1) How feedback works in an op-amp. Build a model in LabVIEW for a non-inverting amplifier. Recall that a raw op-amp does two things: takes the difference between two voltages: V + - V - and then amplifies that difference by a number that is very large compared to 1. Put such a calculation inside WHILE loop in LabVIEW. Put a control that corresponds to V+ inside the loop. For the moment, let V- be fixed at 0.

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

PHY 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 information

PHYS 5061 Lab 6 Programmable Instruments

PHYS 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 information

Computer Interfacing Using LabView

Computer 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 information

Hands-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 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 information

Small rectangles (and sometimes squares like this

Small 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 information

INTRODUCTION TO LABVIEW

INTRODUCTION 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 information

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Hands-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 information

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers This week we will start to learn the software that we will use through the course, MATLAB s Data Acquisition Toolbox. This

More information

1. Learn about LabView software and its different components

1. 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 information

NAME EET 2259 Lab 3 The Boolean Data Type

NAME 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 information

Homework Assignment 9 LabVIEW tutorial

Homework 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 information

Appendix E: Software

Appendix E: Software Appendix E: Software Video Analysis of Motion Analyzing pictures (movies or videos) is a powerful tool for understanding how objects move. Like most forms of data, video is most easily analyzed using a

More information

Introduction to National Instruments LabVIEW and Data Acquisition (DAQ)

Introduction 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 information

ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW

ME 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 information

LabVIEW Basics I: Introduction Course

LabVIEW 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 information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Determination of Drag Coefficient

Determination 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 information

Hardware: Acquiring Data and Communicating with Instruments

Hardware: 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 information

Page 1 of 6. ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems. Introduction

Page 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 information

NI-DAQmx Basic Course NITS John Shannon

NI-DAQmx Basic Course NITS John Shannon NI-DAQmx Basic Course NITS 2005 John Shannon Agenda Intro to DAQMX Difference between traditional / DaqMX MAX and DAQ Assistance Analog Input / Output Property Nodes Buffered / Continuous Acquisition Analog

More information

Introduction to Labview and Temperature Measurement

Introduction 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 information

The data acquisition components, and their relationship to each other, are shown below.

The 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 information

Lab #4 The Data Acquisition (DAQ) Card. Read Before Coming to Lab: The Data Acquisition (DAQ) Card (from Appendix A)

Lab #4 The Data Acquisition (DAQ) Card. Read Before Coming to Lab: The Data Acquisition (DAQ) Card (from Appendix A) The Data Acquisition (DAQ) Card Read Before Coming to Lab: The Data Acquisition (DAQ) Card (from Appendix A) Cards can be inserted into slots in computer mother boards to perform a variety of functions

More information

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

Engineering 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 information

Measurement & Automation Explorer (MAX) View and control your devices and software

Measurement & 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 information

Math 2250 Lab #3: Landing on Target

Math 2250 Lab #3: Landing on Target Math 2250 Lab #3: Landing on Target 1. INTRODUCTION TO THE LAB PROGRAM. Here are some general notes and ideas which will help you with the lab. The purpose of the lab program is to expose you to problems

More information

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GOAL To introduce the physical implementation of digital logic circuits including

More information

ECE 463 Lab 1: Introduction to LabVIEW

ECE 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 information

Data Acquisition Card or DMM: Which is Right for Your Application? By John Tucker and Joel Roop Keithley Instruments, Inc.

Data Acquisition Card or DMM: Which is Right for Your Application? By John Tucker and Joel Roop Keithley Instruments, Inc. Data Acquisition Card or DMM: Which is Right for Your Application? By John Tucker and Joel Roop Keithley Instruments, Inc. When automating voltage measurements, is it better to go with a programmable Digital

More information

ENGR 1000, Introduction to Engineering Design

ENGR 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 information

Outlook is easier to use than you might think; it also does a lot more than. Fundamental Features: How Did You Ever Do without Outlook?

Outlook 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 information

Hello, and welcome to the Texas Instruments Precision DAC overview of DC specifications of DACs. In this presentation we will briefly cover the

Hello, and welcome to the Texas Instruments Precision DAC overview of DC specifications of DACs. In this presentation we will briefly cover the Hello, and welcome to the Texas Instruments Precision DAC overview of DC specifications of DACs. In this presentation we will briefly cover the properties of the ideal DAC and several other important DC

More information

PHYC 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. 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 information

the NXT-G programming environment

the 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 information

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni. LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual (online) LabVIEW Core 1 Exercise Manual (online) LabVIEW Core 1 Course CD (preloaded on S Share) Multifunction DAQ device File Locations

More information

Data Acquisition Laboratory

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 information

ENGR 1000, Introduction to Engineering Design

ENGR 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 information

Step-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 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 information

Dept. 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 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 information

Student Success Guide

Student Success Guide Student Success Guide Contents Like a web page, links in this document can be clicked and they will take you to where you want to go. Using a Mouse 6 The Left Button 6 The Right Button 7 The Scroll Wheel

More information

User Manual. Printed: 11/6/2013 Filename: NATUM1 - National Instruments I/O Device for V+ User Manual, V1.1 Copyright 2003, SimPhonics Incorporated

User Manual. Printed: 11/6/2013 Filename: NATUM1 - National Instruments I/O Device for V+ User Manual, V1.1 Copyright 2003, SimPhonics Incorporated National Instruments I/O Device for V+ User Manual SimPhonics Incorporated Printed: 11/6/2013 Filename: NATUM1 - National Instruments I/O Device for V+ User Manual, V1.1 Copyright 2003, SimPhonics Incorporated

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Math 182. Assignment #4: Least Squares

Math 182. Assignment #4: Least Squares Introduction Math 182 Assignment #4: Least Squares In any investigation that involves data collection and analysis, it is often the goal to create a mathematical function that fits the data. That is, a

More information

PHYC 500: Introduction to LabView. Exercise 8 (v 1.3) M.P. Hasselbeck, University of New Mexico. Arrays, XY Graphs, Disk I/O

PHYC 500: Introduction to LabView. Exercise 8 (v 1.3) M.P. Hasselbeck, University of New Mexico. Arrays, XY Graphs, Disk I/O PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 8 (v 1.3) Arrays, XY Graphs, Disk I/O Place two numeric controls (label them Number of points and Offset ) on the Front

More information

Electron Paramagnetic Resonance PH425 System outline Michael Kabatek & Jessica Lovewell Version 1.1

Electron Paramagnetic Resonance PH425 System outline Michael Kabatek & Jessica Lovewell Version 1.1 Electron Paramagnetic Resonance PH425 System outline Michael Kabatek & Jessica Lovewell Version 1.1 This outline is intended to introduce you to the PH425 EPR system. The system consists of a field controlled

More information

CS 051 Homework Laboratory #2

CS 051 Homework Laboratory #2 CS 051 Homework Laboratory #2 Dirty Laundry Objective: To gain experience using conditionals. The Scenario. One thing many students have to figure out for the first time when they come to college is how

More information

Math 2250 Lab #3: Landing on Target

Math 2250 Lab #3: Landing on Target Math 2250 Lab #3: Landing on Target 1. INTRODUCTION TO THE LAB PROGRAM. Here are some general notes and ideas which will help you with the lab. The purpose of the lab program is to expose you to problems

More information

ESE 150 Lab 08: Machine Level Language

ESE 150 Lab 08: Machine Level Language LAB 08 In this lab we will gain an understanding of the instruction- level implementation of computation on a microprocessor by: 1. Using Arduino to perform the Fourier Transform on sampled data in the

More information

VME Data Acquisition System, ADC Read

VME 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 information

GET130 Intro to Engineering Technology

GET130 Intro to Engineering Technology References: 1. http://www.ni.com/labview/ 2. http://en.wikipedia.org/wiki/labview Introduction: This lab continues from the previous lab by showing additional basic features of LabVIEW including For loops,

More information

FILE ORGANIZATION. GETTING STARTED PAGE 02 Prerequisites What You Will Learn

FILE ORGANIZATION. GETTING STARTED PAGE 02 Prerequisites What You Will Learn FILE ORGANIZATION GETTING STARTED PAGE 02 Prerequisites What You Will Learn PRINCIPLES OF FILE ORGANIZATION PAGE 03 Organization Trees Creating Categories FILES AND FOLDERS PAGE 05 Creating Folders Saving

More information

Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW

Teaching 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 information

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)

LabVIEW 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 information

Table of Laplace Transforms

Table of Laplace Transforms Table of Laplace Transforms 1 1 2 3 4, p > -1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Heaviside Function 27 28. Dirac Delta Function 29 30. 31 32. 1 33 34. 35 36. 37 Laplace Transforms

More information

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM 1 Instructions Labs may be done in groups of 2 or 3 (i.e., not alone). You may use any programming language you wish but MATLAB is highly suggested.

More information

XP: Backup Your Important Files for Safety

XP: Backup Your Important Files for Safety XP: Backup Your Important Files for Safety X 380 / 1 Protect Your Personal Files Against Accidental Loss with XP s Backup Wizard Your computer contains a great many important files, but when it comes to

More information

Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018

Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018 Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018 Due: Tuesday, September 18, 11:59 pm Collaboration Policy: Level 1 (review full policy for details) Group Policy: Individual This lab will give you experience

More information

Developing Networked Data Acquisition Systems with NI-DAQ

Developing Networked Data Acquisition Systems with NI-DAQ Application Note 116 Developing Networked Data Acquisition Systems with NI-DAQ Tim Hayles What Is Remote Device Access? With the NI-DAQ Remote Device Access (RDA ) feature, you can run LabVIEW or LabWindows

More information

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0)

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) 107 Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) Typing the desired HS frame in the box f HS, it is

More information

2 Lab 2: LabVIEW and Control System Building Blocks

2 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 information

Labview Lab 2. Vern Lindberg. April 16, 2012

Labview 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 information

INTRODUCTION TO COMPUTER DATA ACQUISITION

INTRODUCTION TO COMPUTER DATA ACQUISITION 1. Data Acquisition 1 1 INTRODUCTION TO COMPUTER DATA ACQUISITION Two experiments in this laboratory (Flash Photolysis and I 2 Fluorescence) involve measuring signals which vary rapidly with time. This

More information

Cheetah16/32/64 Setup Guide

Cheetah16/32/64 Setup Guide Cheetah16/32/64 Setup Guide Installation guide for the most common components of a Cheetah 16/32/64 system Revision 1.2 Neuralynx, Inc. 105 Commercial Drive, Bozeman, MT 59715 Phone 406.585.4542 Fax 406.585.9034

More information

(Refer Slide Time: 01:25)

(Refer Slide Time: 01:25) Computer Architecture Prof. Anshul Kumar Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture - 32 Memory Hierarchy: Virtual Memory (contd.) We have discussed virtual

More information

Exercises: Instructions and Advice

Exercises: Instructions and Advice Instructions Exercises: Instructions and Advice The exercises in this course are primarily practical programming tasks that are designed to help the student master the intellectual content of the subjects

More information

APPM 2460 Matlab Basics

APPM 2460 Matlab Basics APPM 2460 Matlab Basics 1 Introduction In this lab we ll get acquainted with the basics of Matlab. This will be review if you ve done any sort of programming before; the goal here is to get everyone on

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

R-09HR ReleaseNote. R-09HR Operating System Version 2.00 RO9HRRN200

R-09HR ReleaseNote. R-09HR Operating System Version 2.00 RO9HRRN200 R-09HR ReleaseNote R-09HR Operating System Version.00 009 Roland Corporation U.S. All rights reserved. No part of this publication may be reproduced in any form without the written permission of Roland

More information

MATLAB INTRODUCTION. Matlab can be used interactively as a super hand calculator, or, more powerfully, run using scripts (i.e., programs).

MATLAB INTRODUCTION. Matlab can be used interactively as a super hand calculator, or, more powerfully, run using scripts (i.e., programs). L A B 6 M A T L A B MATLAB INTRODUCTION Matlab is a commercial product that is used widely by students and faculty and researchers at UTEP. It provides a "high-level" programming environment for computing

More information

Matrices. Chapter Matrix A Mathematical Definition Matrix Dimensions and Notation

Matrices. Chapter Matrix A Mathematical Definition Matrix Dimensions and Notation Chapter 7 Introduction to Matrices This chapter introduces the theory and application of matrices. It is divided into two main sections. Section 7.1 discusses some of the basic properties and operations

More information

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t Tutorials Introductory Tutorials These tutorials are designed to give new users a basic understanding of how to use SIMetrix and SIMetrix/SIMPLIS. Tutorial 1: Getting Started Guides you through getting

More information

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Basic Formulas Filling Data

More information

Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems

Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems In everyday life, we humans most often count using decimal or base-10 numbers. In computer science, it

More information

EE3TP4: Signals and Systems Lab 1: Introduction to Matlab Tim Davidson Ext Objective. Report. Introduction to Matlab

EE3TP4: Signals and Systems Lab 1: Introduction to Matlab Tim Davidson Ext Objective. Report. Introduction to Matlab EE3TP4: Signals and Systems Lab 1: Introduction to Matlab Tim Davidson Ext. 27352 davidson@mcmaster.ca Objective To help you familiarize yourselves with Matlab as a computation and visualization tool in

More information

Web Evaluation Report Guidelines

Web Evaluation Report Guidelines Web Evaluation Report Guidelines Graduate Students: You are required to conduct a usability test for your final project in this course. Please review the project description and the evaluation rubric on

More information

ENGR 40M Project 4b: Displaying ECG waveforms. Lab is due Monday June 4, 11:59pm

ENGR 40M Project 4b: Displaying ECG waveforms. Lab is due Monday June 4, 11:59pm ENGR 40M Project 4b: Displaying ECG waveforms Lab is due Monday June 4, 11:59pm 1 Introduction Last week, you built a circuit that amplified a small 1Hz simulated heartbeat signal. In this week s you will

More information

Statistics 13, Lab 1. Getting Started. The Mac. Launching RStudio and loading data

Statistics 13, Lab 1. Getting Started. The Mac. Launching RStudio and loading data Statistics 13, Lab 1 Getting Started This first lab session is nothing more than an introduction: We will help you navigate the Statistics Department s (all Mac) computing facility and we will get you

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual LabVIEW Core 1 Exercise Manual LabVIEW Core 1 Course CD Multifunction DAQ device GPIB interface DAQ Signal Accessory, wires, and

More information

Exploring IX1D The Terrain Conductivity/Resistivity Modeling Software

Exploring IX1D The Terrain Conductivity/Resistivity Modeling Software Exploring IX1D The Terrain Conductivity/Resistivity Modeling Software You can bring a shortcut to the modeling program IX1D onto your desktop by right-clicking the program in your start > all programs

More information

Strain and Force Measurement

Strain 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 information

CLAD Exam Preparation Guide using LabVIEW NXG

CLAD 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 information

Lab 3. A Multi-Message Reader

Lab 3. A Multi-Message  Reader Lab 3 A Multi-Message Email Reader Due: Wed. 2/21 at 11PM (for Mon. aft. lab), Thurs. 2/22 at 5PM (for Mon. evening), or Thurs. 2/22 at 11 (for Tues. aft.) The goal in this week s lab is to exercise your

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University of Hull Department of Computer Science C4DI Interfacing with Arduinos Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.

More information

INTRODUCTION TO COMPUTER DATA ACQUISITION

INTRODUCTION TO COMPUTER DATA ACQUISITION 1. Data Acquisition 73 1 INTRODUCTION TO COMPUTER DATA ACQUISITION Two experiments in this laboratory (Flash Photolysis and I 2 Fluorescence) involve measuring signals which vary rapidly with time. This

More information

ENCM 339 Fall 2017 Lecture Section 01 Lab 9 for the Week of November 20

ENCM 339 Fall 2017 Lecture Section 01 Lab 9 for the Week of November 20 page 1 of 9 ENCM 339 Fall 2017 Lecture Section 01 Lab 9 for the Week of November 20 Steve Norman Department of Electrical & Computer Engineering University of Calgary November 2017 Lab instructions and

More information

DSP First Lab 02: Introduction to Complex Exponentials

DSP 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 information

Spectroscopic Analysis: Peak Detector

Spectroscopic Analysis: Peak Detector Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.

More information

Colorado State University Department of Mechanical Engineering. MECH Laboratory Exercise #1 Introduction to MATLAB

Colorado State University Department of Mechanical Engineering. MECH Laboratory Exercise #1 Introduction to MATLAB Colorado State University Department of Mechanical Engineering MECH 417 - Laboratory Exercise #1 Introduction to MATLAB Contents 1) Vectors and Matrices... 2 2) Polynomials... 3 3) Plotting and Printing...

More information

c01.qxd p /18/01 11:03 AM Page 1 Fundamentals

c01.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 information

Introduction to PSpice

Introduction to PSpice Introduction to PSpice Simulation Software 1 The Origins of SPICE In the 1960 s, simulation software begins CANCER Computer Analysis of Nonlinear Circuits, Excluding Radiation Developed at the University

More information

Hardware Description and Verification Lava Exam

Hardware Description and Verification Lava Exam Hardware Description and Verification Lava Exam Mary Sheeran Revised by Thomas Hallgren hallgren@chalmers.se May 16, 2010 Introduction The purpose of this take-home exam is to give you further practice

More information

Advanced NI-DAQmx Programming Techniques with LabVIEW

Advanced 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 information

Range Objects and the ActiveCell

Range Objects and the ActiveCell Range Objects and the Active Review Objects have two important features that we can make use of Properties Methods Talk does not cook rice. Chinese Proverb 2 Review Review There is a very precise syntax

More information

Applied Calculus. Lab 1: An Introduction to R

Applied Calculus. Lab 1: An Introduction to R 1 Math 131/135/194, Fall 2004 Applied Calculus Profs. Kaplan & Flath Macalester College Lab 1: An Introduction to R Goal of this lab To begin to see how to use R. What is R? R is a computer package for

More information

The Paperless Classroom with Google Docs by - Eric Curts

The Paperless Classroom with Google Docs by - Eric Curts The Paperless Classroom with Google Docs by - Eric Curts Table of Contents Overview How to name documents and folders How to choose sharing options: Edit, Comment, and View How to share a document with

More information

Lab 2: Introduction to LabVIEW 8.5

Lab 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 information

Labview. Masood Ejaz

Labview. 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 information

Today. 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. 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 information

Outlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.

Outlook 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 information