Labview Lab 2. Vern Lindberg. April 16, 2012

Size: px
Start display at page:

Download "Labview Lab 2. Vern Lindberg. April 16, 2012"

Transcription

1 Labview Lab 2 Vern Lindberg April 16, Temperature Measurement Thermistors are sensitive semiconductor devices that can measure temperature over a restricted temperature range. The thermistors we will use are good around the range -50 to 100 C. Nominal resistance at room temperature is 10 kω. In this first step of a two week lab you will design a vi that will read voltage and compute the resistance of the thermistor, and from that compute the temperature using the Steinhart- Hart equation, 1 T = A + B ln R + C(ln R)3 (1) The circuit is almost trivial, a 10 kω resistor in series with a thermistor, powered by 5 V. The 5 V is a nominal value i.e. it not guaranteed to be exactly 5. Although the voltage is not known exactly, the precision resistor, of value R P, can be measured, and the resistance of the thermistor can be found by a simple ratio, R therm = V therm V resist R P (2) Available on the circuit board are a fixed +5V supply and also some banana jacks. At the top left of the board are the analog inputs. In software these are called ai0 etc., but on the circuit board each voltage channel needs two inputs called ACh0+ and ACh0. These are floating inputs, meaning that neither end is connected to ground and that a differential voltage can be measured. Today you will build the circuit from scratch, meaning that you will need to tell the program where the signals originate. The banana jacks are accessed by the breadboard pins called Banana A and Banana B. The thermistor is in a separate box that will be connected to the banana jacks. 1

2 The hook-up is schematically shown in Figure 1. The arrows in the On Board portion of Figure 1 are hook up wire jumpers, The arrows from the thermistor are banana cables. The precision resistor is nominally 10 kω. Connect the two sides of the resistor to channel ACh0 and the two sides of the thermistor to the ACh1. Figure 1: Voltage Divider using a thermistor. BA and BB are banana jacks. The circled resistor is the thermistor. Use a 10 kω precision resistor. 2 The Read and Calculate Loop The rest is done in software. 2.1 Reading the Voltages (a) Start a new VI with a big While loop in place. (b) Add code so that you can control the rate at which you take data. Start with collecting data every 0.25 seconds. Compute the time in seconds and make an indicator inside the loop to show running time. 2

3 (c) To collect the data you must access the DAQ board. Add a DAQ assistant from the Express/Input panel, another window will pop up. Choose Acquire Signals, Voltage, and select ai0 and ai1 for the two voltage inputs. The next window lets you specify parameters for the ADC: Call one ResistorVoltageACh0 and the other ThermistorVoltageACh1 (no spaces are allowed in the names). They should both be 0 to 6 V, differential, and 1 sample on demand. (d) Each time through the loop a measurement is made resulting in two numbers, the voltage across the resistor and the voltage across the thermistor. The output of the DAQ is of type DDT (dynamic data type) that has two channels. We need to separate these and get floating point values of each. I have found two ways to do this pick one. (i) Place two From DDT icons, both wired to the DAQ output. From the Configure Menu that pops up, pick Single Scalar, and make the resistor voltage channel 0 and the thermistor voltage channel 1. (Alternately wire constants 0 and 1 to the Channel Input of the From DDTs.) If the From DDT is already in place you can double click on it to get the Configure Menu. (ii) Less elegantly, insert a Split Signals icon from the Express menu and wire to the DAQ output. Place two From DDT icons from the Express menu, one wired to the top of the split signals (ACh0 ) and one to the bottom (ACh1 ). The icons should be Single scalars representing the two voltages. (e) It is a good idea to debug and check as you go. Be sure the DAQ and Elvis are on. Create indicators for the two voltages and run. Add the two voltages that should be the constant 5 V supply. Place a Waveform Chart on the front panel and wire the thermistor voltage to it. Place your finger on the thermistor for a few seconds and stop the program. As the temperature increases, you should see one voltage increasing and one decreasing. Once you know that the VI works, you may delete any of these indictors, 2.2 Computing the resistance and temperature Equation 2 and Equation 1 give the means of calculating the temperature. (a) Compute the resistance. Measure the value of your nominal 10 kω resistor with a multimeter. From the two readings of voltages and this resistance, you can determine the resistance of the thermistor with Equation 2. 3

