Data Analysis GUI Documentation guide. Terminology GUI – Graphical User Interface Log-File – File containing data of interest which is generated by user’s.

Slides:



Advertisements
Similar presentations
Microsoft ® Office Word 2007 Training Header and footer basics Sweetwater ISD presents:
Advertisements

CIMCO Integration Software Products
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Introduction to Microsoft Access
NMDS 2.0 Program Description Dealing with Missing Values (MV) Basic Knowledge about the Interface This is a usual Power Point Presentation. Use Mouse-Clicks.
Lesson 15: Editing, Viewing, and Printing Worksheets.
Orchard Harvest™ LIS Review Results Training
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Pacemaker Electrode Bidirectional Interface to Autodesk Inventor.
Lesson 11 Page Numbers, Headers, and Footers
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 1: What Will Word Processing Do For Me? Robert Grauer,
® Microsoft Office 2010 Word Tutorial 3 Creating a Multiple-Page Report.
Header and footer basics Add page numbers, date, and more Think of page formatting in a book. The book title is at the top of one page, the chapter title.
Chapter 10—Creating Presentations
Table of Contents II: Customize your TOC Change the appearance of your TOC You’ve created an automatic table of contents, but now you feel like making.
Microsoft ® Office Word 2007 Training Table of Contents II: Customize your TOC [Your company name] presents:
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
© The McGraw-Hill Companies, 2006 Chapter 9 Software quality.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Creating, Formatting, and Editing a Word Document with a Picture
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Access Lesson 4 Creating and Modifying Forms
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
Ogden Air Logistics Center. Purpose of Excel2FV Many agencies produce point lists of different data (target lists, force locations, etc.) in either Excel.
Digital Image Processing Lecture3: Introduction to MATLAB.
Lesson 4: Formatting the Worksheet
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
Microsoft Word 2010 Chapter 1 Creating, Formatting, and Editing a Word Document with Pictures.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Create Database Tables
CIS—100 Chapter 9—PowerPoint 1. The PowerPoint User Interface 2 There is a tall band across the screen that contains many, very visual commands arranged.
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
ELG 3120 Signal and System Analysis 1 Introduction to MATLAB TAs Wei Zhang Ozgur Ekici (Section A)(Section B) ELG 3120 Lab Tutorial 1.
HTML presentation Embedding Graphics in Web Pages n HTML uses an empty tag called the (image tag) n n n or n n n Note: all web production tools do insert.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 10 Creating and Formatting an Excel Worksheet.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
GUI development with Matlab: GUI Front Panel Components 1 GUI front panel components In this section, we will look at -GUI front panel components -Programming.
Excel Connector for JIRA Installation and functional presentation.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 7 – Adding and.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create a.
Active-HDL Interfaces Debugging C Code Course 10.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
1 NORMA Lab. 7 Generating Reports More Display Options File: NORMA_Lab6.ppt. Author: T. Halpin. Last updated: 2009 June 9.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. word 2010 Chapter 3 Formatting Documents.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
CIS—100 Chapter 7—Headers and Footers 1. Chapter Objectives 2 After successful completion this chapter you should be able to:  Add page numbers.  Add.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
GISMO/GEBndPlan Overview Geographic Information System Mapping Object.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
ElVis Improvements Summer 2008 Eric Zatz PPPL Summer Intern Mentor – Eliot Feibush August 11, 2008.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
Know your Operating System Thanks to Dina Sokol. An operating system is software (a computer program) that manages your computer.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Adobe Photoshop T.Ahlam Algharasi. Adobe Photoshop Adobe Photoshop is a seriously powerful photo and image edit ( treating and manipulation, compositing,
Creating Web Pages in Word. Sharing Office Files Online Many Web pages are created using the HTML programming language. Web page editors are software.
Microsoft Excel Illustrated Introductory Workbooks and Preparing them for the Web Managing.
Introduction to Microsoft Access
Microsoft Official Academic Course, Microsoft Word 2016
Presentation transcript:

Data Analysis GUI Documentation guide

Terminology GUI – Graphical User Interface Log-File – File containing data of interest which is generated by user’s software Data field – A set of data associated with a variable of interest Header – The first lines of the log-file containing comments, names of data fields and units Parse – Processing of a log-file to change the format of data. Figure - MATLAB refers to “windows” as figures. Such as a pop-up dialog box or a GUI. Plot – An axis which is a visual representation of data. Can be anything but for our purposes, it is a time domain digital signal. 2

Contents 1.Log-File 1.Format 2.Potential Issues 2.Running the GUI 1.Requirements 2.Steps 3.Input/output Data 1.Navigating In-GUI browser to Log-File 2.MATLAB data structure Format 4.Setting and Changing Parameters 1.Plot methods 1.Sub-plot 2.Multi-plot 3.Separate plots 2.Changing Plotting Options 1.Colors 2.Line Styles 3.Markers 4.Background 5.Plotting 6.Potential Problems with Solutions 1.Logfile Format 2.Mat-Data Format 3

Log-File Format ◦Obtaining a Log-File ◦The way you generate a log file is up to the user. For simplicity, I manually generated a small, simple log file for this guide as shown. ◦Headers - All header lines begin with the characters #, % and & ◦Each line beginning with one of these characters at the beginning of the file will be considered by the parser as a header. They will be treated differently corresponding to which of these characters is used. ◦For & and % and all data lines which will not have headers, There must be a tab (\t) in-between the headers, units or data values. ◦# Headers - Comments ◦These headers are solely meant for comments and as a way to display settings. ◦They will be printed to the MATLAB command terminal when being parsed. ◦% Headers - Names ◦These are the name headers for the data fields. They will be stored in the M-file. ◦Time must be the first unit and it must be the exact string ‘Time’. If it is not, the log will not be parsed. ◦& Headers – Units ◦This header line is reserved for Units of the corresponding data fields. ◦There must be as many units as headers as well as data fields. 4

Log-File Potential Issues ◦There are unmatched Units, Names or Data ◦One or Two of the numbers of Units, Names or Data does not match the others. ◦This is most likely a logging problem and can be fixed by adding or removing the needed lines. ◦It can also be caused by having too many tabs between data values. The parser will see an empty data value in-between two tabs. ◦Could not find &, # or % headers ◦You need to include which ever header is missing to the log file. ◦Can be fixed by adjusting the logging to include the missing header. ◦Also might be because the order of the headers is wrong. ◦The # headers must be first. The order of the & and % headers does not matter but it is suggested to have the % before the & headers. 5

Running the GUI Requirements ◦MATLAB(Linux or Windows) Version R2014b or higher (will probably work on previous versions, but not tested) ◦GUI.m – Matlab code file which determines functionality of the GUI ◦GUI.fig – figure file which generates GUI graphics ◦parse_log.m – log parser function used by the GUI 6

Running the GUI Steps ◦Navigate to the directory containing GUI.m and GUI.fig ◦Right click on GUI.m ◦Click Run ◦Wait a few seconds and the GUI should open 7

Input/output Data 8 Navigating In-GUI browser to Log-File ◦Double-Click on Listbox entries to change directory until you find the log-file directory ◦The current log or directory will be displayed above the listbox ◦There is a refresh button which will load any files that have changed since the list box was last loaded.

Input/output Data 9 Navigating In-GUI browser to Log-File ◦Once you reach the Log-file location, Double-click the Log-file and the data will be parsed ◦Once parsed, The GUI will automatically plot the data on the axes and export the data to an M-file

Input/output Data 10 M-File Format I.main I.params I.file I.name II.path III.pathName II.plotting I.plot II.separatePlot III.multiPlot IV.subplot V.clearFigs VI.color VII.marker VIII.style IX.backgnd II.expData I. (repeated for all datafields) I.data II.unit III.params I.plot II.style III.color IV.marker V.backgnd In the MATLAB workspace, the “main” structure will be constantly updated by the GUI with settings and data. The format of this structure is shown to the right.

Input/output Data 11 Here is a more visual representation of the structure: - Not used by GUI

Setting and Changing Parameters 12 1.Plot methods 1.Separate plots ◦This option creates a separate figure plot for all selected fields to plot 2.Sub-plot ◦This option creates one figure(window) with sub-plots. The number of sub plots is automatically calculated and adjusted by the GUI depending on how many fields are selected. 3.Single Plot ◦This plots all selected fields on to ONE plot. It is suggested to change the color of each field.  Clear Open Figures ◦Self-explanatory. Closes the open figures automatically when you plot again in case you don’t want too many windows in the taskbar.  Use Markers ◦Previews and also plots Markers on all plots. Previewing markers takes up a lot of time when running the GUI so this can be useful.

Setting and Changing Parameters 13 Plot methods Separate plots

Setting and Changing Parameters 14 Plot methods Sub-plot

Setting and Changing Parameters 15 Plot methods Sub-plot Note: zooming in will zoom in the X axis on all plots as show below..

Setting and Changing Parameters 16 Plot methods Single Plot Note: This option will not display y-axis units because there are potentially multiple different units corresponding to the data being plotted.

Setting and Changing Parameters 17 Plot options Use Markers Note: The GUI takes a long time to preview when all the markers are plotted.

Setting and Changing Parameters 18 Changing Plotting Options 1.Select a field for which you would like to change the settings 2.Alternatively, You can have all plots use the same options by selecting the radio button above the plotting options UI-box

Setting and Changing Parameters 19 Changing Plotting Options 1.Then, Select the desired settings 1.Plot Color ◦Changes the color of the plot line or marker 2.Plot Line Style ◦Changes line which connects data samples to the desired style. Can be dashed, dotted and dash-dot or no line at all. 3.Plot Point Markers ◦An option to mark data samples with a character. 4.Background Color ◦Changes the background color of the plot Note: The background color for the single-Plot Plotting method will always be white because there are multiple fields in one plot.

Plotting 20 Press the large Plot button at the bottom

Potential Problems with Solutions 21  Log file Format ◦There are unmatched Units, Names or Data ◦One or Two of the numbers of Units, Names or Data does not match the others. ◦This is most likely a logging problem and can be fixed by adding or removing the needed lines. ◦It can also be caused by having too many tabs between data values. The parser will see an empty data value in-between two tabs. ◦Could not find &, # or % headers ◦You need to include which ever header is missing to the log file. ◦Can be fixed by adjusting the logging to include the missing header. ◦Also might be because the order of the headers is wrong. ◦The # headers must be first. The order of the & and % headers does not matter but it is suggested to have the % before the & headers.  Mat-Data Format ◦Most problems with the M-data are due to inconsistent data. ◦The go-to solution for these problems is to delete the main structure and re-import the data from the logfile.