ENGR 1000, Introduction to Engineering Design

Size: px
Start display at page:

Download "ENGR 1000, Introduction to Engineering Design"

Transcription

1 ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.2: Programming Line Inputs with Boolean Values Hardware: 12 VDC power supply Several lengths of wire NI-USB 6008 Device with USB cable Digital I/O Interface Board for the NI-USB 6008 Device Traffic light Objectives: Work effectively in a cooperative learning environment. Explain the function of arrays with the use of the DAQ Assistant s digital lines. Connect NI USB-6008 device, the Digital I/O Interface, and switches to read digital inputs. Write a simple program in LabVIEW to control inputs and outputs using the following new commands: DAQ Assistant (digital port input) Case Structure (Boolean) Case Structure (Numeric) Index Array Boolean Indicator Boolean Array to Number Numeric Indicator 1

2 Data Acquisition and Control Hardware Wiring Digital Inputs As discussed in the previous lesson, the right side of the NI USB-6008 device provides connection to 12 digital input/output (DIO) channels. For this lesson, we will add port 1 to our programming experience. Port 1 consists of four channels (P0.0-3) that default as inputs set high. We will program the lines of port 1 as inputs and invert them in order to read the press of a button as high. The bottom four channels of the digital I/O interface board are circuits for reading inputs to the NI USB These circuits allow an electronic single from the USB-6008 device to travel through a remote switch and indicate a digital high when the switch is closed. In addition, a yellow LED will light indicating a closed circuit or high channel. Connecting digital inputs to the system is very easy after completing the previous lesson on programming digital outputs. All previous connections will be the same including: the connection of the USB-6008 device to the USB port of the computer; the GND and +5V wires from the USB-6008 device to the digital I/O interface; the external power supply to the digital I/O interface; and, the traffic lights to the output channels of the digital I/O interface (see picture below). For safety concerns, remember to unplug the NI USB-6008 device and the external power supply from its 120 VAC source when making these connections. The additional connections are for wiring the digital inputs. For this lesson, we will connect the two toggle-style push-button switches to channels P1.0 and P1.3. To begin, connect a wire from channel P1.0 on the USB-6008 device to the USB/DI terminal on the first input channel of the digital I/O interface. Connect a second wire from P1.3 of the NI device to the USB/DI terminal on the second input channel of the interface. On the right side of the digital I/O interface, at terminals IN1 and IN2, connect two toggle-style pushbutton switches. See the picture below. 2

3 Programming LabVIEW Port Inputs Using Numeric Values A Word on Arrays The DAQ Assistant has been designed to be relatively easy to configure and to be functional with other National Instruments data acquisition and control devices. Although the DAQ Assistant is easy to configure, it can be confusing for first time programmers. The initial confusion resides in the DAQ Assistant s use of arrays, sometimes using numeric values and other times using Boolean values. The most important thing to understand about the DAQ Assistant is the way it is set up to communicate. Whether it is used as an input or output device, the digital side of the instrument requires the use of an array. To visualize this, think of an array as a series of something for example, the following series of numbers: If you look at all these numbers together, it looks like one large number. However, if we separate them in boxes with the least significant number on top, it looks like an array of individual numbers. 3 0 th element 4 1 st element 2 2 nd element 8 3 rd element 4 4 th element Each separate number represents an element in the array. The first element in this array is the 0 th element, which holds the value of 3. The 8 in this array is the 3 rd element. In this lesson, we will use a command called Index Array which will return the value of one single element in an array. This command will be used often in later lessons. When the DAQ Assistant is set up for the NI USB-6008, an array is made. With only one NI USB-6008 device connected, this array can have anywhere from zero to twelve elements. Each element represents what is referred to as a channel. As a result, the digital side of the NI USB-6008 device can have up to 12 channels. A channel can be either a port or a line of the digital side of the instrument, depending on how it is set up. If set up using ports, the values will be numeric; if set up as lines, the values will be Boolean. Thus far, we have used only the line capability. This causes the input or output of the DAQ to be an array of Boolean values instead of numeric values. If only one line is used, it becomes the first channel, or the 0 th element in the array. If additional lines are used, there would be two or more elements in the array. Each element represents the Boolean value of the corresponding line value. (Beware here because the element number does not necessarily represent the physical line. For instance in this lesson we will set up P1.3 as the second input line. This will make the array index for this value 1 and not 3.) In this lesson, we will continue using lines as channels and use Boolean values to read inputs and control outputs. To avoid complex Boolean conditions we will introduce a Boolean Array to Number command that will change our Boolean array into a numeric value. 3

