Virtual Instruments with LabVIEW

Size: px
Start display at page:

Download "Virtual Instruments with LabVIEW"

Transcription

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

2 2 Virtual Instruments with LabVIEW Introduction LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a platform and development environment for a visual programming language from National Instruments. The graphical language is named "G". Originally released for the Apple Macintosh in 1986, LabVIEW is commonly used for data acquisition, instrument control, and industrial automation on a variety of platforms including Microsoft Windows, various flavors of UNIX, Linux, and Mac OS X. The latest version of LabVIEW is version LabVIEW Visit National Instruments at LabVIEW programs are called Virtual Instruments, or VIs, because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters. LabVIEW contains a comprehensive set of tools for acquiring analyzing, displaying, and storing data, as well as tools to help you troubleshoot your code. Here we will go through some simple LabVIEW examples in order to learn basic LabVIEW programming. For more background information about LabVIEW, see the tutorial Introduction to LabVIEW.

3 3 Virtual Instruments with LabVIEW You may also want to take a closer look at the Interactive Training called LabVIEW Starter :

4 4 Virtual Instruments with LabVIEW Front Panel and Block Diagram In this task you will learn to create a simple user interface in LabVIEW and how to create the code for it. When you open a blank VI, an untitled front panel window appears. This window displays the front panel (the user interface) and is one of the two LabVIEW windows you use to build a VI. The other window contains the block diagram (the code). In LabVIEW, you build a user interface, or front panel, with controls and indicators. Controls are knobs, push buttons, dials, and other input devices. Indicators are graphs, LEDs, and other displays. Front Panel Example: If you right-click on the Front Panel, the Controls palette appears:

5 5 Virtual Instruments with LabVIEW Block Diagram Example: If you right-click on the Front Panel, the Functions palette appears:

6 6 Virtual Instruments with LabVIEW Task 1: Create a simple Calculator Step 1: Create the following front panel (user interface) in LabVIEW:

7 7 Virtual Instruments with LabVIEW Step 2: Create the block diagram (code) to make the program work as expected. Step 3: Push the Run button to do the calculations. [End of Task] Loops and Structures Like other programming languages have LabVIEW different Loops and structures available. The different Loops and Structures available are located in the Structures sub palette in the Functions palette on the Block Diagram. Task 2: Using While Loops Step 1: Create the following front panel: Step 2: Create the block diagram for the program using a While Loop. The Date and Time strings should be updated every second.

8 8 Virtual Instruments with LabVIEW You may want to use the following built-in functions in LabVIEW: [End of Task] Task 3: Create an advanced Calculator Create the following program: You need to use a While Loop and an Event Structure inside the While loop to solve the problem. The Event structure is used to respond to buttons clicks, such as when the user clicks the Calculate or Stop buttons. When the user clicks the Calculate button, the answer should be calculated. When the user clicks the Stop button, the program should stop running. [End of Task] Arrays Arrays are very powerful to use in LabVIEW. In all your applications you would probably use both onedimensional arrays and two-dimensional arrays. Task 4: Arrays Create the following program:

9 9 Virtual Instruments with LabVIEW [End of Task] SubVIs Creating and using SubVIs are very important in LabVIEW. A SubVI is like a function or subroutine in other languages. Here we will learn to create and use existing SubVIs. Task 5: SubVIs Step 1: Create a SubVI from the simple Calculator created in a previous task. You have to create an Icon for you SubVI using the Icon Editor:

10 10 Virtual Instruments with LabVIEW You also need to create input/output Connectors Step 2: Create a new program that uses the SubVI, like this: [End of Task] Plotting Data LabVIEW have powerful features for plotting different kind of data. Below we see the Graph palette in LabVIEW.

11 11 Virtual Instruments with LabVIEW Task 6: Plotting Create the following program: You may want to use the following function in order to create some random data: Create a Chart and use it inside a While Loop. [End of Task] Virtual Instruments Now you have learned the basic features in LabVIEW and you are ready to create your own Virtual Instruments. Task 7: Virtual Instruments

