Tot 15 LTPDA Graphic User Interface summary and status N. Tateo 26/06/2007.

Slides:



Advertisements
Similar presentations
Lectures on File Management
Advertisements

Part IV: Memory Management
SCIP Optimization Suite
MotoHawk Training Model-Based Design of Embedded Systems.
Java.  Java is an object-oriented programming language.  Java is important to us because Android programming uses Java.  However, Java is much more.
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
CIS 101: Computer Programming and Problem Solving Lecture 8 Usman Roshan Department of Computer Science NJIT.
Programming with Objects: Class Libraries and Reusable Code.
Java Programming, 3e Concepts and Techniques Chapter 5 Arrays, Loops, and Layout Managers Using External Classes.
Chapter 16 Dynamic HTML and Animation The Web Warrior Guide to Web Design Technologies.
Get number The ginput command creates crosshairs. When the user clicks the x,y values of the crosshairs are returned.
Honors Compilers Addressing of Local Variables Mar 19 th, 2002.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Chapter 13 Reduced Instruction Set Computers (RISC) Pipelining.
ECE122 L17: Method Development and Testing April 5, 2007 ECE 122 Engineering Problem Solving with Java Lecture 17 Method Development and Testing.
Week 7 - Programming II Today – more features: – Loop control – Extending if/else – Nesting of loops Debugging tools Textbook chapter 7, pages
1.3 Executing Programs. How is Computer Code Transformed into an Executable? Interpreters Compilers Hybrid systems.
Systems Software Operating Systems.
Data Structures and Programming.  John Edgar2.
Visual Basic Chapter 1 Mr. Wangler.
System Calls 1.
CS 355 – Programming Languages
Lecture 4 MATLAB Windows Arithmetic Operators Maintenance Functions
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
‘Tirgul’ # 7 Enterprise Development Using Visual Basic 6.0 Autumn 2002 Tirgul #7.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
INTRODUCTION TO HTML5 Using jQuery with HTML5. Introducing jQuery  Although it is not a part of any W3C or WHATWG specification, jQuery performs an important.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2010.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
Chapter 25: Code-Tuning Strategies. Chapter 25  Code tuning is one way of improving a program’s performance, You can often find other ways to improve.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2. Lecture Overview What is Simulink? How to use Simulink  Getting Start with Simulink  Building a model Example.
© 2006 Pearson Education 1 More Operators  To round out our knowledge of Java operators, let's examine a few more  In particular, we will examine the.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Debugging and Profiling With some help from Software Carpentry resources.
Chapter 3 Functions, Events, and Control Structures JavaScript, Third Edition.
ITC Research Computing Support Using Matlab Effectively By: Ed Hall Research Computing Support Center Phone: Φ Fax:
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Chapter 5 Introduction to Defining Classes
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
Our project main purpose is to develop a tool for a combinatorial game researcher. Given a version of combinatorial puzzle game and few more parameters,
CUFSM and Matlab CUFSM2.5 The Matlab version of CUFSM allows much greater flexibility than the standalone version. Within the Graphical User Interface.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
SUNY-New Paltz Computer Simulation Lab Electrical and Computer Engineering Department SUNY – New Paltz “Lecture 12”
Visual Basic for Application - Microsoft Access 2003 Finishing the application.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Optimizing your GDT Environment. Optimizing Your GDT Environment Doug Evans GDT 2004 International User Conference – Evolving the Legacy July
Accomplish more with macros! Presenter: Joyce Bell Princeton University
Chapter 5 Introduction to Defining Classes Fundamentals of Java.
Excel Translator™ Ultimate Risk Solutions, Inc.:
Visual Basic.NET Windows Programming
Game Architecture Rabin is a good overview of everything to do with Games A lot of these slides come from the 1st edition CS 4455.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Welcome to MATLAB.
WORKSHOP 3 GSE IMPORT.
Simulink Basics Reijo Vuohelainen
Scripts & Functions Scripts and functions are contained in .m-files
Contents Simulink model Grouping into subsystems Naming the subsystems
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
UNIT-5.
LTPDA Graphic User Interface summary and status
Corresponds with Chapter 5
Presentation transcript:

tot 15 LTPDA Graphic User Interface summary and status N. Tateo 26/06/2007