4 Programming a Single Input Example 1 The first program will perform the following sequence after an input switch is activated: Conditions Switch 1 is high Switch 1 is low Traffic Light Sequence turn on the red and green lamps for 1/2 second turn on the yellow lamp for 1/2 second repeat the sequence (Note: program the sequence so all lamps are off when the stop button is selected) All lamps are off Wire the red lamp of the traffic light to port 0 line 0, the yellow lamp to port 0 line 1, and the green lamp to port 0 line 2. Wire a toggle switch to port 1 line 0. We will begin programming with a While Loop as our base structure or the outer most structure. To begin, insert a While Loop in the Block Diagram. See the previous lesson if unsure of the procedure. Programming a DAQ Assistant as a Digital Port Input In the last lesson, the DAQ Assistant was used to interface the software with the hardware outputs. The same command, with a different configuration, will be used to interface the software with the hardware inputs. The primary difference between a digital output and a digital input is how the line or channel is addressed. When programming outputs, a value is sent to the port to turn channels on or off. When programming inputs, a value is read from the port that indicates its status telling us which channels are high or low. Using the Functions Palette, navigate to the DAQ Assistant command and place inside the While Loop. The location of the DAQ Assistant can be viewed in the diagram below. The DAQ Assistant command will initialize, and the Create New Express Task window will open. Select and open the Digital I/O submenu from the list of options on the right. Select Line Input from the submenu. Select port1/line0 and port1/3 from the Supported Physical Channels and select Finish. (To select multiple lines, hold down the ctrl key while using the mouse to select the different lines.) The DAQ Assistant window will open. This time, check the Invert Line box for both lines. (In the upper left box of the DAQ Assistant window select DigitalIn0 and select the box, then select DigitalIn1 and check the box for that line as well.) The configuration should also have 1 Sample (On Demand) selected. To finish the configuration, select OK in the lower right corner. The DAQ Assistant will take a moment to configure. To help with the interpretation of your program, change the name of the DAQ Assistant following the procedure described in the previous lesson. This time name it P1.0,3 IN, identifying it as an input controlling port 1, lines 0 and 3. 4

5 Isolating Port 1 Line 0 (P1.0) as an Input The DAQ Assistant is capable of utilizing an array of values, but for our example we will only be using the 0 th element. As a result, we must first isolate the line we configured in P1.0,3 IN (P1). from the array of potential lines. This will be accomplished by using the Index Array command. Begin by opening the Programming menu on the Functions Palette and selecting the Array submenu. Select the Index Array command and place to the lower right of P1. Wire the data bar of P1 to the array node of the Index Array. Create a numeric constant for the Index Array by hovering over the index node, right clicking, and selecting Create and Constant from the submenu. Keep the value 0 of the Numeric Constant to select the first element/channel, or the first line configured from the array of potential lines. Create a Boolean Indicator in the Front Panel A Boolean Indicator will be used to display the value of the line we have configured for our input. The value will be displayed on the Front Panel for the convenience of the operator as an LED. The binary equivalent of this LED's value is representative of the status of the line, 0 or 1, low or high, off or on. To program a Boolean Indicator, hover over the element node of the Index Array command, right click and select Create and Indicator in the submenu. This will place an indicator icon in the Block Diagram and an indicator on the Front Panel. The indicator placed on the Front Panel may not be initially obvious. You may need to look behind menus or scroll to find it. After locating the indicator, drag it to a more convenient location (e.g., below the stop button). Finally, change the name of the indicator in the Front Panel to be more descriptive of its function. Double click on the name and type in P1.0 IN. Both the Front Panel and Block Diagram should look similar to the diagrams below. 5

