File Storage Techniques in LabVIEW

Size: px
Start display at page:

Download "File Storage Techniques in LabVIEW"

Transcription

1 File Storage Techniques in LabVIEW Starting with a set of data as if it were generated by a daq card reading two channels and 10 samples per channel, we end up with the following array: Note that the first radix is the channel increment, and the second radix is the sample number. We will use this data set for all the following examples. The first option is to send it directly to a spreadsheet file. spreadsheet save of 2D data.png The data is wired to the 2D array input and all the defaults are taken. This will ask for a file name when the program block is run, and create a file with data values, separated by tab characters, as follows: Note that each value is in the format x.yyy, with the y's being zeros. The default format for the write to spreadsheet VI is "%.3f" which will generate a floating point number with 3 decimal places. If a number with higher decimal places is entered in the array, it would be truncated to three. Since the data file is created in row format, and what you really need if you are going to import it into excel, is column format. There are two ways to resolve this, the first is to set the transpose bit on the write function, and the second, is to add an array transpose, located in the array pallet. transpose bit set.png

2 spreadsheet save with transpose.png The new data output now will look like: Note that it is now in column format with what was the first row, now in the first column. This gives you the first acquired channel in the first column and the second channel in the second column. This is a handy way to deal with the data in a spreadsheet. One problem with this format is that there are no labels or indicators to determine what is what in the file. We can address that in a moment. Frequently you want the data to be saved in a file that already exists, adding to the data that is there. This function allows that by setting the "append" input to True. pngs/file_storage/transpose and append set.png Running this snippet against the file we created above gives the following output.

3 The real advantage to this method is that this VI is extremely efficient at doing the write function, making it a very fast way to save large amounts of data. As stated before, the largest drawback is that you have to know about the data, and remember it later. Because of this, a number of users prefer to deal with the files as raw text, which is what they really are. Two methods exist to insert headings on the columns in the file. These are to use the spreadsheet write function in a separate write or to create a file using the text file functions. Both methods work equally well. Using the spreadsheet write requires a two-step process. The first is to write the headers using a %s format string (meaning string values). For this to work the headers must be in array format, with one element for each column header. In the following two examples I have created identical headers, each with two rows of label. If you only wanted a single row of label you would only need to create a 1D array instead of a 2D array as I have done here. Example 1 output: Chan 1 Chan 2 Volts Volts

4 Write labels to spreadsheet.png The second method is to create a text file, write the header contents to the file and then append the spreadsheet data to the file using the spreadsheet write. Note that in versions 2015 and later, the Write to Spreadsheet File.vi has been replaced with Write Delimited Spreadsheet.vi. For all practical purposes these function identically for writing numbers to the spreadsheet, though the newer write has more functionality that allows us to do what I have above with the labels. discrete string spreadsheet file save This example shows this as a discrete string build with a string concatenation, but it could be just as easily done with a single string constant as shown below. It is important to remember that "\t" is a tab character and the "\n" is a new line character. Also you must be sure that you have turned on the " '\' codes display" option for the string consant, which is found in the right click menu.

5 string constant write.png The data file generated by either of these methods are the same, and shown below. Chan1 Chan 2 Volts Volts This process works well for a large number of data points, but can also be used for a very small number of points. The only requirement is that there must be a full array, that being a data point in each row and column with no blanks. If you are using a single row of data you can use the 1D input to the write. It is often advantageous to mix text and numbers in the same file, even more than just column headers. Dates, times and units labels mixed with the lines prevent the spreadsheet write method from being used. To accomplish this a different tactic must be used. Most all files that are used for data storage are text files of some sort or another. There is nothing that prevents individual lines from being written as text for later use by other programs. This type of storage is typically done for either long term data or small amounts of data, since the process is very inefficient. The first step in this method is to determine the size of the array. This is easily done using array size.