tot 15 now 1 GUI summary The analysis software is composed by 3 different elements: Simulink Window GUI in Matlab Workspace LTPDA functions package Simulink Window Parameters Array AO Array Library

tot 15 The elements in the GUI now 2 1. The functions library2. The AO array3. The Parameters array4. The Simulink window

tot 15 now 3 1. The functions library ltpda_lpsd (data, parameters)ltpda_pwelch (data, parameters)ltpda_cohere (data, parameters) … The package consists of many functions, each accepting as input the data to be analyzed and the proper parameters: Matlab

tot 15 To work in Simulink all these functions are “converted” into Simulink blocks: Each block is identified by a (visible) tag, which is the function name, and by a (invisible) handle, which is an univocal number assigned by Simulink. now 4 1. The functions library ltpda_lpsd data, parameters) ltpda_pwelch (data, parameters) ltpda_cohere (data, parameters) ltpda_lpsdltpda_pwelchltpda_cohere Matlab Simulink

tot 15 Matlab Workspace now 5 2. The GUI When the user starts the GUI, two arrays are created: Analysis Objects (the data) name: AnOb Parameters (the parameters) name: Parameters These are defined as global variables, so they are entirely and freely accessible by any function.

tot 15 now 6 The AO Array Analysis Objects Array name: AnOb AO1 name, provenance, data, history… AO2 name, provenance, data, history… AO3 name, provenance, data, history… AO4 name, provenance, data, history… …

tot 15 now 7 The Parameters Array Parameters Array name: Parameters Paramlist1 param1, param2, param3,… Paramlist2 param1, param2, param3,… Paramlist3 param1, param2, param3,… Paramlist4 param1, param2, param3,… … Block handle

tot 15 now 8 Where everything goes ltpda_pwelch (data, parameters) ltpda_cohere (data, parameters) ltpda_pwelch (data, parameters) AO1 name, provenance, data, history… 1 AO2 name, provenance, data, history… 2 AO3 name, provenance, data, history… 3 AO4 name, provenance, data, history… 4 Paramlist1 param1, param2, param3,… Block handle Paramlist2 param1, param2, param3,… Block handle Paramlist3 param1, param2, param3,… Block handle

tot 15 now 9 Parameters setting When the user select a block, the GUI retrieves the block handle. If no paramlist is associated to that handle, a new list is created and the panel let the user to compile its values. Paramlist1 param1, param2, param3,… Block handle

tot 15 now 10 function(data,parameters) When the user starts the analysis, each function retrieves the handle of its own block and by that the proper paramlist from the Parameters array in memory. Paramlist1 param1, param2, param3,… Block handle This provides each function with the correct relative parameters.

tot 15 now 11 function(data,parameters) Each function similarly retrieves the data from the AO array in memory, by the pointer which is sent in the Simulink diagram. AO1 name, provenance, data, history… 1 Thus every function retrieves by itself all its data and parameters.

tot 15 now 12 Consequences The entire parameters list is saved and kept outside Simulink: this makes easier to modify previous analysis and to run nested loops, ie. multiple analyses varying one parameter at the time. No delay is introduced by Simulink, since no real data are sent inside its diagram (ie, its workspace). There is only one copy of AOs and parameters saved in memory, and every function can retrieve them using the correct pointer (the AO ordinal number for data, the block handle for parameters).

tot 15 now 13 Consequences The analysis speed is maximized, since everything which could slow it down (such as GUI control cycle) is stopped when the analysis is started. The analysis results can easily be gathered and saved together, data + parameters + diagram, thus ensuring excellent traceability and a simple data analysis management.

tot 15 now 14 Future steps Convert the GUI into a true operative tool, implementing the ability to save and load analysis (ie, to import and export data parameters and diagrams). Enable it to deal with multiple analysis at once, ie. more than a single Simulink window at the time. Complete the implementation of functions in the Simulink library. Turn the library into a Simulink toolbox, with a tree structure which will make it easier and faster to use.

tot 15 now 15 Future steps Add the Color Control Panel. Implement a validation cycle, to check the consistency of the parameters set by the user prior to the execution of the analysis. Implement the code to enable nested loops (do we want some kind of optimization system?). Let the people in the labs to use it, and mark down their feelings.