6 Running the Program The program can be run by selecting the Run arrow on the Front Panel s tool bar. The virtual indicator will monitor status of port 1 (input 1), and its value (0 or 1/false or true/low or high/off or on) will change as the switch is toggled. Stop the program by pressing the stop button associated with the While Loop. This would be a good time to name and begin saving your program. Programming a Case Structure for a Boolean Input A case structure is similar to a flat or sequence structure, previously programmed, in that there are two frames, called cases for a case structure, with sub diagrams placed inside. The difference is that the content of a single case is run only when its value is equal to the input value of the structure. We will be using a Boolean Case Structure. To insert a Case Structure, open the Programming menu on the Functions Palette and select the Structures submenu. Select the Case Structure and insert it within the While Loop using a left click and drag technique. Wire the output of the Index Array to the selector terminal (question mark) of the Case Structure. Your program should look similar to the graphic below. Programming the Digital Outputs The rest of the program will utilize programming commands and techniques previously taught. See the previous lesson if unsure of the procedures. 6

7 In Case 1 of the Case Structure, create the following stacked sequence, frames 0-2. frame 0 turn on red & green lamp for 1/2 second frame 1 turn on yellow lamp for 1/2 second frame 2 turn off all lamps (at the speed of light or the speed of your computer s processor, whichever is faster) In Case 0, Default of the Case Structure, turn off all outputs using the DAQ Assistant as shown on the right. Running and Debugging a Program Run the program and toggle the input switch to activate the programmed light sequence. While the program is running, select the Highlight Execution (light bulb) command from the tool bar of the Block Diagram. This will slow the execution of the program and show the logic values as the program steps through the nodes. This is very helpful when debugging a program. To turn off this feature, select the Highlight Execution command again. Once you have determined your program is running successfully, you should save it. Programming Multiple Inputs Example 2 The second program we will write will use a numeric case structure to perform multiple sequences based on the status of two input switches. The two sequences are as follows: 7

8 Conditions Switch 1 is high & Switch 2 is low Switch 1 is low & Switch 2 is high Switches 1 & 2 are low Traffic Light Sequence turn on the red and green lamps for 1/2 second turn on the yellow lamp for 1/2 second repeat the sequence turn on the red, yellow, and green lamps for 1 second turn off all lamps for 1/2 second repeat the sequence all lamps are off Wire the red lamp of the traffic light to port 0 line 0, the yellow lamp to port 0 line 1, and the green lamp to port 0 line 2. Wire two toggle switches, the first to port 1 line 0, and the second to port 1 line 3. Note: In order to save time, the wiring of the traffic light and the programming of the sequence for the first switch are the same as in example 1 of this lesson. Renaming and Saving a Program To begin, save the program in example 1 under a different name since it will be easier to modify the program used in example 1. From the Front Panel s menu bar, select File and the Save As command. The Save As window will appear. Keep the Copy option selected and also select Open Additional Copy. With both of these options selected, select Continue in the lower right corner of the window. On the next screen, rename the program and select OK. Both programs will be opened in LabVIEW; close the original program so as not to alter it. Changing a Boolean Array to a number Now that we have two switches our logic is more complicated than just true or false. This addition makes the Boolean Case Structure incompatible with what we want to accomplish. To adjust we will change our Boolean Array to a number using the Boolean Array to Number command and then change our Boolean Case Structure to a Numeric Case Structure. This will enable us to have more than two cases in our Case Structure. Before we add the command we must first make room for it. High light the Index Array command along with the Numeric Constant and the Boolean Indicator by using a click and drag to form a box around these commands. While they are highlighted press the Del key. To program a Boolean Array to Number command, navigate to the Programming menu and select the Boolean submenu. Select the Boolean Array to Number command and place it to the right of P1. It might wire automatically, but if it doesn't wire the Data bar of P1 to the left side of the command. Programming a Numeric indicator On the left side of the Boolean Array to Number command, right click and select Create and Indicator in the submenu. This will place an indicator icon in the Block Diagram 8

