LabVIEW Basics Peter Avitabile,Jeffrey Hodgkins Mechanical Engineering Department University of Massachusetts Lowell

Similar documents
Lab 1B LabVIEW Filter Signal

Laboratory Experiment #1 Introduction to Spectral Analysis

II. LAB. * Open the LabVIEW program (Start > All Programs > National Instruments > LabVIEW 2012 > LabVIEW 2012)

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Development of 4/16-Channel Data Acquisition System Using Lab VIEW

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006

Introduction to Simulink

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Lab 15: Lock in amplifier (Version 1.4)

Chapter 4: Displaying Waveforms

Lab #2 First Order RC Circuits Week of 27 January 2015

DIGITAL SIGNAL PROCESSING TOOLS VERSION 4.0

Let s start by making a pencil, that can be used to draw on the stage.

Auntie Spark s Guide to creating a Data Collection VI

LAB #7: Digital Signal Processing

Harmonic Distortions Analyzer for Power Rectifiers

Let s start by making a pencil that can be used to draw on the stage.

PHYC 500: Introduction to LabView. Exercise 9 (v 1.1) Spectral content of waveforms. M.P. Hasselbeck, University of New Mexico

SpinCore RadioProcessor LabVIEW Extensions

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

LAB II. INTRODUCTION TO LABVIEW

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

University of Pennsylvania Department of Electrical and Systems Engineering Digital Audio Basics

1 Placing particles on the slide

Ansoft Designer Tutorial ECE 584 October, 2004

Dept. of Electrical, Computer and Biomedical Engineering. Inverting and non inverting amplifier

PC Digital Data Acquisition

Experiment Guide: RC/RLC Filters and LabVIEW

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

Mini Mixer. Learn It! Build It! Core Concept Instructor Set. Materials:

Create a Flowchart in Word

Use of the LTI Viewer and MUX Block in Simulink

Inserting Images Into Documents

Introduction to Simulink Assignment Companion Document

Voltage Current and Resistance II

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

Music Production. Summer Music Technology - Day 1. July 8, 2013

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Digital Photography 1

ADDING RAIN TO A PHOTO

LabVIEW Day 2: Other loops, Other graphs

CPM Educational Program

LAB Week 7: Data Acquisition

Faculty of Information Engineering & Technology. The Communications Department. Course: Advanced Communication Lab [COMM 1005] Lab 6.

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson

Creating Computer Games

House Design Tutorial

House Design Tutorial

Fig. 1. NI Elvis System

UCE-DSO210 DIGITAL OSCILLOSCOPE USER MANUAL. FATIH GENÇ UCORE ELECTRONICS REV1

LLS - Introduction to Equipment

Laboratory Preliminaries and Data Acquisition Using LabVIEW

EKT 314/4 LABORATORIES SHEET

CPM Educational Program

Jing PDF Tutorial Template

BIO 365L Neurobiology Laboratory. Training Exercise 1: Introduction to the Computer Software: DataPro

Setting up a Multi sine impedance measurement

Laboratory Preliminaries and Data Acquisition Using LabVIEW

EC-3: Capacitors and RC-Decay

IMAGE PROCESSING FOR EVERYONE

Kitchen and Bath Design Tutorial

LabVIEW 8" Student Edition

CPM Educational Program

Lab VIEW Programming for Vibration Analysis

Kitchen and Bath Design Tutorial

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

Photoshop CS6. Table of Contents. Image Formats! 3. GIF (Graphics Interchange Format)! 3. JPEG or JPG (Joint Photographic Experts Group)!

Tutorial: Gradient Noise Reduction

INTRODUCTION TO AGILENT VEE

UCE-DSO212 DIGITAL OSCILLOSCOPE USER MANUAL. UCORE ELECTRONICS

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

House Design Tutorial

EE 210 Lab Exercise #3 Introduction to PSPICE

PHOTOSHOP. Introduction to Adobe Photoshop