12 12 Virtual Instruments with LabVIEW In this task you will need everything you have learned so far (and probably a little more). Create a Virtual Instrument with the following components: 1. Toolbar 2. Owned Label 3. Numeric Control 4. Free Label 5. Numeric Control Terminal 6. Knob Terminal 7. Numeric Constant 8. Multiply Function 9. Icon 10. Knob Control 11. Plot Legend 12. XY Graph 13. Wire Data Path 14. XY Graph Terminal 15. Bundle Function 16. SubVI 17. For Loop Structure Below we see the front panel and the block diagram for the virtual instrument.

13 13 Virtual Instruments with LabVIEW The SubVI (number 16) could be reading the temperature from a temperature sensor using a DAQ (Data Acquisition) device, but in our case we will just create a simple simulator using, e.g. the built-in Random Number VI to create random temperature values. We will learn more about acquiring data from DAQ devices later.

14 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 Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: Fax:

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

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

Data Acquisition HANS-PETTER HALVORSEN,

Data Acquisition HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Data Acquisition HANS-PETTER HALVORSEN, 2011.10.14 Faculty of Technology, Postboks 203, Kjølnes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Getting Started with LabVIEW Virtual Instruments

Getting Started with LabVIEW Virtual Instruments Getting Started with LabVIEW Virtual Instruments Approximate Time You can complete this exercise in approximately 30 minutes. Background LabVIEW programs are called virtual instruments, or VIs, because

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

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

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

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

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

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

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

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

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

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

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

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

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

LabVIEW programming I

LabVIEW programming I FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming I LabVIEW basics Spring 2017 Lecture #2 Bekkeng 16.01.2017 What is LabVIEW LabVIEW is a graphical programming environment G programming

More 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

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

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

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

QuickStart Guide. LabVIEW QuickStart Guide. January 1998 Edition Part Number B-01

QuickStart Guide. LabVIEW QuickStart Guide. January 1998 Edition Part Number B-01 QuickStart Guide LabVIEW QuickStart Guide January 1998 Edition Part Number 321527B-01 Conventions Used in This Manual The following conventions are used in this manual: bold Bold text denotes a menu name,

More 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

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

AOE 3054 LabView Programming

AOE 3054 LabView Programming AOE 3054 LabView Programming Starting LabView Let s begin by opening LabView From the Start Menu, Locate and start LabView 8.2 If this is your first time running LabView you may get a Windows Security

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

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

Linear Algebra in LabVIEW

Linear Algebra in LabVIEW https://www.halvorsen.blog Linear Algebra in LabVIEW Hans-Petter Halvorsen, 2018-04-24 Preface This document explains the basic concepts of Linear Algebra and how you may use LabVIEW for calculation of

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

LabVIEW. Table of Contents. Lesson 1. Pre-reqs/Technical Skills Basic computer use

LabVIEW. Table of Contents. Lesson 1. Pre-reqs/Technical Skills Basic computer use LabVIEW Lesson 1 Pre-reqs/Technical Skills Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material Complete quiz on Blackboard Submit completed

More 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

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

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Introduction to LabView PURPOSE The purpose of this lab is to get you familiarized with LabView.

More 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

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

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

Basic Data Acquisition with LabVIEW

Basic Data Acquisition with LabVIEW Basic Data Acquisition with LabVIEW INTRODUCTION This tutorial introduces the creation of LabView Virtual Instruments (VI s), in several individual lessons. These lessons create a simple sine wave signal,

More 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

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

Engineering Innovation Center LabVIEW Basics

Engineering Innovation Center LabVIEW Basics Engineering Innovation Center LabVIEW Basics LabVIEW LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical programming language that uses icons instead of lines of text to create

More information

LabVIEW TM Basics I Introduction Course Manual