9 and an indicator on the Front Panel. The indicator placed on the Front Panel may not be initially obvious. You may need to look behind menus or scroll to find it. After locating the indicator, drag it to a more convenient location (e.g., below the stop button). Finally, change the name of the indicator in the Front Panel to be more descriptive of its function. Double click on the name and type in P1.0,3 IN. Changing the Boolean Case Structure to a Numeric Case Structure To change the case structure the only thing that needs to be done is to wire the right side of the Boolean Array to Number command to the selector (?) box on the Case Structure. Notice that the True case changed to a 1 case and the False case changed to a 0,default case. Both the Front Panel and Block Diagram should look similar to the diagrams below. Adding another Case to the Structure The final procedure will be to add a case after case 1. This is similar to duplicating frames in a stacked sequence. Right click on the border of case 1 and select Add Case After. Change the numeric value of the new case to 2 since this will represent the decimal equivalent of the Boolean value of switch 2 (P1.3). Complete the program by adding a Stacked Sequence Structure, DAQ Assistant with Boolean Constants, and Wait (ms) commands to case 2. Follow the procedure described in programming example 1 of this lesson. Case 2 should look similar to the graphics below. In our example program, we are only using three of the four possible cases with two switches (cases 0, 1, & 2). As the program is written now, when both switches are 9

10 pressed, the program runs the default case since the decimal equivalent of both switches would be 3 and we do not have a case equal to the value 3. An additional case could be developed for this program. If we had 3 switches, we would have a possibility of eight cases from the various combinations of switches. Another switch wired would represent the decimal value 4, and one more wired would represent the decimal value 8. We could build different cases by simply adding the decimal values of the various switches. Team Assignment As a team, write a program to perform the following sequences depending on the conditions of two toggle switches. Wire the traffic light and toggle switches as directed below. Conditions Switch 1 is high & Switch 2 is low Switch 1 is low & Switch 2 is high Switches 1 & 2 are high Switches 1 & 2 are low Traffic Light Sequence turn on the green lamp for 3 seconds turn on the yellow lamp for 1 second turn on the red lamp for 4 seconds repeat the sequence turn on the red lamp for 1 second turn off all lamps for 1 second repeat the sequence turn on the yellow lamp for 1 second turn off all lamps for 1 second repeat the sequence all lamps are off Wire the red lamp of the traffic light to port 0 line 0, the yellow lamp to port 0 line 2, and the green lamp to port 0 line 4. Wire switch 1 to port 1 line 1 and switch 2 to port 1 line 2. Save your program on a removable storage device under the name HW2-2T# (use your team number in place of the # symbol). Have the next person representing your team turn in your team assignment at the beginning of the next lab. Each person in your team should be able to perform this assignment and the lesson s objectives independently. Each of you will have an opportunity to demonstrate your knowledge independently on a quiz. A team is successful when all members are able to demonstrate the objectives. Have fun with the control technology and helping each other learn the material. 10

ENGR 1000, Introduction to Engineering Design

ENGR 1000, Introduction to Engineering Design ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.1: Programming Line Outputs for the NI USB-6008 in LabVIEW Hardware: 12 VDC power supply Several lengths

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

NAME EET 2259 Lab 3 The Boolean Data Type

NAME EET 2259 Lab 3 The Boolean Data Type NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,

More information

ECE 202 LAB 1 INTRODUCTION TO LABVIEW

ECE 202 LAB 1 INTRODUCTION TO LABVIEW Version 1.2 Page 1 of 16 BEFORE YOU BEGIN EXPECTED KNOWLEDGE ECE 202 LAB 1 INTRODUCTION TO LABVIEW You should be familiar with the basics of programming, as introduced by courses such as CS 161. PREREQUISITE

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

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

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 16 (v 1.2) Controlling hardware with DAQ device This exercise has two parts. First, simulate a traffic light circuit

More information

TECH 3821 Lab #2 Relay Driver with Computer Control

TECH 3821 Lab #2 Relay Driver with Computer Control TECH 3821 Lab #2 Relay Driver with Computer Control Name: Background: One of the most basic controls in industry is the ability to turn things on and off. As we saw in Lab #1, a relay is often used to

More information

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

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

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

Hands-on Lab 1: LabVIEW NI-DAQ Basics 1 Hands-on Lab 1: LabVIEW NI-DAQ Basics 1 This lab reviews LabVIEW concepts needed towards the course s final objective of position regulation using computer-controlled state feedback. Specific LabVIEW concepts