4 Use a Mathematics Scripts&Formulas Formula Node. Right click on a boundary and Add inputs and outputs, naming each of them. Inside the formula node write the equation, ending with a semicolon. Your formula might look like RT=Rp*VR/VT; Avoid writing in the value of the precision resistor in the formula, instead create a constant outside with its value. That way it is easy to find and change if the precision resistor is changed. (b) Use another Formula Node and compute temperature using the Steinhart-Hart Equation 1 using A = , B = and C = , (all in K 1 ), where the resistance is in Ωs. The resulting temperature is in K. (I may be off on these constants a little bit, but am close. ) Also compute the temperature in Celsius and Fahrenheit. HINT: Make constants outside the Formula Node for A, B, and C, in these constants scientific notation for A is written E-3. Inside the formula node you use +, -, *, /, and ** for the mathematical operations, and can use ln for the natural log. (c) Place a Waveform Chart on the front panel and place inside the loop to display the celsius temperature. (d) Run the program and make sure that it works as desired. 3 Displaying the results and Saving Data (a) Inside the loop build the array that will eventually be saved in an Excel file. Use a Build Array icon, enlarge it to have 4 inputs, make the first the time, the second the kelvin temperature, the third the celsius temperature, and the fourth the fahrenheit temperature. Connect the output of this array to an indexed tunnel. (b) Since the data are collected in equally spaced intervals, a Waveform Graph is suitable. Bring time to a non-indexed tunnel, kelvin, celsius, and fahrenheit temperatures to indexed tunnels. Place a Waveform Graph outside the loop and add the bundle that is suggested by the context help for the Waveform Graph. Plot fahrenheit (or celsius, your choice) temperature versus time outside the loop. Run the VI and touch the thermistor to change its temperature. (c) Finally write code to save the file. This is an involved process. (i) First you must tell the computer where to store the data. Place a FileI/O File Constants Path Constant outside the loop. In your Documents folder/library 4

5 create a folder to hold the data files. Right click on the Path Constant and Browse for Path and locate folder you just created. Click Current Folder and the path to that folder is created. (ii) Create a File Name: Deposit a String Control on the front panel, and a string constant.xls on the block diagram. Place a Strings Concatenate Strings on the block diagram and wire the file name and extenstion to the two inputs. (iii) Place a File I/O Build Path and wire the Path Constant to the base path, and the concatenated filename to the name inputs. (iv) From the File I/O menu deposit Open/Create/Replace File, Write Text File, Close File icons. The inputs to the Open... icon are the appended path from the Build Path, and an operation input. Create a constant at the operation input and choose Create from its pull down list. Connect the refnum out to the file input on the Write to Text, and the error out to the error in. Connect the refnum and error lines between the Write to Text and the Close File. Finally, place a Dialog and User Interface Simple Error Handler and connect the error out of the Close File to the error handler (v) Final step! The array data must be converted into a form that can be written to the file. Place a String Array to Spreadsheet String near the tunnel for the array. Connect the array to the array input (duh!). Connect the spreadsheet string to the text input of the Write to Text file. Create a constant at the format string input of the Array to Spreadsheet and make it %.2f, that is a floating point number with 2 digits after the decimal point. Put in a file name, then run your program, changing the temperature of the thermistor, stop it, locate the file in the folder you prepared, and open and it should open in Excel (after a prompt from Microsoft.) Run a second time with the same filename and see the error that results. As written the program Creates a file, and if that file already exists tells us of the error. We will discuss ways to reduce this aggravation in class. Add comments and adjust the layout so that your vi is neat. Print the front panel and block diagrams and place into your labbook. Be sure to save your vi, then save a copy to a new name. 5