Easy Transfer Function Measurements with LabVIEW 6i (Lab Skill Exercise X-1)

Motion Simulation - The Moving Man

Setting Up a Matrix/Template in the Vienna Instruments Player

SigCal32 User s Guide Version 3.0

1.5k. (a) Resistive Circuit (b) Capacitive Circuit

LTSpice Basic Tutorial

Getting Started. Before You Begin, make sure you customized the following settings:

Confocal Raman Microscopy (WITec Alpha 300R)

Acoustics, signals & systems for audiology. Week 4. Signals through Systems

MultiSim and Analog Discovery 2 Manual

Creating a Watercolor Painting From a Photo. Open the photo you want to appear to be a watercolor painting. I am using the photo below:

IGNITE BASICS V1.1 19th March 2013

by Santiago Salazar Chris Paulino 12/15/11 Florida Gulf Coast University Dr. Zalewski

BIOMEDICAL SIGNAL PROCESSING (BMSP) TOOLS

Experiment 1 Introduction to MATLAB and Simulink

Recording your Voice Tutorials 2 - Setting the Computer Setting Audacity Wayne B. Dickerson

Spectrum Analysis: The FFT Display

GIMP is perhaps not the easiest piece of software to learn: there are simpler tools for generating digital images.

Notes on Experiment #1

Physics 4B, Lab # 2 Circuit Tools and Voltage Waveforms

House Design Tutorial

OVERVIEW: learning the basics of digital image manipulation using GIMP

Transcription:

LabVIEW Basics Peter Avitabile,Jeffrey Hodgkins Mechanical Engineering Department University of Massachusetts Lowell 1 Dr. Peter Avitabile

LabVIEW LabVIEW is a data acquisition software package commonly used with hardware acquisition boards LabVIEW has many features for data acquisition and processing of either measured data or simulated signals. 2 Dr. Peter Avitabile

LabVIEW Start Up LabVIEW will be explored using some simple signals 3 Dr. Peter Avitabile

LabVIEW Start Up LabVIEW will be explored using some simple signals NEW template selector or click on arrow for either NEW, blank vi, or recently accessed 4 Dr. Peter Avitabile

LabVIEW Blank vi Two windows appear Block Diagram & Front Panel 5 Dr. Peter Avitabile

LabVIEW Front Panel Right mouse click to open important Controls palette These include graphical controls, knobs, sliders, text boxes,leds, switches, and other specialty items NOTE: Sub-categories may be available for each layer 6 Dr. Peter Avitabile

LabVIEW Block Diagram Right mouse click to open important Functions palette These include acquisition tools, signal analysis, output devices, programming tools, arithmetic operators, and other processing tools NOTE: Sub-categories may be available for each layer 7 Dr. Peter Avitabile

LabVIEW HELP - Exists in several forms HELP -> Show Context HELP Window reports general use characteristics for each icon the mouse passes over 8 Dr. Peter Avitabile

LabVIEW HELP - Exists in several forms WINDOWS -> Show Tools Palette Extremely useful panel for assigning a specific tool function to the mouse. 9 Dr. Peter Avitabile

LabVIEW HELP - Exists in several forms HELP -> VI, function & how to Find examples 10 Dr. Peter Avitabile

LabVIEW Tutorial (Getting Started) Tutorial Name: Generate, Analyze, and Display 11 Dr. Peter Avitabile

LabVIEW Starting Front Panel Front Panel has a display for output 12 Dr. Peter Avitabile

LabVIEW Starting Block Diagram Block Diagram illustrates how system is assembled. 13 Dr. Peter Avitabile

LabVIEW Tutorial (Getting Started) Relationship between Block Diagram and Front Panel 14 Dr. Peter Avitabile