6 read array size.png The output of the array size object is an array of integers, representing the size(s) of the array. In a 1D array, there is a single element that is the length of the array, however in a multi dimensional array, there is an array of sizes, each element of the integer array being one of the array dimensions. In the case of our sample, element 0 of the array is the number of channels and element 1 is the number of samples for each channel. The index array object allows us to break out the second element, which we will need to process the array. In the following snippet I have dropped an index array object into a for loop and wired it to the 2D array. LabVIEW does something here that will bite you if you're not careful. Notice how the wire changes from a double wide line to a single heavy line and there is a small square with brackets inside where the line crosses into the for loop. LabVIEW is trying to be helpful, and realizing that it is an array coming in, it will automatically index the array. for loop indexed array.png Automatic indexing is a feature that can be very useful, and can also be a real pain. In the above snippet, the loop count (the little N box) is set to the first dimension of the array, in this case 2. For each iteration of the loop, the line inside the box (orange 1D array line) will have the 10 elements associated with the first row of the array. Nothing else of the array is visible inside the for loop. The second iteration will have the second row of the array, and if there were more rows, this would continue until the array was out of rows. Since we need to see both channels at the same time, we have some choices. We can turn off the indexing, by right clicking on the box and selecting "Disable Indexing". This will turn the square solid orange and the entire array is now visible inside the for loop. Once this is done, we can then go through the array line by line and pull out each individual element as shown below.

7 indexed by two objects.png Each pass of the array will pull out the two channels from the array with the index array objects. This is a simple and straightforward way to accomplish this task. It is easy to read at a later time and pretty obvious to anyone who is working with the program later just what is being done. A slightly more elegant method makes use of auto indexing. auto index array.png In this example, the for loop is iterated ten times, based on the number of rows in the transposed array. For each row, the index array objects pull out the channel 1 and channel 2 data, which could then be fed to some other function. In this case we are going to convert it to a string and write it to a file. The entire program section is shown below. While the technique is used here to write a single 2D array, it is easy to apply this technique to an application where the data is taken at long intervals and written to a text file so the data is not lost in the event of a computer hiccup or gurgling cringing death. The data output is shown following the program snippet.

8 save array to text file.png Chan 1 Chan 2 Volts Volts The file storage portion consists of three blocks, one which is run only on the first iteration, and the other three that are run every iteration. The initial function, "open/create/replace file" is used without any path input to cause the prompt for a file. This will then create the file if it is not

9 in existence, or open it if it is. This is located inside a case statement that executes only when the iteration counter is 0. In addition it appends the file header information to the string of data values. Once this has been done a value known as a reference number, which is how the computer refers to the file, is passed to a block which gets the file size. If the file is a new file, the size is 0. If not, it returns the total number of bytes in the file. The third block in the string is a "set File Position". This block moves a pointer in the file to a particular position. In our case we have wired the output of the Get File Size to the input of the Set File Position so that the pointer is now pointing to the end of the file. The last block is a Write to Text File. This block begins writing the text string wired to its input at the location that the pointer is at, in our case, the end of the file. This set of blocks effectively appends the string to the existing file, even if that length is zero. The reference number is sent to a shift register so it is available for the next iteration of the loop. In the next and all subsequent iterations of the for loop, the iteration counter is not equal to 0, so the FALSE case is executed, which does nothing but pass the string and reference number values back on out to the program.

PHYC 500: Introduction to LabView. Exercise 8 (v 1.3) M.P. Hasselbeck, University of New Mexico. Arrays, XY Graphs, Disk I/O

PHYC 500: Introduction to LabView. Exercise 8 (v 1.3) M.P. Hasselbeck, University of New Mexico. Arrays, XY Graphs, Disk I/O PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 8 (v 1.3) Arrays, XY Graphs, Disk I/O Place two numeric controls (label them Number of points and Offset ) on the Front

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

Table 1. Inputs and Outputs

Table 1. Inputs and Outputs Goal Description Use a While Loop and an iteration terminal and pass data through a tunnel. Create a VI that continuously generates random numbers between 0 and 1000 until it generates a number that matches

More information

Spectroscopic Analysis: Peak Detector

Spectroscopic Analysis: Peak Detector Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.

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

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed

More information

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

SMP User Manual Sales, Marketing and Information Services

SMP User Manual Sales, Marketing and Information Services SMP User Manual Sales, Marketing and Information Services Product Information www.gosmp.com Tutorial Videos & Training www.gosmp.com Customer Support 949-258-0410 or support@gosmp.com Page 1 of 14 Advanced

More information

CLAD_80.questions.

CLAD_80.questions. CLAD_80.questions Number: CLAD Passing Score: 800 Time Limit: 120 min File Version: 25.06 These are the most accurate study questions. Just focus on these and sit in your exam. I am very happy with my

More information

RoboDAQ7. By John Buzzi. Masters of Engineering Report. Cornell University