6 In class we will (or have already) discuss a few other nice features that could be added to the saving process, namely Add the hour, minute, second to your file name so it will be unique (e.g. File xls) Add date and time automatically to your file Add a comment to the file, such as Temperature of coffee as it cools Add column headers to your file 4 Subvis Saving data is a regular task, and regular tasks should be sub-vis. Then your main VI should read the voltages, compute thermistor resistance and determine the temperature. A subvi should take care of saving the data. Before doing any coding list the desired inputs to the subvi. In this case they would be (a) path (b) file name (c) format of data, and (d) data (and eventually Comments, and Headers.) Make sure that the labels for your controls are meaningful, since that is the lowest level of documentation. Move these 4 elements on the block diagram to the left, and the rest of the writing portion of the program to the right. Drag around all elements of the writing portion not including the 4 inputs (but the.txt, Concatenate, File opening, writing, closing and error handling and the Array to Spreadsheet should be included), then use Edit pull down menu and Create Sub VI. The selected elements should disappear and a new icon appears. Double click on this new icon to see the front panel and block diagram just for it. Right click on the connector pane (upper right corner icon) and you can edit the icon. Right click on the icon, go to VI Properties, use the category pull down menu to go to documentation, and add a brief description. This will appear in the contextual help. Save the subvi, then save your main vi. 6

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed

More information

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs.

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs. Name: Date: CLAD Sample Exam 03 1. Where can a VI be documented so that the description appears in the Show Context Help popup window? A. In the VI Properties Documentation window B. Typing in the Show

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

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

Arrays. Collection of data elements that are of same type

Arrays. Collection of data elements that are of same type Arrays Collection of data elements that are of same type 31 One or more dimensions, up to 2 elements per dimension Elements accessed by their index First element is index 0 index 10-element array 0 1 2

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

Exercise 0 - Open and Run a Virtual Instrument (Slide 12)

Exercise 0 - Open and Run a Virtual Instrument (Slide 12) Exercise 0 - Open and Run a Virtual Instrument (Slide 12) Examine the Signal Generation and Processing VI and run it. Change the frequencies and types of the input signals and notice how the display on

More information

OpenStax-CNX module: m Thermometer VI * National Instruments

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

Introduction to LabVIEW Exercise-1

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

Lab 4 - Data Acquisition

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

Lab Exercise 2: Data Acquisition with NI LabVIEW

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

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

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

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

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

More information

CLAD Sample Exam 06. B. Panel Resize. C. Panel Close? D. Value Change

CLAD Sample Exam 06. B. Panel Resize. C. Panel Close? D. Value Change Name: Date: CLAD Sample Exam 06 1. Which of the following user interface events will allow your code to respond before LabVIEW performs the default action associated with that event? A. Mouse Down B. Panel

More information

EK307 Lab: Microcontrollers

EK307 Lab: Microcontrollers EK307 Lab: Microcontrollers Laboratory Goal: Program a microcontroller to perform a variety of digital tasks. Learning Objectives: Learn how to program and use the Atmega 323 microcontroller Suggested

More information

Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW

Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW 1 Y Madhusudhan Reddy, 2 Shaik Abdul Rahim, 3 J Leela Mahendra Kumar 1,2,3 Dept. of EIE, RGM Engineering College, Nandyal,

More information

Virtual Instrumentation With LabVIEW

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

2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram

2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram E80 Spring 2015 Lecture 3 LabView 1. Creating a VI (Virtual Instrument) From the File drop-down menu, select New VI 2. The LabView Environment Two panes will open, one is the Front panel, and one is the

More information

Labview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis

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

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array The NearSys Two Sensor Temperature Array is a kit that permits a BalloonSat to measure two separate temperatures. When plugged into a flight computer like the BalloonSat Mini, the flight computer provides

More information

Figure 1. A complete Temperature Sensor

Figure 1. A complete Temperature Sensor The NearSys Temperature Sensor is a kit that permits a BalloonSat to measure the temperature of the air, interior, or object the sensor itself is placed in contact with. When plugged into a flight computer

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

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

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

Virtual Instrumentation With LabVIEW

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

CLAD Sample Exam 04. B. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel.

CLAD Sample Exam 04. B. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel. Name: Date: CLAD Sample Exam 04 1. What VI is typically used to terminate an Error Cluster wire and to display any error message? A. Merge Errors B. One Button Dialog / Two Button Dialog C. Generate Front

More information

Learn LabVIEW 2010 / 2011 Fast

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

Read Temperature Data

Read Temperature Data Read Temperature Data Exercise 5 Completed front panel and block diagram In this exercise, you will create a program using SensorDAQ s Analog Express VI to collect temperature data and display it on a

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

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

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

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

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

CLAD_80.questions.

CLAD_80.questions. CLAD_80.questions Number: CLAD Passing Score: 800 Time Limit: 120 min File Version: 25.06 These are the most accurate study questions. Just focus on these and sit in your exam. I am very happy with my