More information

Layers (Just the Basics) By Jerry Koons

Layers (Just the Basics) By Jerry Koons and their applications are always a topic of concern and confusion, especially to those that are new to the Photoshop and Elements programs. will become one of your best tools after you understand their

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 instrumentoinnissa, 55492, 3op Labview in instrumentation

LabView instrumentoinnissa, 55492, 3op Labview in instrumentation LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, heikki.ojala@helsinki.fi, room C204a Physicum Teaching assistant: Hannu Koskenvaara, hannu.koskenvaara@helsinki.fi,

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

Part 1. Creating an Array of Controls or Indicators

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

More information

WEEK NO. 12 MICROSOFT EXCEL 2007

WEEK NO. 12 MICROSOFT EXCEL 2007 WEEK NO. 12 MICROSOFT EXCEL 2007 LESSONS OVERVIEW: GOODBYE CALCULATORS, HELLO SPREADSHEET! 1. The Excel Environment 2. Starting A Workbook 3. Modifying Columns, Rows, & Cells 4. Working with Worksheets

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

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

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 1 (v 1.3) Setup The user interface of LabView is highly customizable. How this is done is a personal preference. For

More information

Introduction to LabVIEW

Introduction to LabVIEW Introduction to LabVIEW How to Succeed in EE 20 Lab Work as a group of 2 Read the lab guide thoroughly Use help function and help pages in LabVIEW Do the Pre-Lab before you come to the lab Don t do the

More information

Windows XP. A Quick Tour of Windows XP Features

Windows XP. A Quick Tour of Windows XP Features Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating

More information

FRC LabVIEW Sub vi Example

FRC LabVIEW Sub vi Example FRC LabVIEW Sub vi Example Realizing you have a clever piece of code that would be useful in lots of places, or wanting to un clutter your program to make it more understandable, you decide to put some

More information

EZware Quick Start Guide

EZware Quick Start Guide EZware Quick Start Guide Your Industrial Control Solutions Source www.maplesystems.com For use as the following: Evaluation Tool for Prospective Users Introductory Guide for New Customers Maple Systems,

More information

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename. Excel 2010 Worksheet Basics Introduction Page 1 Every Excel workbook contains at least one or more worksheets. If you are working with a large amount of related data, you can use worksheets to help organize

More information

Above Threshold Warning of Temperature Data

Above Threshold Warning of Temperature Data Above Threshold Warning of Temperature Data Exercise 6 Completed front panel and block diagram. The hidden case Celsius is also shown in this picture. In the following exercise, you will create a program

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

A. Front Panel Design Lesson 4 Implementing a VI

A. Front Panel Design Lesson 4 Implementing a VI A. Front Panel Design Lesson 4 Implementing a VI Inputs and outputs lead to front panel design Retrieve the inputs by the following methods: TOPICS A. B. C. D. E. F. Front Panel Design LabVIEW Data Types

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

Road Traffic Collisions Tableau Dashboard Answering Key Questions General

Road Traffic Collisions Tableau Dashboard Answering Key Questions General Road Traffic Collisions Tableau Dashboard Answering Key Questions General Overview Changing the look and feel of the graphs is possible within Tableau, this allow a user to either: - Delve further into

More information

