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

Similar documents
Experiment 1: Introduction to Labview 8.0 (tbc 1/7/2007, 1/13/2009,1/13/2011)

Getting Started with LabVIEW Virtual Instruments

Basic Data Acquisition with LabVIEW

2 Lab 2: LabVIEW and Control System Building Blocks

Figure 1: Control & Simulation Loop

Homework Assignment 9 LabVIEW tutorial

Lab 2: Introduction to LabVIEW 8.5

INTRODUCTION TO LABVIEW

Exercise 5: Basic LabVIEW Programming

AOE 3054 LabView Programming

Lab Exercise 2: Data Acquisition with NI LabVIEW

Linear Control Systems LABORATORY

Arrays. Collection of data elements that are of same type

Hands-on Lab: LabVIEW Angle Sensor

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

Small rectangles (and sometimes squares like this

Step-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform

Lab 1: Getting familiar with LabVIEW: Part I

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

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW

LabVIEW programming I

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

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

Introduction to Labview and Temperature Measurement

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Exam. Test Booklet

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

Labview. Masood Ejaz

Certified LabVIEW Associate Developer Examination

Introduction to LabVIEW

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

LABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH

LabVIEW programming I

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

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

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

ENGR 1000, Introduction to Engineering Design

Today. 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework. Lab: Continue project. Lecture. Review your exams and review practice exam again.

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

Certified LabVIEW Associate Developer Exam. Test Booklet

Advanced Programming Features

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

San Francisco State University

OpenStax-CNX module: m Thermometer VI * National Instruments

Introduction to LabVIEW

Hands-on Lab. LabVIEW Simulation Tool Kit

Lab 4 - Data Acquisition

Virtual Instrumentation With LabVIEW

Read Temperature Data

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

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

Data Acquisition Laboratory

LabVIEW Express VI Development Toolkit User Guide

Introduction to LabVIEW Exercise-1

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS

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

ECE 463 Lab 1: Introduction to LabVIEW

Virtual Instruments with LabVIEW

Lecture 3 (week Feb 8-12) Expanding the Features of a VI. Select the Loop Condition. A. Structures--While Loop. A. Structures--For Loop

Introduction to National Instruments LabVIEW and Data Acquisition (DAQ)

Graphical Display of Power Monitoring Data

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

SystemVue 2011 Fundamentals (version ) LAB EXERCISE 1. SystemVue Basics

Using the Drag-and-Drop Report Builder

Computer Interfacing Using LabView

Virtual Instrumentation With LabVIEW

Shift Register: Exercise # 1: Shift Register Example VI. 1. Build the following front panel. Figure (8.1): Shift register exercise front panel

Lab Exercise 4: Analog & Digital I/O Signals

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

DSP First Lab 02: Introduction to Complex Exponentials

TOP Server Client Connectivity Guide for National Instruments' LabVIEW

Section 1 Establishing an Instrument Connection

CLAD_80.questions.

Lesson 4 Implementing a VI

Tutorial: Getting Started with the LabVIEW Simulation Module

EE 210 Lab Assignment #2: Intro to PSPICE

Import and Export Explorer Queries

The iworx 214 and LabScribe V2.0 Tutorial. Overview

How to do a Property Search

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

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico

Capstone Appendix. A guide to your lab computer software

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

NYU A&S AEM Implementation. Exercise Sheets

Technology Assignment: Scatter Plots

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Eurostat Regions and Cities Illustrated: Usage guide

SmartView. User Guide - Analysis. Version 2.0

Engineering Innovation Center LabVIEW Basics

Physics 211 E&M and Modern Physics Spring Lab #1 (to be done at home) Plotting with Excel. Good laboratory practices

Getting Started With Excel

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

DAQFactory U3 Tutorial Getting Started with DAQFactory-Express and your LabJack U3 11/3/06

Working with Excel CHAPTER 1

Getting Started. Ohm Portal. v2_ec01b38. Buddy Platform, Limited Ltd.

CISE 318: Computer Control Systems Laboratory Exercises

Working with Excel involves two basic tasks: building a spreadsheet and then manipulating the

Contents. Group 2 Excel Handouts 2010

Appendix A OPENING AN EXCEL SPREADSHEET: To start working with a blank Excel spreadsheet, you should: 1. Log on to your station s computer.

Transcription:

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 Appendix A. 2. Modify the VI to simulate sin 2 Create two more knobs for amplitude 0 2 and 1 1. Try set 0.8 and 0.2, then verify in an Excel plot. Name : Date: Grade: (Pass/Fail) a. Tutorial i. VI ii. Excel Plot b. Main Task i. VI ii. Excel Plot 1

Appendix A: Tutorial for Labview 2010 Example: Build a VI to simulate a sinusoidal signal. I. Initalizing a blank virtual instrument. 1. Log on to Labview 2010 and open a Blank VI. 2. Two windows will appear: a) the Front Panel and b) the Block Diagram. (You could tile both windows side-by-side by selecting [Window] [Tile Left and Right] menu item). Remarks: i) The Front Panel will contain the user interface such as knobs, buttons, indicators and graphs while the Block Diagram window will contain the inner-circuitry (including objects, wirings and other virtual instruments), logic structures (including programming blocks) and timing commands. ii) If either the Front Panel or the Block Diagram window is blocked by another window (e.g. when either window is maximized), one can toggle the focus between the two windows by pressing [CTRL]-[E]. 2

