Data Acquisition HANS-PETTER HALVORSEN,

Size: px
Start display at page:

Download "Data Acquisition HANS-PETTER HALVORSEN,"

Transcription

1 Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Data Acquisition HANS-PETTER HALVORSEN, Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: Fax:

2 Preface In this assignment you will learn basic Data Acquisition (DAQ) and how to use a DAQ unit in LabVIEW. We will use the USB-6008 DAQ device from National Instruments. For more information and additional resources: The purpose of data acquisition is to measure an electrical or physical phenomenon such as voltage, current, temperature, pressure, or sound. PC-based data acquisition uses a combination of hardware, software, and a computer to take measurements. The principle of Data Acquisition: USB-6008 DAQ device from National Instruments: ii

3 Table of Contents Preface...ii Table of Contents... iii 1 Introduction to Data Acquisition Tutorial Video Introduction to USB Videos Measurement and Automation Explorer DAQ Assistant DAQ Data Acquisition Logging Data to Files iii

4 1 Introduction to Data Acquisition In this task we will learn basic Data Acquisition in LabVIEW. We will use the USB-6008 DAQ device. 1.1 Tutorial Background information for this task is described in detailed in the Tutorial Data Acquisition in LabVIEW. The Tutorial consists of pdf documents, videos, example code, additional resources and links. The purpose of data acquisition is to measure an electrical or physical phenomenon such as voltage, current, temperature, pressure, or sound. PC-based data acquisition uses a combination of hardware, software, and a computer to take measurements. 1.2 Video It is recommended that you watch the Introduction to Data Acquisition video. The video is available from the webpage of this Lab Work. 4

5 2 Introduction to USB-6008 In this task you will use a USB-6008 DAQ device from National Instruments. For more information please read the NI USB-6008 DAQ Device Lab Equipment document. 2.1 Videos Recommended videos: Haugen. You should watch the video Analog voltage I/O with NI USB-6008 and LabVIEW by Finn The video is available from the webpage of this Lab Work. This video goes in detail on how you create an application in LabVIEW using the USB-6008 DAQ device. 5

6 3 Measurement and Automation Explorer Measurement & Automation Explorer (MAX) provides access to your National Instruments devices and systems. With MAX, you can: Configure your National Instruments hardware and software Create and edit channels, tasks, interfaces, scales, and virtual instruments Execute system diagnostics View devices and instruments connected to your system Update your National Instruments software Task 1: MAX Connect you USB-6008 Device and open the Measurement and Automation Explorer (MAX). See if you can find you DAQ device in MAX and make sure it works properly. Run a Self Test and open the Test Panels in order to test your device. Perform a so-called Loopback test. 6

7 7 Measurement and Automation Explorer Use a multi-meter to check if the voltage levels on the output and input channels are correct according to your settings. [End of Task]

8 4 DAQ Assistant Note! Read the USB-6008 DAQ device Lab Equipment document before you start! The document and additional information is available from: Connect your USB-6008 DAQ device to your computer and make sure it works. Use the Measurement and Automation Explorer (MAX) to configure and test your device. Use also a Volt meter to check that the voltage is correct. Measurement and Automation Explorer (MAX): The Data Acquisition palette in LabVIEW: 8

9 9 DAQ Assistant DAQ Assistant: The DAQ Assistant, included with NI-DAQmx, is a graphical, interactive guide for configuring, testing, and acquiring measurement data. With a single click, you can even generate code based on your configuration, making it easier and faster to develop complex operations. The NI-DAQmx Driver software is the layer of software for easily communicating with the hardware. It forms the middle layer between the application software and the hardware. Task 2: Analog Output Create a program in LabVIEW that write analog values from the USB-6008 DAQ device. Use the DAQ Assistant. The program should include a While loop that continuously write values from the USB-6008 DAQ device. Example: The DAQ Assistance should look something like this:

10 10 DAQ Assistant [End of Task] Task 3: Analog Input Create a program in LabVIEW that read analog values from the USB-6008 DAQ device. Use the DAQ Assistant. The program should include a While loop that continuously reads values from the USB-6008 DAQ device. Example:

11 11 DAQ Assistant The DAQ Assistance should look something like this: [End of Task] Task 4: Analog In/Out Create a new program where you connect the Analog Input and Analog Output programs together in one program. Specifications for the application:

12 12 DAQ Assistant Put the Analog Input and Analog Output code into different SubVIs. Do some calculations on the input signal and send the calculated result to the analog output. Put the calculation code into a SubVI. Plot the different values on the screen. Use the Project Explorer in LabVIEW for your application. Create an Executable File (.exe) of your Application. In order to use the Project Explorer, you will have to create an Empty Project : Below we see an example of the Project Explorer: Below we see how we can use the Project Explorer to create an.exe (executable) file:

13 13 DAQ Assistant [End of Task]

14 5 DAQ 5.1 Data Acquisition In this task we will connect our DAQ device to a real process. Below we see the Lab Equipment available for this assignment: Level Tank Air Heater Documents of how to use the Level Tank/Air Heater and the USB-6008 DAQ device is available from Level Tank: Air Heater: USB-6008: Task 5: Test DAQ Device on a Real Process Select one of the processes above and connect you DAQ device to the system. Log data (Temperature for the Air Heater system or Level for the Water Tank) for different input signals (u). Show the results in a Chart. You may want to use the Waveform Chart located in the Graph palette: 14

15 15 DAQ Try to act like a controller: Let s say you want the output Temperature to be 35 degrees (setpoint) and then try to manually adjust the control signal (u) so the Temperature stays on the setpoint. Make sure to scale the output signal from the system (Voltage signal) to Temperature (Air Heater) or Level (Water Tank). Scaling: Air Heater output: 1-5V o C. Water Tank output: 0-5V 0-20cm. The following linear relationship applies:

16 16 DAQ You have to find a (slope) and b (intercept). The following formulas may be used: This gives: where [End of Task] 5.2 Logging Data to Files Here we will use files to store data from a process. Task 6: Write to Measurement File

17 17 DAQ Here you will create a program that save the process data to a text file for later use. We can either get data from a real process or just using data from a simulator. We can e.g., use the example General PID Simulator.vi as a base for your application. Use the NI Example Finder (Help Find Examples ) in order to find the VI in LabVIEW. (Use you modified version created in a previous Lab Work) You should log the control signal and the measurement value in the file. The time will be automatically logged. You can use the Write to Measurement File function on the File I/O palette in LabVIEW for writing data to text files (use the LVM data file format, not the TDMS file format which give binary files).

18 18 DAQ Recommended settings for the Write To Measurement File : Open the Measurement File in Notepad. It should look something like this (3 columns): Time Control Signal Process Value

19 19 DAQ You should open the logged data in Excel and plot the data in Excel. Example of LabVIEW Program that log data to a Measurement File: Block Diagram:

20 20 DAQ [End of Task] Task 7: Read from Measurement File Create another program that open the measurement file and shows the data in an array and a Graph. Use the Read From Measurement File in LabVIEW. Recommended settings for the Read From Measurement File : Example of LabVIEW program:

21 21 DAQ You should also open the file in Excel and plot the data in Excel. [End of Task]

22 Telemark University College Faculty of Technology Kjølnes Ring 56 N-3914 Porsgrunn, Norway Hans-Petter Halvorsen, M.Sc. Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Phone: Blog: Room: B-237a

Datalogging in LabVIEW

Datalogging in LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Datalogging in LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks 203, Kjølnes

More information

Control and Simulation in. LabVIEW

Control and Simulation in. LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions Control and Simulation in HANS-PETTER HALVORSEN, 2011.08.11 LabVIEW Faculty of Technology,

More information

Solutions. Discretization HANS-PETTER HALVORSEN,

Solutions. Discretization HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions HANS-PETTER HALVORSEN, 2011.08.12 Discretization Faculty of Technology, Postboks 203,

More information

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI mydaq HANS-PETTER HALVORSEN, 2012.01.20 Faculty of Technology, Postboks 203, Kjølnes ring 56,

More information

Virtual Instruments with LabVIEW

Virtual Instruments with LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Virtual Instruments with LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks

More information