EXERCISE 1-IDENTIFY COMPUTER S DRIVES (YOUR STORAGE

EXERCISE 1-IDENTIFY COMPUTER S DRIVES (YOUR STORAGE EXERCISE 1-IDENTIFY COMPUTER S DRIVES (YOUR STORAGE DEVICES) 1. Place USB in USB port. 2. Open your computer s folder. 3. Notice the drives that are available. 4. If you cannot see drives or folders do

More information

Anatomy of a Window (Windows 7, Office 2010)

Anatomy of a Window (Windows 7, Office 2010) Anatomy of a Window (Windows 7, Office 2010) Each window is made up of bars, ribbons, and buttons. They can be confusing because many of them are not marked clearly and rely only on a small symbol to indicate

More information

Excel Tables and Pivot Tables

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

More information

PowerPoint Introduction

PowerPoint Introduction PowerPoint 2010 Introduction PowerPoint 2010 is a presentation software that allows you to create dynamic slide presentations that can include animation, narration, images, and videos. In this lesson,

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

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

Application State Machine

Application State Machine Application State Machine Project In this tutorial, create a real, working program to help you learn how to develop programs for your own applications in the future. This tutorial guides you through writing

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

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

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

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

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

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

Using Windows 7 Explorer By Len Nasman, Bristol Village Computer Club

Using Windows 7 Explorer By Len Nasman, Bristol Village Computer Club By Len Nasman, Bristol Village Computer Club Understanding Windows 7 Explorer is key to taking control of your computer. If you have ever created a file and later had a hard time finding it, or if you

More information

Introduction. Slide Basics. PowerPoint 2010 Slide Basics. Video: Slide Basics in PowerPoint About Slides. Page 1

Introduction. Slide Basics. PowerPoint 2010 Slide Basics. Video: Slide Basics in PowerPoint About Slides. Page 1 PowerPoint 2010 Slide Basics Introduction Page 1 PowerPoint includes all of the features you need to produce professionallooking presentations. When you create a PowerPoint presentation, it is made up

More information

DW DIGs Model Windows Tricks

DW DIGs Model Windows Tricks Window Menu 1. Window > Cascade Windows All open windows that aren't minimized at the bottom of the screen will be offset diagonally so you can see the title bar of each. 2. Window > Tile Windows All open

More information

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GOAL To introduce the physical implementation of digital logic circuits including

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

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

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

HYPERSTUDIO TOOLS. THE GRAPHIC TOOL Use this tool to select graphics to edit. SPRAY PAINT CAN Scatter lots of tiny dots with this tool.

HYPERSTUDIO TOOLS. THE GRAPHIC TOOL Use this tool to select graphics to edit. SPRAY PAINT CAN Scatter lots of tiny dots with this tool. THE BROWSE TOOL Us it to go through the stack and click on buttons THE BUTTON TOOL Use this tool to select buttons to edit.. RECTANGLE TOOL This tool lets you capture a rectangular area to copy, cut, move,

More information

Project Example Using LookoutDirect as an OPC Client

Project Example Using LookoutDirect as an OPC Client Project Example Using LookoutDirect as an OPC Client Introduction The following is an example of how the KEPDirect OPC Server software allows you to connect your device with your favorite OPC Client. For

More information

User Guide. General Navigation

User Guide. General Navigation User Guide General Navigation Table of Contents INTRODUCTION 2 TECHNICAL REQUIREMENTS 3 Screen Display for Laptop 3 Screen Display for Desktop PC 3 NAVIGATION 4 Contact Us 4 Log Out 4 Menu > Sub Menu Display

More information

ni.com Preparing for the CLAD Exam

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

More information

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

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

Learning to use the drawing tools

Learning to use the drawing tools Create a blank slide This module was developed for Office 2000 and 2001, but although there are cosmetic changes in the appearance of some of the tools, the basic functionality is the same in Powerpoint

More information

WELCOME TO LabVIEW 1

WELCOME TO LabVIEW 1 WELCOME TO LabVIEW 1 ELECTRICAL ENGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California, Berkeley SIMON HONG, HSIN-I LIU, JONATHAN KOTKER, AND BABAK AYAZIFAR

More information

Excel 2010: Getting Started with Excel

Excel 2010: Getting Started with Excel Excel 2010: Getting Started with Excel Excel 2010 Getting Started with Excel Introduction Page 1 Excel is a spreadsheet program that allows you to store, organize, and analyze information. In this lesson,

More information

Interactive Powerpoint. Jessica Stenzel Hunter Singleton

Interactive Powerpoint. Jessica Stenzel Hunter Singleton Interactive Powerpoint Jessica Stenzel Hunter Singleton Table of Contents iii Table of Contents Table of Contents... iii Introduction... 1 Basics of Powerpoint... 3 How to Insert Shapes... 3 How to Insert

More information

IntelliTools Classroom Suite on Tech-Mod Computers

IntelliTools Classroom Suite on Tech-Mod Computers IntelliTools Classroom Suite on Tech-Mod Computers For MCPS Teachers and Staff How-to Guide C. Hunter, InterACT Special Education Teacher, September 2007 About IntelliTools Classroom Suite Classroom Suite

More information

User s Guide

User s Guide User s Guide 03.28.2017 Accessing Pathfinder Edge Pathfinder Edge can be accessed from anywhere you have an internet connection and a web browser. To ensure the best performance, we recommend using Pathfinder

More information

Introduction to Personal Computing

Introduction to Personal Computing Introduction to Personal Computing Academic Computing Services www.ku.edu/acs Abstract: This document explains the basics of the Microsoft Windows operating system. It is intended for users who are either

More information

The PCC CIS etutorial to Windows

The PCC CIS etutorial to Windows The PCC CIS etutorial to Windows Table of Contents What do I see when I start my computer?...3 What is the desktop?...4 What is the start menu?...5 How do I adjust my windows?...6 How do I minimize a window?...6

More information

the NXT-G programming environment

the NXT-G programming environment 2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots

More information

Introduction to LabVIEW

Introduction to LabVIEW Introduction to LabVIEW 1 Introduction 1.1 Aims The following material is a short introduction to LabVIEW and it aims for you to: familiarise with the LabVIEW programming environment including front panel

More information

Introduction to Mercury

Introduction to Mercury Introduction to Mercury The Cambridge Crystallographic Data Centre (CCDC) distributes Mercury, which is a program that can be used to view and analyze crystal structure data. We will be using it over the

More information

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

Shift Register: Exercise # 1: Shift Register Example VI. 1. Build the following front panel. Figure (8.1): Shift register exercise front panel Experiment # 8: Shift Register and arrays Shift Register: Use shift register on for loops and while loops to transfer values from one loop to the next, create a shift register by right clicking the left

More information

COS 116 The Computational Universe Laboratory 8: Digital Logic II

COS 116 The Computational Universe Laboratory 8: Digital Logic II COS 116 The Computational Universe Laboratory 8: Digital Logic II In this lab you ll learn that, using only AND, OR, and NOT gates, you can build a circuit that can add two numbers. If you get stuck at

More information

ROBOLAB Tutorial MAE 1170, Fall 2009

ROBOLAB Tutorial MAE 1170, Fall 2009 ROBOLAB Tutorial MAE 1170, Fall 2009 (I) Starting Out We will be using ROBOLAB 2.5, a GUI-based programming system, to program robots built using the Lego Mindstorms Kit. The brain of the robot is a microprocessor

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 22.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

Robolab. Table of Contents. St. Mary s School, Panama. Robotics. Ch. 5: Robolab, by: Ernesto E. Angulo J.

Robolab. Table of Contents. St. Mary s School, Panama. Robotics. Ch. 5: Robolab, by: Ernesto E. Angulo J. Robolab 5 Table of Contents Objectives...2 Starting the program...2 Programming...3 Downloading...8 Tools...9 Icons...9 Loops and jumps...11 Multiple tasks...12 Timers...12 Variables...14 Sensors...15

More information

PowerPoint Introduction. Video: Slide Basics. Understanding slides and slide layouts. Slide Basics

PowerPoint Introduction. Video: Slide Basics. Understanding slides and slide layouts. Slide Basics PowerPoint 2013 Slide Basics Introduction PowerPoint presentations are made up of a series of slides. Slides contain the information you will present to your audience. This might include text, pictures,

More information

Using Excel 2001 to Create a Data Table 11 of 29

Using Excel 2001 to Create a Data Table 11 of 29 Using Excel 2001 to Create a Data Table 11 of 29 3 Click on cells A8 and A9. Notice the calculator automatically adds the contents of the cells you click on. You can override the addition by choosing a

More information

1. The PowerPoint Window

1. The PowerPoint Window 1. The PowerPoint Window PowerPoint is a presentation software package. With PowerPoint, you can easily create slide shows. Trainers and other presenters use slide shows to illustrate their presentations.

More information

Appendix E: Software

Appendix E: Software Appendix E: Software Video Analysis of Motion Analyzing pictures (movies or videos) is a powerful tool for understanding how objects move. Like most forms of data, video is most easily analyzed using a

More information

Computer Essentials Session 1 Lesson Plan

Computer Essentials Session 1 Lesson Plan Note: Completing the Mouse Tutorial and Mousercise exercise which are available on the Class Resources webpage constitutes the first part of this lesson. ABOUT PROGRAMS AND OPERATING SYSTEMS Any time a

More information

Arrows and Watermark

Arrows and Watermark Arrows and Watermark Alex Bodnar Period: Directions: The purpose of these two activities are to create objects/elements that will help you to better explain your instructions to people reading your tutorial.

More information

Copyright 2018 MakeUseOf. All Rights Reserved.

Copyright 2018 MakeUseOf. All Rights Reserved. 15 Power User Tips for Tabs in Firefox 57 Quantum Written by Lori Kaufman Published March 2018. Read the original article here: https://www.makeuseof.com/tag/firefox-tabs-tips/ This ebook is the intellectual

More information

Changing Button Images in Microsoft Office

Changing Button Images in Microsoft Office Changing Button Images in Microsoft Office Introduction This document deals with creating and modifying the button images used on Microsoft Office toolbars. Rarely is there a need to modify a toolbar button

More information

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

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

More information

Program and Graphical User Interface Design

Program and Graphical User Interface Design CHAPTER 2 Program and Graphical User Interface Design OBJECTIVES You will have mastered the material in this chapter when you can: Open and close Visual Studio 2010 Create a Visual Basic 2010 Windows Application

More information

EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation

EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation Introduction In this project, you will begin to explore the digital simulation tools of the Mentor Graphics package available on the

More information

Training Kit for HP 1660/70 Series Logic Analyzers

Training Kit for HP 1660/70 Series Logic Analyzers Training Guide Publication Number E2433-97034 First Edition, November 1997 For Safety information, Warranties, and Regulatory information, see the pages behind the Index. Copyright Hewlett-Packard Company

More information

Lesson 4 Page Styles

Lesson 4 Page Styles Lesson 4 Page Styles The Concept of Styles: Styles: In the context of LibreOffice Writer, Styles refers to the characteristics of a part of a document. For example, a Page Style includes information about

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

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

Excel 2016 Basics for Mac

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

More information

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module.

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module. OS X Welcome to the OS X Basics Learning Module. This module will teach you the basic operations of the OS X operating system, found on the Apple computers in the College of Technology computer labs. The

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

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

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ) Spring 2015 LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ) Experiment Objectives Experience LabVIEW capabilities through learning exercises that design and implement

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

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