LabVIEW TM Basics I Introduction Course Manual LabVIEW TM Basics I Introduction Course Manual Course Software Version 7.0 June 2003 Edition Part Number 320628L-01 LabVIEW Introduction Course Manual Copyright 1993 2003 National Instruments Corporation.

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

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

User Manual. LabVIEW User Manual. July 2000 Edition Part Number C-01

User Manual. LabVIEW User Manual. July 2000 Edition Part Number C-01 User Manual LabVIEW User Manual July 2000 Edition Part Number 320999C-01 Worldwide Technical Support and Product Information www.ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway

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

Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces

Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces ADR112 DAQ Board ADR101 RS232 Data Acquisition Interface DAQ Ontrack company s lowest-cost solution. RS232 to 8 digital

More information

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc.

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc. MATLAB Examples Simulink Hans-Petter Halvorsen, M.Sc. What is Simulink? Simulink is an add-on to MATLAB. You need to have MATLAB in order to use Simulink Simulink is used for Simulation of dynamic models

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: A Teaching Tool for the Engineering Courses

LabVIEW: A Teaching Tool for the Engineering Courses Paper ID #8394 LabVIEW: A Teaching Tool for the Engineering Courses Dr. Alireza Kavianpour, DeVry University, Pomona Dr. Alireza Kavianpour received his PH.D. Degree from University of Southern California

More information

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW.

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW. Goal Description Implementation Use the debugging tools built into LabVIEW. Complete the following steps to load a broken VI and correct the errors. Use single-stepping and execution highlighting to step

More 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

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

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

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

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides steps to build a simple deterministic application and references to programming examples and documentation for more information

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

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

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

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

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

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

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

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

Basics I Course Manual. LabVIEW TM. LabVIEW Basics I Course Manual. Course Software Version 4.0 March 1998 Edition Part Number E-01

Basics I Course Manual. LabVIEW TM. LabVIEW Basics I Course Manual. Course Software Version 4.0 March 1998 Edition Part Number E-01 LabVIEW TM Basics I Course Manual Course Software Version 4.0 March 1998 Edition Part Number 320628E-01 LabVIEW Basics I Course Manual Copyright Copyright 1993, 1998 by National Instruments Corporation,

More 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

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

Using LabVIEW in Instrumentation and Control Course

Using LabVIEW in Instrumentation and Control Course Session 1559 Using LabVIEW in Instrumentation and Control Course Chong Chen Department of Engineering Technology and Industrial Studies Middle Tennessee State University Murfreesboro, TN 37132 Abstract

More information

OPC and Real-Time Systems. in LabVIEW

OPC and Real-Time Systems. in LabVIEW University College of Southeast Norway OPC and Real-Time Systems Hans-Petter Halvorsen, 2016.10.31 in LabVIEW http://home.hit.no/~hansha Preface OPC (OLE for process control) is a standard interface between

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

LabVIEW Demonstration Guide

LabVIEW Demonstration Guide LabVIEW Demonstration Guide March 1996 Edition Part Number 321215A-01 Copyright 1996 National Instruments Corporation. All Rights Reserved. Internet Support GPIB: gpib.support@natinst.com DAQ: daq.support@natinst.com

More information

Experiment 1: Introduction to Labview 2010 (tbc 1/7/2007, 1/13/2009,1/9/2012, 1/10/2012)

Experiment 1: Introduction to Labview 2010 (tbc 1/7/2007, 1/13/2009,1/9/2012, 1/10/2012) Experiment 1: Introduction to Labview 2010 (tbc 1/7/2007, 1/13/2009,1/9/2012, 1/10/2012) Objective: To learn how to build virtual instrument panels in Labview 2010 Tasks: 1. Follow the tutorial given in

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

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

LabVIEW. Getting Started with LabVIEW. Getting Started with LabVIEW

LabVIEW. Getting Started with LabVIEW. Getting Started with LabVIEW Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices

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