RoboDAQ7. By John Buzzi. Masters of Engineering Report.   Cornell University RoboDAQ7 Masters of Engineering Report By John Buzzi Email: jlb269@cornell.edu Cornell University May 17, 2010 Abstract Learning from and improving on our past mistakes and accomplishments is only possible

More information

PHY Microprocessor Interfacing Techniques LabVIEW Tutorial - Part X File Output and Input

PHY Microprocessor Interfacing Techniques LabVIEW Tutorial - Part X File Output and Input PHY 406 - Microprocessor Interfacing Techniques LabVIEW Tutorial - Part X File Output and Input Introduction File I/O tends to be complex - simply because there are a myriad of things that you might want

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

Python Working with files. May 4, 2017

Python Working with files. May 4, 2017 Python Working with files May 4, 2017 So far, everything we have done in Python was using in-memory operations. After closing the Python interpreter or after the script was done, all our input and output

More information

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

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs. Name: Date: CLAD Sample Exam 03 1. Where can a VI be documented so that the description appears in the Show Context Help popup window? A. In the VI Properties Documentation window B. Typing in the Show

More information

1

1 0 1 4 Because a refnum is a temporary pointer to an open object, it is valid only for the period during which the object is open. If you close the object, LabVIEW disassociates the refnum with the object,

More information

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

More information

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

More information

Rio Hondo Prep Computer Applications Class

Rio Hondo Prep Computer Applications Class Open up document 10-1 (this is the one you worked on in the previous assignment). It should look like this: We have one column that is blank; the Avg Speed (this leg), column C. The formula for C2 is pretty

More information

Electronics II Physics 3620 / 6620

Electronics II Physics 3620 / 6620 Electronics II Physics 3620 / 6620 Apr 15, 2009 Part 1 Strings and File I/O 4/13/2009 1 Strings A string is a sequence of displayable or - characters (ASCII) Many uses displaying messages, instrument control,

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

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

EKT 314/4 LABORATORIES SHEET

EKT 314/4 LABORATORIES SHEET EKT 314/4 LABORATORIES SHEET WEEK DAY HOUR 2 2 2 PREPARED BY: EN. MUHAMAD ASMI BIN ROMLI EN. MOHD FISOL BIN OSMAN JULY 2009 14 operations pass data to and from files. Use the VIs and functions to handle

More information

Using Microsoft Excel

Using Microsoft Excel Using Microsoft Excel Table of Contents The Excel Window... 2 The Formula Bar... 3 Workbook View Buttons... 3 Moving in a Spreadsheet... 3 Entering Data... 3 Creating and Renaming Worksheets... 4 Opening

More information

2. In Video #6, we used Power Query to append multiple Text Files into a single Proper Data Set:

2. In Video #6, we used Power Query to append multiple Text Files into a single Proper Data Set: Data Analysis & Business Intelligence Made Easy with Excel Power Tools Excel Data Analysis Basics = E-DAB Notes for Video: E-DAB 07: Excel Data Analysis & BI Basics: Data Modeling: Excel Formulas, Power

More information

MindWare Electromyography (EMG) Analysis User Reference Guide Version Copyright 2011 by MindWare Technologies LTD. All Rights Reserved.

MindWare Electromyography (EMG) Analysis User Reference Guide Version Copyright 2011 by MindWare Technologies LTD. All Rights Reserved. MindWare Electromyography (EMG) Analysis User Reference Guide Version 3.0.12 Copyright 2011 by MindWare Technologies LTD. All Rights Reserved. MindWare EMG 3.0.12 User Guide Internet Support E-mail: sales@mindwaretech.com

More information

Programming for Engineers Iteration

Programming for Engineers Iteration Programming for Engineers Iteration ICEN 200 Spring 2018 Prof. Dola Saha 1 Data type conversions Grade average example,-./0 class average = 23450-67 893/0298 Grade and number of students can be integers

More information

C PROGRAMMING LANGUAGE. POINTERS, ARRAYS, OPERATORS AND LOOP. CAAM 519, CHAPTER5

C PROGRAMMING LANGUAGE. POINTERS, ARRAYS, OPERATORS AND LOOP. CAAM 519, CHAPTER5 C PROGRAMMING LANGUAGE. POINTERS, ARRAYS, OPERATORS AND LOOP. CAAM 519, CHAPTER5 1. Pointers As Kernighan and Ritchie state, a pointer is a variable that contains the address of a variable. They have been

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

Introduction to Scientific Computing Lecture 1