More information

EE 100 DMM and DC Power Supply LabVIEW Experiment Guide

EE 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 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

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

CS 150 Lab 3 Arithmetic and the Debugger. Lab 3.0 We are going to begin using the Visual Studio 2017 debugger to aid with debugging programs.

CS 150 Lab 3 Arithmetic and the Debugger. Lab 3.0 We are going to begin using the Visual Studio 2017 debugger to aid with debugging programs. CS 150 Lab 3 Arithmetic and the Debugger The main objective of today s lab is to use some basic mathematics to solve a few real world problems. In doing so, you are to begin getting accustomed to using

More information

Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction

Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction Experiment 1 Electrical Circuits Simulation using Multisim Electronics Workbench: An Introduction Simulation is a mathematical way of emulating the behavior of a circuit. With simulation, you can determine

More information

Electronics II Physics 3620 / 6620

Electronics II Physics 3620 / 6620 Electronics II Physics 3620 / 6620 Apr 15, 2009 Part 1 Strings and File I/O 4/13/2009 1 Strings A string is a sequence of displayable or - characters (ASCII) Many uses displaying messages, instrument control,

More information

Student Quick Reference Guide

Student Quick Reference Guide Student Quick Reference Guide How to use this guide The Chart Student Quick Reference Guide is a resource for PowerLab systems in the classroom laboratory. The topics in this guide are arranged to help

More information

Lesson 4 Implementing a VI

Lesson 4 Implementing a VI Lesson 4 Implementing a VI A. Front Panel Design B. LabVIEW Data Types C. Documenting Code D. While Loops E. For Loops F. Timing a VI G. Iterative Data Transfer H. Plotting Data I. Case Structures A. Front

More information

DC Circuit Simulation

DC Circuit Simulation Chapter 2 DC Circuit Simulation 2.1 Starting the Project Manager 1. Select Project Manager from the Start All Program Cadence Release 16.5 Project Manager. 2. Select Allegro PCB Designer (Schematic) from

More information

Learn the three palettes. Learn how data is passed in LabVIEW. Create a subvi using two different methods.

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

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

TECH 3821 Lab #2 Relay Driver with Computer Control

TECH 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 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

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

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

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

LabVIEW Tutorials. T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering

LabVIEW Tutorials. T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering LabVIEW Tutorials T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering Umer Hassan & Muhammad Sabieh Anwar Introduction: In this tutorial we shall learn

More information

Pre-Laboratory #Boolean Expressions ECE 332

Pre-Laboratory #Boolean Expressions ECE 332 Name: G Number: Pre-Laboratory #Boolean Expressions ECE 332 1 Introduction This pre-lab is divided into two parts. In part one you will build a circuit for providing inputs to your CPLD board on your breadboard.

More information

The LabVIEW Programming Environment and Basic Operations

The LabVIEW Programming Environment and Basic Operations Page 1 of 14 UNM The LabVIEW Programming Environment and Basic Operations Introduction In this hands-on, you will learn about the LabVIEW programming environment. You will also write a simple Virtual Instrument

More information

Chemistry Excel. Microsoft 2007

Chemistry Excel. Microsoft 2007 Chemistry Excel Microsoft 2007 This workshop is designed to show you several functionalities of Microsoft Excel 2007 and particularly how it applies to your chemistry course. In this workshop, you will

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

Microsoft Excel Lab: Data Analysis

Microsoft Excel Lab: Data Analysis 1 Microsoft Excel Lab: The purpose of this lab is to prepare the student to use Excel as a tool for analyzing data taken in other courses. The example used here comes from a Freshman physics lab with measurements

More information

Exercise 5: Basic LabVIEW Programming

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

ENGR 210 Lab1. Ohm's Law

ENGR 210 Lab1. Ohm's Law ENGR 210 Lab1 Ohm's Law Background In the class lectures we have discussed the fundamental electrical quantities of voltage, current and resistance. Since these quantities are so important there are specialized

More information

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed) Page 1/6 Lab 1: Intro to Microcontroller Development, 06-Jan-16 OBJECTIVES This lab will introduce you to the concept of developing with a microcontroller while focusing on the use of General Purpose Input/Output

More information