LabVIEW Simulate Signal A sine signal is generated using Simulate Signal Double click for properties Sine at 10 Hz with 1 volt peak and offset at 0.25 Sampling 1024 samples per second and 512 samples 15 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Signals can be interrogated Amplitude Level Measurement Double click for properties Measurements of DC, RMS, peak, etc can be obtained 16 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Operators These have selectable elements based on desired parameters of interest Indicators Are used to export output to the front panel Many tools available 17 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements As items are added to each of the Functions, Indicators and Controls, these selected items will appear in the Front Panel and/or Block Diagram. These need to be wired into the diagram and initial parameters identified. 18 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Controls These have selectable elements used for changing parameters of interest Operators These have selectable elements based on desired parameters of interest You can change the data range of the control by right-clicking on control and selecting Properties. Adjust Data Range and Scale tabs. Many tools available 19 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Add several features such as Input Box for DC offset of sine wave Dial for Frequency Controls Slider for Amplitude 20 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Select another output parameter such as DC Notice RMS is already hooked up but DC needs to be attached to some output device 21 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Create a dial to change frequency. Expand the simulate signal VI by clicking and dragging the gray arrow on the bottom of the icon. Create control 22 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Create a dial to change frequency. To change to a dial, right-click on control and: Can change range, scale, precision, etc. by right-clicking on dial, and selecting properties 23 Dr. Peter Avitabile

LabVIEW Amplitude and Level Measurements Create a slider to change amplitude. Follow the previous steps for creating a dial, only this time do it for the amplitude property of the simulate signal VI. Also select Pointer Slide instead of Dial Can change range, scale, precision, etc. by right-clicking on slider, and selecting properties 24 Dr. Peter Avitabile

LabVIEW FFT Express VI Now the time signal can be converted to the frequency domain using the Spectral Measurements Block It can by found in: 25 Dr. Peter Avitabile

LabVIEW FFT Express VI A parameter window will appear once VI is placed on wire diagram. Here you can set desired output formats, windows, averages, etc. 26 Dr. Peter Avitabile

LabVIEW FFT Express VI Wire in the signal to be analyzed, and wire out graph indicators to display amplitude and phase. From Simulate Signal 27 Dr. Peter Avitabile

LabVIEW FFT Express VI The resulting front panel display is: 28 Dr. Peter Avitabile

LabVIEW Task to be performed Start a new VI and generate a sine wave with both amplitude and frequency input controls take the FFT of the sine wave (select the sine wave to satisfy the periodicity requirements of the Fourier Transform) Generate harmonics of that sine wave to ultimately form a representation of a square wave in both the time and frequency domain Create a square wave that represents the true time and frequency of the signal for comparison (Here are a few extra things you ll need to know) 29 Dr. Peter Avitabile

LabVIEW Extras While Loop In order to have a program that will continue running and stop when a stop button is pressed, a while loop can be used. Note: Unless in emergency situations, never use the abort button. Always program in a stop button. 30 Dr. Peter Avitabile

LabVIEW Extras Summing Signals In order to sum signals together: - Make sure each signal has the same number of samples - Limited to only adding to signals together at a time Add Block 31 Dr. Peter Avitabile

LabVIEW Extras Manipulating Multiple Signals In order to run multiple signals through a VI (FFT, Waveform Graph ) signals must be run through a merge block. Merge Block The block can be resized to allow for more than two signals 32 Dr. Peter Avitabile

LabVIEW Task to be performed Generate a low pass filter (1 st order Butterworth) and apply it to your square wave approximation. You may want to investigate higher order filters as well. Select a cutoff frequency (that is variable via a control) to filter the higher frequencies of the summed Fourier series of sine waves. Modify the low pass filter to make it a band pass filter for viewing tight bands around each sine wave that makes up the terms of the Fourier series. Note the effects of the filter on both the time and frequency signals. (Here are a few extra things you ll need to know) 33 Dr. Peter Avitabile

LabVIEW Extras Filter block Filtering of input signals can be done by using the Filter Block found in: 34 Dr. Peter Avitabile

LabVIEW Extras Filter block A parameter window will appear once VI is placed on wire diagram. Here you can set desired filter type, cutoff frequencies, topologies, etc. 35 Dr. Peter Avitabile