Introduction to Scientific Computing Lecture 1 Introduction to Scientific Computing Lecture 1 Professor Hanno Rein Last updated: September 10, 2017 1 Number Representations In this lecture, we will cover two concept that are important to understand

More information

Solar Campaign Google Guide. PART 1 Google Drive

Solar Campaign Google Guide. PART 1 Google Drive Solar Campaign Google Guide This guide assumes your team has already retrieved its template Solar Campaign folder from Vital Communities and shared it with the entire volunteer team on Google Drive. To

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

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Labview Lab 2. Vern Lindberg. April 16, 2012

Labview Lab 2. Vern Lindberg. April 16, 2012 Labview Lab 2 Vern Lindberg April 16, 2012 1 Temperature Measurement Thermistors are sensitive semiconductor devices that can measure temperature over a restricted temperature range. The thermistors we

More information

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

ECE 451 Automated Microwave Measurements Laboratory. Experiment No. 2. Automated RF Power Detection Using LabVIEW Introduction ECE 451 Automated Microwave Measurements Laboratory Experiment No. 2 Automated RF Power Detection Using LabVIEW Experiment design is undoubtedly the most difficult aspect of an engineering

More information

Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02

Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02 Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02 Hello, in this lecture we will learn about some fundamentals concepts of java.

More information

Manual. User Reference Guide. Analysis Application (EMG) Electromyography Analysis

Manual. User Reference Guide. Analysis Application (EMG) Electromyography Analysis Phone: (888) 765-9735 WWW.MINDWARETECH.COM User Reference Guide Manual Analysis Application Electromyography Analysis (EMG) Copyright 2014 by MindWare Technologies LTD. All Rights Reserved. 1 Phone: (614)

More information

DDDA User Guide Version 1.5

DDDA User Guide Version 1.5 DDDA User Guide Version 1.5 email: DDDASupport@thinksrs.com Copyright 2002 Stanford Research Systems, Inc. All Rights Reserved. Table Of Contents CHAPTER 1 DDDA... 3 INTRODUCTION... 3 REGISTERING YOUR

More information

1 Introduction to Excel Databases April 09

1 Introduction to Excel Databases April 09 1 Introduction to Excel Databases April 09 Contents INTRODUCTION TO DATABASES... 3 CREATING A DATABASE... 3 SORTING DATA... 4 DATA FORMS... 5 Data Form options... 5 Using Criteria... 6 FILTERING DATA...

More information

LabVIEW Basics. Based on LabVIEW 2011 Student Edition

LabVIEW Basics. Based on LabVIEW 2011 Student Edition LabVIEW Basics Based on LabVIEW 2011 Student Edition Virtual instruments LabVIEW works on a data flow model in which information within a LabVIEW program, called a virtual instrument (VI), flows from data

More information

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

Microsoft Excel 2010 Handout

Microsoft Excel 2010 Handout Microsoft Excel 2010 Handout Excel is an electronic spreadsheet program you can use to enter and organize data, and perform a wide variety of number crunching tasks. Excel helps you organize and track

More information

CLAD Sample Exam 04. B. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel.

CLAD Sample Exam 04. B. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel. Name: Date: CLAD Sample Exam 04 1. What VI is typically used to terminate an Error Cluster wire and to display any error message? A. Merge Errors B. One Button Dialog / Two Button Dialog C. Generate Front

More information

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

University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory Experiment No. 4 Introduction to the Windows XP Workstation using National Instruments

More information

Strain and Force Measurement

Strain and Force Measurement NORTHEASTERN UNIVERSITY DEPARTMENT OF MECHANICAL, INDUSTRIAL AND MANUFACTURING ENGINEERING MIMU 0-MEASUREMENT AND ANALYSIS Strain and Force Measurement OBJECTIVES The primary objective of this experiment

More information

MAILMERGE WORD MESSAGES

MAILMERGE WORD MESSAGES MAILMERGE WORD 2007 It is recommended that Excel spreadsheets are used as source files and created with separate columns for each field, e.g. FirstName, LastName, Title, Address1, Address2, City, State,

More information

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

Experiment 1: Introduction to Labview 8.0 (tbc 1/7/2007, 1/13/2009,1/13/2011) Experiment 1: Introduction to Labview 8.0 (tbc 1/7/2007, 1/13/2009,1/13/2011) Objective: To learn how to build virtual instrument panels in Labview 8.0 Tasks: 1. Build the Labview VI shown in the tutorial