State Estimation with Observers

State Estimation with Observers Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics State Estimation with Observers HANS-PETTER HALVORSEN, 2012.08.20 Faculty of Technology, Postboks

More information

DAQ in MATLAB HANS-PETTER HALVORSEN,

DAQ in MATLAB HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics DAQ in MATLAB HANS-PETTER HALVORSEN, 2011.06.07 Faculty of Technology, Postboks 203, Kjølnes ring

More information

NI Vision System HANS- PETTER HALVORSEN,

NI Vision System HANS- PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI Vision System HANS- PETTER HALVORSEN, 2013.02.19 Faculty of Technology, Postboks 203, Kjølnes

More information

Wireless DAQ using ZigBee

Wireless DAQ using ZigBee Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Wireless DAQ using ZigBee Cuong Nguyen, Hans- Petter Halvorsen 2013.10.29 Hardware

More information

Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics.

Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Wi- Fi DAQ Hardware Setup Cuong Nguyen, Hans- Petter Halvorsen, 2013.08.07

More information

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc.

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc. Simulation in LabVIEW Hans-Petter Halvorsen, M.Sc. Software LabVIEW LabVIEW Control Design and Simulation Module This module is used for creating Control and Simulation applications with LabVIEW. Here

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

NI USB-TC01 Thermocouple Measurement Device

NI USB-TC01 Thermocouple Measurement Device Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI USB-TC01 Thermocouple Measurement Device HANS- PETTER HALVORSEN, 2013.02.18 Faculty of Technology,

More information

Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics. SCADA System

Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics. SCADA System Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics SCADA System Keywords: Data Communication, protocols,

More information

University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen,

University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen, University College of Southeast Norway LM-900 Level Tank Hans-Petter Halvorsen, 2016.10.26 http://home.hit.no/~hansha Table of Contents Table of Contents... ii 1 Introduction... 1 2 System Description...

More information

Weather System. In this project you are going to create a Weather System, see Figure 1-1. Figure 1-1: Weather system

Weather System. In this project you are going to create a Weather System, see Figure 1-1. Figure 1-1: Weather system Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Weather System Keywords: Data Communication, Protocols,

More information

Exercise 11: Discretization

Exercise 11: Discretization Exercise 11: Discretization Introduction We will use different discretization methods using pen and paper exercises and in practical implementation in MathScript/LabVIEW along with built-in discretization

More information

Wireless DAQ System. In this project you are going to create a Wireless DAQ System, see Figure 1-1. Figure 1-1: Wireless DAQ system

Wireless DAQ System. In this project you are going to create a Wireless DAQ System, see Figure 1-1. Figure 1-1: Wireless DAQ system Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Wireless DAQ System Keywords: Data Communication, Protocols,

More information

Data Acquisition in LabVIEW

Data Acquisition in LabVIEW University College of Southeast Norway Data Acquisition in LabVIEW Hans-Petter Halvorsen, 2016.10.28 http://home.hit.no/~hansha Preface This tutorial explains the basic concepts of a Data Acquisition in

More information

Laboratory System. 1 Introduction

Laboratory System. 1 Introduction Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Laboratory System Keywords: Data Communication, Protocols,

More information

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech BE/EE189 Design and Construction of Biodevices Lecture 5 LabVIEW Programming Data acquisition DAQ system Signals and signal conditioning Nyquist frequency NI ELVIS II NI-DAQmx and DAQ assistant LabVIEW

More 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

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

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

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

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

LabVIEW MathScript Quick Reference

LabVIEW MathScript Quick Reference Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics LabVIEW MathScript Quick Reference Hans-Petter Halvorsen, 2012.06.14 Faculty of Technology, Postboks

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

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

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

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

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

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

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

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

Introduction to LabVIEW

Introduction to LabVIEW University College of Southeast Norway Introduction to LabVIEW Hans-Petter Halvorsen, 2016-09-07 http://home.hit.no/~hansha Preface This document explains the basic concepts of LabVIEW. You find additional

More 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

University College of Southeast Norway. Web Services. with Examples. Hans-Petter Halvorsen,