II. Building the VI. Include the following blocks inside the block-diagram window and reproduce the diagram shown in Figure 1. Figure 1. Inserting the function blocks. 1. Access the Functions-pallete, then a. [Right-click] while inside the block-diagram window to show the Functions-pallete. b. Create a While-Loop box. : [Express] [Exec Control] [Whileloop], then click-drag an area in the block-diagram window. 3

Figure 2. Click the while-loop icon, then drag an area in the Block Diagram window. Remarks: i. A [STOP] button will also appear in the front-panel window. ii. For the items below, make sure that all the objects created are inside the [while-loop] box. c. Create an Elapsed-time block: [Express] [Exec Control] [Elaspsed time], drop inside the [while-loop] box, and deselect the Automatically reset after time target option. d. Create a Formula block. : [Express] [Arithmetic & Comparison] [Formula], drop inside the [while-loop] box, then change the settings to those in Table 1: Table 1. Formula block. Input: X1 Input: X2 Formula: Label: P Label: t sin(2*pi*t/p) e. Create a to-dynamic Data block. : [Express] [Signal Manipulation] [to Dynamic Data], drop inside the [while-loop] box, then select Input data type to Single Scalar. f. Create a Wait-Until block. : [Programming] [Timing] [Wait- Until MS] block and drop inside the [while-loop] box, then hover on the left side of the [Wait] block and select [Create] [Constant] and input a value of 10. 4

g. Create a Case-structure box. : [Express] [Exec Control] [Case Structure], then click-drag an area inside the [while-loop] box. h. Create a Write-Meas-file box. : [Express] [Output] [Write Measurement File], drop inside the [Case Structure] window, then change the setting to those given in Table 2. Table 2. Write-Measurement File Box Settings. File Name Segment Headers X-Value Columns <user supplied> No Headers One column per channel Include the following controls inside the [Front Panel] window and reproduce the diagram shown in Figure 3. Figure 3. Front Panel. 5

2. Access the Functions-pallete, then a. [Right-click] while inside the front-panel window to show the Controls-pallete. b. Create a Push-Button Control : [Express] [Buttons & Switches] [Push Button], drop in front panel window, then change the caption from Boolean to Save Data. c. Create a Knob Control : [Express] [Numeric Controls] [Knob], drop in front panel window, then right-click on the knob control, then click-on [Visible Items] [Digital Display]. d. Create a Waveform Chart: [Express] [Graph] [Waveform Chart], drop in front panel window. Right-click on the chart then turn off the [Y-scale] [Autoscale Y] mode, and change the maximum and minimum value of the y-axis to +2 to -2. 3. Build the Wiring Connections Include the wire to connect the blocks in the [Block Diagram] windowas shown in Figure 4. 6

Remarks: Figure 4. Wiring connections. Frequently, a wire may become broken. This is usually marked by an X on the broken wires as shown in Figure 13. This means that the broken wire that has one unattached end. To remove all broken-wires in the Block-diagram window, press [CTRL-B]. Figure 5. A broken wire. 4. Save the VI 5. Run/Test the VI project. [Click] the Run button to run the VI (see Figure 6). 7

. Figure 6. Run Button a. Try moving the knob to change the periods and observe how the wave changes. b. Try to set the period to a value to 5.0 secs. Let the wave settle to periodic response, then click on [Save Data] button. c. Click on the [Stop] button. d. Open an Excel file then plot the data to verify that the period is indeed 5.0 secs. 8