Agilent 3630A Triple DC Power Supply. Agilent 34401A Digital Multimeter (DMM)

Agilent 3630A Triple DC Power Supply. Agilent 34401A Digital Multimeter (DMM) Agilent E3630A Triple DC Power Supply and Agilent 34401A Digital Multimeter (DMM) Agilent 3630A Triple DC Power Supply The DC power supply used in this lab is the Agilent E3630A Triple DC power supply.

More information

Part 1. Creating an Array of Controls or Indicators

Part 1. Creating an Array of Controls or Indicators NAME EET 2259 Lab 9 Arrays OBJECTIVES -Write LabVIEW programs using arrays. Part 1. Creating an Array of Controls or Indicators Here are the steps you follow to create an array of indicators or controls

More information

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Instructions: If you did not receive this exam in a sealed envelope stamped "NI Certification," DO NOT ACCEPT this exam. Return it to the proctor

More information

Lab 4: Introduction to ELVIS II+ Introduction to ELVIS II+

Lab 4: Introduction to ELVIS II+ Introduction to ELVIS II+ Page 1 of 12 Laboratory Goals Introduction to ELVIS Lab 4: Introduction to ELVIS Familiarize students with the National Instruments hardware ELVIS Identify the capabilities of ELVIS Make use of the built

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

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES

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

EKT 314/4 LABORATORIES SHEET

EKT 314/4 LABORATORIES SHEET EKT 314/4 LABORATORIES SHEET WEEK DAY HOUR 2 2 2 PREPARED BY: EN. MUHAMAD ASMI BIN ROMLI EN. MOHD FISOL BIN OSMAN JULY 2009 14 operations pass data to and from files. Use the VIs and functions to handle

More information

Section 1 Establishing an Instrument Connection

Section 1 Establishing an Instrument Connection Manual for Sweep VI Fall 2011 DO NOT FORGET TO SAVE YOUR DATA TO A NEW LOCATION, OTHER THAN THE TEMP FOLDER ON YOUR LAB STATION COMPUTER! FAILURE TO DO SO WILL RESULT IN LOST DATA WHEN YOU LOG OUT! 1.1.

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

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

University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory

University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory Experiment No. 4 Introduction to the Windows XP Workstation using National Instruments

More information

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure Name: Date: CLAD Sample Exam 05 1. You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?

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

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

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

Lab 1: Getting familiar with LabVIEW: Part I

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

Ch En 475: Introduction to Instrumentation and Signal Processing with Labview

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

Arrays are lists of elements of the same data type. They are analogous to arrays in traditional languages.

Arrays are lists of elements of the same data type. They are analogous to arrays in traditional languages. 0 1 Arrays are lists of elements of the same data type. They are analogous to arrays in traditional languages. Arrays can have one or more dimensions. Arrays can have up to (2^31)-1 elements per dimension.

More information

PHYS 5061 Lab 1: Introduction to LabVIEW

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

ni.com Preparing for the CLAD Exam

ni.com Preparing for the CLAD Exam Preparing for the CLAD Exam Breaking Data Flow Situation: Run 2 Loops simultaneously with 1 Stop Button Wiring the Stop Button from one Loop to the other will NOT work. Solution: Use a Local Variable Drawbacks:

More information

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2)

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2) More on Excel Larry Caretto Mechanical Engineering 09 Programming for Mechanical Engineers January 6, 017 Outline Review last class Spreadsheet basics Entering and copying formulas Discussion of Excel

More information

Download Instructions

Download Instructions Download Instructions The download page provides several options for importing data back into your applications. The Excel template will automatically format the data within the commadelimited file. The

More information

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

A Simple & Economical Method For Reading A Thermistor With An EtherMeter.

A Simple & Economical Method For Reading A Thermistor With An EtherMeter. 24VDC COMMON 5VDC Application Note 011 Version 004 08 Nov 2010 A Simple & Economical Method For Reading A Thermistor With An EtherMeter. Along with its two meter inputs and three digital I/O channels,

More information

Appendix C. Vernier Tutorial

Appendix C. Vernier Tutorial C-1. Vernier Tutorial Introduction: In this lab course, you will collect, analyze and interpret data. The purpose of this tutorial is to teach you how to use the Vernier System to collect and transfer

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