University College of Southeast Norway. Web Services. with Examples. Hans-Petter Halvorsen, University College of Southeast Norway Web Services Hans-Petter Halvorsen, 2016.11.01 with Examples http://home.hit.no/~hansha Table of Contents 1. Introduction... 4 1.1. The Problem... 4 1.2. The Solution...

More information

https://www.halvorsen.blog Industrial IT Laboratory Work https://www.halvorsen.blog/documents/teaching/courses/industrialit Hans-Petter Halvorsen

https://www.halvorsen.blog Industrial IT Laboratory Work https://www.halvorsen.blog/documents/teaching/courses/industrialit Hans-Petter Halvorsen https://www.halvorsen.blog Industrial IT Laboratory Work https://www.halvorsen.blog/documents/teaching/courses/industrialit Hans-Petter Halvorsen OPC Laboratory Work The Industrial IT course contains different

More information

Data acquisition hardware

Data acquisition hardware Data acquisition hardware Data acquisition (DAQ) is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can

More information

LabVIEW programming I

LabVIEW programming I FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming I LabVIEW basics Spring 2011 Lecture #2 Bekkeng 13.1.2011 Virtual Instruments LabVIEW programs are called virtual instruments,

More 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

Wireless Data Acquisition in. LabVIEW

Wireless Data Acquisition in. LabVIEW University College of Southeast Norway Wireless Data Acquisition in Hans-Petter Halvorsen, 2016.10.31 LabVIEW http://home.hit.no/~hansha Preface It's not just phones and computers that can communicate

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

LabView programming 練習

LabView programming 練習 Virtual Instrumentation With LabVIEW LabView programming 練習 工綜六樓計算機室電腦 LabView 8.0 ( 目前最新版 Labview 2010) Interactive guide to LabView 請自行前往使用 1 LabVIEW 試用 http://www.ni.com/trylabview/zht/ 下載試用版 : OR 網路導覽與試用

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

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

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

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

https://www.halvorsen.blog Modbus Hans-Petter Halvorsen

https://www.halvorsen.blog Modbus Hans-Petter Halvorsen https://www.halvorsen.blog Modbus Hans-Petter Halvorsen What is Modbus? Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable

More information

LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT

LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT WHAT IS LABVIEW? LabVIEW is a graphical programing language designed for scientists and engineers for experimental control and data acquisition. Most

More information

Additional products and features

Additional products and features SECTION 7.3: adding national instruments hardware Step: 1 In order to record data from a National Instruments device, you must fi rst install NI-DAQmx software from the National Instruments website. http://ftp.ni.com/support/softlib/multifunc-

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

Sensors and Actuators with Arduino. Hans-Petter Halvorsen, M.Sc.

Sensors and Actuators with Arduino. Hans-Petter Halvorsen, M.Sc. Sensors and Actuators with Arduino Hans-Petter Halvorsen, M.Sc. System Overview NTC Thermistor Arduino Download Code Computer TMP36 Pt-100 Sensors (Input) Actuators (Output) Examples: Data Logging Programming

More information

Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. MathScript

Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. MathScript Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions So You Think You Can HANS-PETTER HALVORSEN, 2011.09.07 MathScript Part I: Introduction

More information

University College of Southeast Norway. Control and Simulation. in LabVIEW. Hans-Petter Halvorsen,

University College of Southeast Norway. Control and Simulation. in LabVIEW. Hans-Petter Halvorsen, University College of Southeast Norway Control and Simulation Hans-Petter Halvorsen, 2016.10.28 in LabVIEW http://home.hit.no/~hansha Preface This document explains the basic concepts of using LabVIEW

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

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

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

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

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

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

Analytical Instrumentation

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

More 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 Exercise 4: Analog & Digital I/O Signals

Lab Exercise 4: Analog & Digital I/O Signals Objective To interface with analog & digital inputs & outputs. When you have completed this exercise, you will be able to: Configure and read analog input data Configure and write analog output data Configure

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

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

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

User Manual for Portable National Instruments Board, Bridge Amplifiers, and VI Logger Software