More information

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure Name: Date: CLAD Sample Exam 05 1. You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?

More information

TerraStation II v7 Training

TerraStation II v7 Training WORKED EXAMPLE Loading and using Core Analysis Data Core Analysis Data is frequently not available at exact well increments. In order to retain the exact depth at which this data is sampled, it needs to

More information

Importing Local Contacts from Thunderbird

Importing Local Contacts from Thunderbird 1 Importing Local Contacts from Thunderbird Step 1, Export Contacts from Thunderbird In Thunderbird, select Address Book. In the Address Book, click on Personal Address Book and then select Export from

More information

Access Intermediate

Access Intermediate Access 2013 - Intermediate 103-134 Advanced Queries Quick Links Overview Pages AC124 AC125 Selecting Fields Pages AC125 AC128 AC129 AC131 AC238 Sorting Results Pages AC131 AC136 Specifying Criteria Pages

More information

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University Unit 1 Programming Language and Overview of C 1. State whether the following statements are true or false. a. Every line in a C program should end with a semicolon. b. In C language lowercase letters are

More information

Learn LabVIEW 2010 / 2011 Fast

Learn LabVIEW 2010 / 2011 Fast Learn LabVIEW 2010 / 2011 Fast A Primer for Automatic Data Acquisition Douglas Stamps, Ph.D. SDC PUBLICATIONS Schroff Development Corporation Better Textbooks. Lower Prices. www.sdcpublications.com Visit

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

Reporting Excel Tutorial

Reporting Excel Tutorial Reporting Excel Tutorial Table of Contents NUMBER OF FILES 3 NUMBER OF FILES SHARED 3 PERCENT OF FILES SHARED 3 FILTERING 3 EVIDENCE WITHOUT METADATA 3 MOST VIEWED 4 EVIDENCE SHARED 4 PIVOT TABLES 4 HOW

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Exam Name 1) The table Design view shows 1) A) the relationships established for the table. B) the formatting applied to the table. C) the structure of the table. D) the number of records in the table.

More information

Top-Down Program Development

Top-Down Program Development Top-Down Program Development Top-down development is a way of thinking when you try to solve a programming problem It involves starting with the entire problem, and breaking it down into more manageable

More information

Computer Programming C++ (wg) CCOs

Computer Programming C++ (wg) CCOs Computer Programming C++ (wg) CCOs I. The student will analyze the different systems, and languages of the computer. (SM 1.4, 3.1, 3.4, 3.6) II. The student will write, compile, link and run a simple C++

More information

User Manual Mail Merge

User Manual Mail Merge User Manual Mail Merge Version: 1.0 Mail Merge Date: 27-08-2013 How to print letters using Mail Merge You can use Mail Merge to create a series of documents, such as a standard letter that you want to

More information

Bulk Creation of Data Acquisition Parameters

Bulk Creation of Data Acquisition Parameters Bulk Creation of Data Acquisition Parameters Item Type text; Proceedings Authors Kupferschmidt, Benjamin Publisher International Foundation for Telemetering Journal International Telemetering Conference

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

Excel Tools for Internal Auditing

Excel Tools for Internal Auditing Excel Tools for Internal Auditing BONNIE MAXFIELD SMITH COUNTY INTERNAL AUDITOR Data Process Obtain Data Data Import Format Text to Columns Concatenate Macros Compare /Analyze IF Function Subtotal Random

More information

The Crypt Keeper Cemetery Software Online Version Tutorials To print this information, right-click on the contents and choose the 'Print' option.

The Crypt Keeper Cemetery Software Online Version Tutorials To print this information, right-click on the contents and choose the 'Print' option. The Crypt Keeper Cemetery Software Online Version Tutorials To print this information, right-click on the contents and choose the 'Print' option. Home Greetings! This tutorial series is to get you familiar

More information

Last Class. While loops Infinite loops Loop counters Iterations