OVERVIEW GOALS KEY TERMS

OVERVIEW GOALS KEY TERMS OVERVIEW Welcome to the world of LabVIEW! This chapter gives you a basic explanation of LabVIEW, its capabilities, and how it can make your life easier. GOALS Develop an idea of what LabVIEW really is.

More information

1

1 0 1 4 Because a refnum is a temporary pointer to an open object, it is valid only for the period during which the object is open. If you close the object, LabVIEW disassociates the refnum with the object,

More information

Advanced Programming Features

Advanced Programming Features Advanced Programming Features Compute Tools 4 and 5 Program Area Level 5 The two advance programming templates for manipulating data are Compute Tools 4 and Compute Tools 5. Each of these templates provide

More information

Excel Tables and Pivot Tables

Excel Tables and Pivot Tables A) Why use a table in the first place a. Easy to filter and sort if you only sort or filter by one item b. Automatically fills formulas down c. Can easily add a totals row d. Easy formatting with preformatted

More information

LabVIEW Advanced for 7.0 Manual Course Errata

LabVIEW Advanced for 7.0 Manual Course Errata LabVIEW Advanced for 7.0 Manual Course Errata Exercise 1-4, page 1-24: On faster machines the VI profiler reports incorrect data. It shows that the VI plotting 1 point at a time is faster then the VI plotting

More information

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16 Page 1/14 Quartus Tutorial with Basic Graphical Gate Entry and Simulation Example Problem Given the logic equation Y = A*/B + /C, implement this equation using a two input AND gate, a two input OR gate

More information

Excel 2016 Basics for Windows

Excel 2016 Basics for Windows Excel 2016 Basics for Windows Excel 2016 Basics for Windows Training Objective To learn the tools and features to get started using Excel 2016 more efficiently and effectively. What you can expect to learn

More information

ECE 451 Automated Microwave Measurements Laboratory. Experiment No. 2. Automated RF Power Detection Using LabVIEW

ECE 451 Automated Microwave Measurements Laboratory. Experiment No. 2. Automated RF Power Detection Using LabVIEW Introduction ECE 451 Automated Microwave Measurements Laboratory Experiment No. 2 Automated RF Power Detection Using LabVIEW Experiment design is undoubtedly the most difficult aspect of an engineering

More information

Wiring guide for dual-output vibration and temperature sensors

Wiring guide for dual-output vibration and temperature sensors Wiring guide for dual-output vibration and temperature sensors Wilcoxon manufactures three types of sensors that output a vibration signal and a DC voltage proportional to the temperature. The temperature

More information

Lab 03: Edge Detection Tutorial

Lab 03: Edge Detection Tutorial Lab 03: Edge Detection Tutorial Step 1: Start LabVIEW(LV) Robotics 2009, and then create a new robotics project. The project explorer window will then pop up. Save this project as Lab3EdgeDetection. Once

More information

Create a worksheet that collects, displays and saves temperature data

Create a worksheet that collects, displays and saves temperature data DASYLab Techniques Create a worksheet that collects, displays and saves temperature data This document describes how to create a worksheet that acquires and processes temperature data using Measurement

More information

Experiment 10 Fall 2012

Experiment 10 Fall 2012 10/30/12 Experiment 10 Fall 2012 Experiment 10 Fall 2012 Electronic Multi-Meter - A Voltage, Temperature, and Light Meter Due: Week 11 Lab Sessions (11/06/2012) For the voltage, light and temperature gauges

More information

Analytical Instrumentation

Analytical Instrumentation Analytical Instrumentation A graduate course ( Chem9532a/b) Dr. Zhifeng Ding Department of Chemistry The University of Western Ontario (519) 661-2111 Ext. 86161 e-mail: zfding@uwo.ca Log in: Femlab feml@b09

More information

University of Florida EEL 3701 Dr. Eric M. Schwartz Madison Emas, TA Department of Electrical & Computer Engineering Revision 1 5-Jun-17

University of Florida EEL 3701 Dr. Eric M. Schwartz Madison Emas, TA Department of Electrical & Computer Engineering Revision 1 5-Jun-17 Page 1/14 Example Problem Given the logic equation Y = A*/B + /C, implement this equation using a two input AND gate, a two input OR gate and two inverters under the Quartus environment. Upon completion

More information