BE/EE189 Design and Construction of Biodevices Lecture 1. BE/EE189 Design and Construction of Biodevices - Caltech BE/EE189 Design and Construction of Biodevices Lecture 1 LabVIEW Programming Basics Virtual instrument and LabVIEW The LabVIEW development environment Basic programming with LabVIEW Navigation window Property

More information

TUTORIAL #2 HIERARCHICAL DESIGNS AND TEST FIXTURES

TUTORIAL #2 HIERARCHICAL DESIGNS AND TEST FIXTURES Introduction to Active-HDL TUTORIAL #2 HIERARCHICAL DESIGNS AND TEST FIXTURES This tutorial will use the 1-bit full adder you designed in Tutorial #1 to construct larger adders. This will introduce the

More information

An Animated Scene. Pick a color for the street. Then use the Paint can to fill the lower part of the page with grass.

An Animated Scene. Pick a color for the street. Then use the Paint can to fill the lower part of the page with grass. An Animated Scene In this project, you create a simple animated scene with graphics, a bit of text, a simple animation and some music. Click on the Steps below and be creative! Remember: if you must leave

More information

Lesson 6 Adding Graphics

Lesson 6 Adding Graphics Lesson 6 Adding Graphics Inserting Graphics Images Graphics files (pictures, drawings, and other images) can be inserted into documents, or into frames within documents. They can either be embedded or

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

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

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

Part 2 Add Frame, Arrow, Painted Text.

Part 2 Add Frame, Arrow, Painted Text. Part 2 Add Frame, Arrow, Painted Text. You can use the same Picture on PicPick, or add a new one as I showed you in Step 2 - Part 1. As I mentioned before in Step 2 - Part 1, if you don't have PicPick,

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