Last Class. While loops Infinite loops Loop counters Iterations Last Class While loops Infinite loops Loop counters Iterations public class January31{ public static void main(string[] args) { while (true) { forloops(); if (checkclassunderstands() ) { break; } teacharrays();

More information

Group Administrator. ebills csv file formatting by class level. User Guide

Group Administrator. ebills csv file formatting by class level. User Guide Group Administrator ebills csv file formatting by class level User Guide Version 1.0 February 10, 2015 Table of Content Excel automated template... 3 Enable Macro setting in Microsoft Excel... 3 Extracting

More information

SECTION 5: STRUCTURED PROGRAMMING IN MATLAB. ENGR 112 Introduction to Engineering Computing

SECTION 5: STRUCTURED PROGRAMMING IN MATLAB. ENGR 112 Introduction to Engineering Computing SECTION 5: STRUCTURED PROGRAMMING IN MATLAB ENGR 112 Introduction to Engineering Computing 2 Conditional Statements if statements if else statements Logical and relational operators switch case statements

More information

28 Simply Confirming On-site Status

28 Simply Confirming On-site Status 28 Simply Confirming On-site Status 28.1 This chapter describes available monitoring tools....28-2 28.2 Monitoring Operational Status...28-5 28.3 Monitoring Device Values... 28-11 28.4 Monitoring Symbol

More information

Advanced Excel Macros : Data Validation/Analysis : OneDrive

Advanced Excel Macros : Data Validation/Analysis : OneDrive Advanced Excel Macros : Data Validation/Analysis : OneDrive Macros Macros in Excel are in short, a recording of keystrokes. Beyond simple recording, you can use macros to automate tasks that you will use

More information

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum)

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Manually adjust column width Place the pointer on the line between letters in the Column Headers. The pointer will change to double headed arrow. Hold

More information

COMP-202 Unit 4: Programming With Iterations. CONTENTS: The while and for statements

COMP-202 Unit 4: Programming With Iterations. CONTENTS: The while and for statements COMP-202 Unit 4: Programming With Iterations CONTENTS: The while and for statements Introduction (1) Suppose we want to write a program to be used in cash registers in stores to compute the amount of money

More information

QUICK EXCEL TUTORIAL. The Very Basics

QUICK EXCEL TUTORIAL. The Very Basics QUICK EXCEL TUTORIAL The Very Basics You Are Here. Titles & Column Headers Merging Cells Text Alignment When we work on spread sheets we often need to have a title and/or header clearly visible. Merge

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

Model Viva Questions for Programming in C lab

Model Viva Questions for Programming in C lab Model Viva Questions for Programming in C lab Title of the Practical: Assignment to prepare general algorithms and flow chart. Q1: What is a flowchart? A1: A flowchart is a diagram that shows a continuous

More information

Control Tone with IR Remote

Control Tone with IR Remote Lesson 17 Lesson 17: Control Tone with IR Remote Control Tone with IR Remote The Big Idea: The ability to detect and decode Sony-protocol infrared messages, which was explored in Lesson 16, can be added

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL We have spent the first part of the course learning Excel: importing files, cleaning, sorting, filtering, pivot tables and exporting

More information

Lecture 14. 'for' loops and Arrays

Lecture 14. 'for' loops and Arrays Lecture 14 'for' loops and Arrays For Loops for (initiating statement; conditional statement; next statement) // usually incremental body statement(s); The for statement provides a compact way to iterate

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

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum)

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Select a Row or a Column Place your pointer over the Column Header (gray cell at the top of a column that contains a letter identifying the column)

More information

Introduction to Excel 2007

Introduction to Excel 2007 Introduction to Excel 2007 Excel 2007 is a software program that creates a spreadsheet. It permits the user to enter data and formulas to perform mathematical and Boolean (comparison) calculations on the

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

C++ Programming. Arrays and Vectors. Chapter 6. Objectives. Chiou. This chapter introduces the important topic of data structures collections

C++ Programming. Arrays and Vectors. Chapter 6. Objectives. Chiou. This chapter introduces the important topic of data structures collections C++ Programming Chapter 6 Arrays and Vectors Yih-Peng Chiou Room 617, BL Building (02) 3366-3603 3603 ypchiou@cc.ee.ntu.edu.tw Photonic Modeling and Design Lab. Graduate Institute of Photonics and Optoelectronics

More information

PHP 101. Function Junction. Mike Pavlak Solutions Consultant (815) All rights reserved. Zend Technologies, Inc.

PHP 101. Function Junction. Mike Pavlak Solutions Consultant (815) All rights reserved. Zend Technologies, Inc. PHP 101 Mike Pavlak Solutions Consultant mike.p@zend.com (815) 722 3454 Function Junction PHP Sessions Session 1-9:00 Session 2-10:30 11:45 Session 3-12:30 Session 4-1:45 Session 5-3:00 4:00 PHP101 PHP

More information

Logic and Computer Design Fundamentals. Chapter 1 Digital Computers and Information

Logic and Computer Design Fundamentals. Chapter 1 Digital Computers and Information Logic and Computer Design Fundamentals Chapter 1 Digital Computers and Information Overview Digital Systems and Computer Systems Information Representation Number Systems [binary, octal and hexadecimal]

More information

Microsoft Excel 2010 Training. Excel 2010 Basics

Microsoft Excel 2010 Training. Excel 2010 Basics Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.

More information

CS102: Standard I/O. %<flag(s)><width><precision><size>conversion-code

CS102: Standard I/O. %<flag(s)><width><precision><size>conversion-code CS102: Standard I/O Our next topic is standard input and standard output in C. The adjective "standard" when applied to "input" or "output" could be interpreted to mean "default". Typically, standard output

More information

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines.

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines. Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within

More information

Intermediate Microsoft Excel 2010

Intermediate Microsoft Excel 2010 P a g e 1 Intermediate Microsoft Excel 2010 ABOUT THIS CLASS This class is designed to continue where the Microsoft Excel 2010 Basics class left off. Specifically, we will cover additional ways to organize

More information

Table of Contents. Navigate the Management Menu. 911 Management Page

Table of Contents. Navigate the Management Menu. 911 Management Page ucontrol Managing 911 Information Important note regarding 911 service: VoIP 911 service has certain limitations relative to Enhanced 911 service that is available on most traditional telephone service.

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

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

Page 1 of 6. ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems. Introduction ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems Introduction The purpose of this lab is to introduce the basics of creating programs in LabView for data collection and analysis. LabView

More information

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #44. Multidimensional Array and pointers

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #44. Multidimensional Array and pointers Introduction to Programming in C Department of Computer Science and Engineering Lecture No. #44 Multidimensional Array and pointers In this video, we will look at the relation between Multi-dimensional

More information

Business Process Procedures

Business Process Procedures Business Process Procedures 14.40 MICROSOFT EXCEL TIPS Overview These procedures document some helpful hints and tricks while using Microsoft Excel. Key Points This document will explore the following:

More information

Objectives. Chapter 2: Basic Elements of C++ Introduction. Objectives (cont d.) A C++ Program (cont d.) A C++ Program

Objectives. Chapter 2: Basic Elements of C++ Introduction. Objectives (cont d.) A C++ Program (cont d.) A C++ Program Objectives Chapter 2: Basic Elements of C++ In this chapter, you will: Become familiar with functions, special symbols, and identifiers in C++ Explore simple data types Discover how a program evaluates

More information

Max and Programming Is Max a Programming Language?

Max and Programming Is Max a Programming Language? There are several questions that come up from time to time on the Max discussion list. Is Max a real programming language? if so how do I do [loop, switch, bitmap, recursion] and other programming tricks

More information

Chapter 2: Basic Elements of C++

Chapter 2: Basic Elements of C++ Chapter 2: Basic Elements of C++ Objectives In this chapter, you will: Become familiar with functions, special symbols, and identifiers in C++ Explore simple data types Discover how a program evaluates

More information

Experiment 1 Yahtzee or Validating the t-table

Experiment 1 Yahtzee or Validating the t-table Experiment 1 Yahtzee or Validating the t-table Learning Goals 1. Receive training and practice with many useful spreadsheet functions in Excel. 2. Review and experience the concepts of probability and

More information

SUM - This says to add together cells F28 through F35. Notice that it will show your result is

SUM - This says to add together cells F28 through F35. Notice that it will show your result is COUNTA - The COUNTA function will examine a set of cells and tell you how many cells are not empty. In this example, Excel analyzed 19 cells and found that only 18 were not empty. COUNTBLANK - The COUNTBLANK

More information

MICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi

MICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi MICROSOFT EXCEL Prepared By: Amna Alshurooqi Hajar Alshurooqi Lesson 1 BIS 202 1. INTRODUCTION Microsoft Excel is a spreadsheet application used to perform financial calculations, statistical analysis,

More information

Chapter 2: Basic Elements of C++ Objectives. Objectives (cont d.) A C++ Program. Introduction

Chapter 2: Basic Elements of C++ Objectives. Objectives (cont d.) A C++ Program. Introduction Chapter 2: Basic Elements of C++ C++ Programming: From Problem Analysis to Program Design, Fifth Edition 1 Objectives In this chapter, you will: Become familiar with functions, special symbols, and identifiers

More information