User Manual for Portable National Instruments Board, Bridge Amplifiers, and VI Logger Software 1 User Manual for Portable National Instruments Board, Bridge Amplifiers, and VI Logger Software David Saxby, School of Human Kinetics, Faculty of Health Science, University of Ottawa Last modified: 16

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

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

Hands-on Lab. Open-Loop Response: System Identification

Hands-on Lab. Open-Loop Response: System Identification Hands-on Lab Open-Loop Response: System Identification v r Motorized tethered cart A step or impulse response provides useful information that characterizes the system. With such data, one can then begin

More information

Using SQL Server in C#

Using SQL Server in C# University College of Southeast Norway Using SQL Server in C# Hans-Petter Halvorsen, 2016.11.01 with Examples http://home.hit.no/~hansha Table of Contents 1. Introduction...

More information

Products Used: LabVIEW DAQ SCXI

Products Used: LabVIEW DAQ SCXI EcoMonitor Air Quality Continuous Monitoring System by José P. Caetano, Ricardo J. Jesus, Pedro A. Alves, Victor F. Dias System Developers INESC, Lisbon, Portugal Products Used: LabVIEW DAQ SCXI The Challenge:

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

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware.

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware. 2016 International Conference on Control and Automation (ICCA 2016) ISBN: 978-1-60595-329-8 Research and Design on Water Sound Acquisition System of Deep Sea Ultrahigh Pressure Environment Gang TONG 1,

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

Using LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009

Using LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009 Using LabVIEW with BiPOM Boards Quick Start Guide Document Revision: 1.01 Date: 18 September, 2009 BiPOM Electronics, Inc. 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970. Fax:

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

Published in A R DIGITECH

Published in A R DIGITECH DC Motor Parameter Measurement and Testing By using LabVIEW KOR HARSHAL RAMESH *1, BHARATI KAJAL BALASAHEB*2, HURPADE SANTOSH NAMDEO*3 *1(B.E Student S.N.D College of Engineering Yeola) *2(B.E Student

More information

Create a Virtual Test Environment

Create a Virtual Test Environment Create a Virtual Test Environment Step by Step Exercises Hans-Petter Halvorsen, M.Sc. Why Do We Need a Test Environment? Why cant we just use our own PC? Why Test Environment? It works on my PC says the

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

Introduction to Simulink

Introduction to Simulink University College of Southeast Norway Introduction to Simulink Hans-Petter Halvorsen, 2016.11.01 http://home.hit.no/~hansha Preface Simulink, developed by The MathWorks, is a commercial tool for modeling,

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

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

LabVIEW Statechart Module Tutorial

LabVIEW Statechart Module Tutorial LabVIEW Statechart Module Tutorial Overview This NI LabVIEW Statechart Module tutorial is designed for the LabVIEW online evaluation environment, so it does not depend on any hardware. It covers the basics

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

Linear Control Systems LABORATORY

Linear Control Systems LABORATORY Islamic University Of Gaza Faculty of Engineering Electrical Engineering Department Linear Control Systems LABORATORY Prepared By: Eng. Adham Maher Abu Shamla Under Supervision: Dr. Basil Hamed Experiments

More 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

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

Part 1. Summary of For Loops and While Loops

Part 1. Summary of For Loops and While Loops NAME EET 2259 Lab 5 Loops OBJECTIVES -Understand when to use a For Loop and when to use a While Loop. -Write LabVIEW programs using each kind of loop. -Write LabVIEW programs with one loop inside another.

More 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

Visual Studio Team Services

Visual Studio Team Services Visual Studio Team Services Getting Started Hans-Petter Halvorsen, M.Sc. Visual Studio Team Services Visual Studio Team Services is a platform taking care of all aspects of the process of developing software

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

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

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

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI Lesson 1 Introduction to LabVIEW TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI 1 Virtual Instruments (VIs) Front Panel Controls = Inputs

More 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

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

CISE 318: Computer Control Systems Laboratory Exercises

CISE 318: Computer Control Systems Laboratory Exercises King Fahd University of Petroleum and Minerals Systems Engineering Department CISE 318: Computer Control Systems Laboratory Exercises Prepared by Dr. Lahouari Cheded Mr. Mohammad Shahab Mr Ameenuddin Hussain

More information