Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Badlfish: an EDD/DM to EDM translator Outline Introduction EDD/DM.

Slides:



Advertisements
Similar presentations
Lesson 15 Presentation Programs.
Advertisements

Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Getting Started: Ansoft HFSS 8.0
Pasewark & Pasewark 1 Word Lesson 7 Working with Documents Microsoft Office 2007: Introductory.
Word Lesson 7 Working with Documents
Next Generation MMI Requirements May 4, MMI - High Level Requirements run under UNIX and Windows NT (WNT) use a well defined ASCII definition for.
Understanding Analysis Reports In HP LoadRunner
Introduction to PowerPoint
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Committed to Shaping the Next Generation of IT Experts. Chapter 1: Introduction to PowerPoint Robert Grauer and Maryann Barber Exploring Microsoft PowerPoint.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
Image Representation.
Introduction To Form Builder
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
HORIZONT 1 TWS/WebAdmin Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
EDM Screen Display Using PYTHON Python and the CLS and me.
John Sinclair Oak Ridge National Laboratory
PowerPoint Lesson 4 Expanding on PowerPoint Basics
Lesson 6: Working with Layout and Graphics
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
KJOlinski.com - RapidHMI INTRODUCING RapidHMI AND PLCExplorer.
Basic Presentation Design Concepts and Functions.
1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Eric Cameron, Cyndi Krebs.
Deutsches Elektronen-Synchrotron DESY Helmholtz Association of German Research Centres Hamburg, Germany The European X-Ray Laser Project.
Introduction to Matlab & Data Analysis
© 2011 Delmar, Cengage Learning Chapter 16 Annotating and Automating an Image.
Chapter 16 Annotating and Automating an Image. Chapter Lessons Add annotations to an image Create an action Modify an action Use a default action and.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
Software Project Planning Defining the Project Writing the Software Specification Planning the Development Stages Testing the Software.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Basic & Advanced Reporting in TIMSNT ** Part Two **
Reports 5.02 Understand database queries, forms, and reports used in business.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Lesson 2: Working with Slides Microsoft PowerPoint 2010.
Microsoft Access 2010 Chapter 4 Creating Reports and Forms.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
An Introduction to Forms. The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road map, we are.
Project Planning Defining the project Software specification Development stages Software testing.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Adobe Photoshop CS4 – Illustrated Unit A: Getting Started with Photoshop CS4.
EDD/DM Changes for release 2.4 Deb Kerstiens September 4, 1997.
1 Berger Jean-Baptiste
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
Microsoft PowerPoint 2010 Lesson 6: Working with Layout and Graphics Created by Felicia Hudson, Riverside High School--Durham Public Schools.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
HORIZONT TWS/WebAdmin DS TWS/WebAdmin DS Tips & Tricks
D.Y.O. Web The new and easy way to create and maintain your own professional dynamic website.
Objectives At the end of this session, students will be able to:
Chapter 2 – Introduction to the Visual Studio .NET IDE
Lesson 6: Working with Layout and Graphics
TEISS Interface Review
The Power Of PowerPoint.
Lesson 6: Working with Layout and Graphics
Lesson 6: Working with Layout and Graphics
Lesson 6: Working with Layout and Graphics
Working Knowledge Training
Presentation transcript:

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Badlfish: an EDD/DM to EDM translator Outline Introduction EDD/DM file structure EDM file structure Widget translation Color map and color rule translation Example translations Further information for use Summary and future enhancements

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Introduction EDD/DM format unreadable by EDM Need an automated tool (so many panels!) Use perl to make use of pattern matching

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 EDD/DM file structure file {} header display {} “ >” {} here or in an “ >” {} external file “ >” {} x,y,w,h,group “ >” {} (optional) clrrule,vis “widget that uses basic, dyn attributes” {} image,line, “another-widget-that-uses same attributes” {} oval, rect, text “stand-alone widget that doesn’t use attribs” {} exec, rdisp, kill disp, text update

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 EDM file structure header object display size, colors, fonts self-contained graphical object all widgets

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Widget translation file {} no internal storing of filename display {} header object “ >” {} lookup table of matched colors “ >” {} new dynamic color definitions “ >” {} “widget (basic, dyn attribs)” {} self-contained graphical object “another-widget (same attribs)” {} self-contained graphical object “stand-alone widget” {} self-contained graphical object

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Widget translation EDD/DMEDM GraphicsRectangle Line OvalCircle Arc TextStatic Text 3-D BorderN/A ImageGIF Image

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Widget translation EDD/DMEDM MonitorsIndicatorBar Text UpdateText Monitor Meter Byte

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Widget translation EDD/DMEDM ControllersValuator? Text Entry Choice Button Message Button Toggle ButtonButton Menu? File Selection Menu ?

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Widget translation EDD/DMEDM Controllers (continued) Related Display Execute Script Shell Command Kill DisplayExit Button Print DisplayN/A Print OptionsN/A Cartesian PlotX-Y Plot

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Color map translation 8-bit EDD/DM colors (RGB) 16-bit colors (RGB) Blinking EDD/DM colors (R,G,B,R/2,G/2,B/2) Add basic blinking color entries to EDM colors so they exist Least square fit to match 16-bit EDD/DM to EDM colors Save results in color lookup table to use in widget translation User has option to intervene and change LUT during process Except for add’l blinking colors, EDM colors unchanged

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Color rule translation EDD/DM has two kinds: single PV and multi-PV rules Single PV color rules become new “colors” in EDM colors which set a static color based on value of PV Multi-PV color rules also become new “colors” but the input PVs have to be combined first into a CALC so that there is only one output (which becomes the input to the new “color”) and is then set, as done for the single PV, to a static color based on the value The new “colors” must be added to EDM color definition before EDM can be run on translated panel

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Color rule translation example

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Color rule translation example

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Color rule translation example Contents of color rule look-up table for rule “alarm”: rule name typecalc clr 0 alarm s CALC\{$(STN):$(NAME).SEVR}84 New color for EDM color definition file looks like this: rule 84 alarm { = -1: “purple-46” = 2 : “Monitor: MAJOR” = 1: “Monitor: MINOR” } Note that “purple-46”, “Monitor*” are existing EDM static colors

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Example translations

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Further information for use User manual gives more details and instructions for use: The basic steps are: Download the tarball and modify the run* scripts for your setup (where the.adl files are, where badlfish is, etc) Run badlfish to translate.adl files Intervene midway through (optional) to change anything in color map or color rule lookup tables Update your colors.list with new colors and menumap Run new.edl screens with EDM

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Summary and future enhancements Badlfish is a tool available to translate EDD/DM displays to EDM Byte translation needs work Valuator, menu and file menu not yet implemented

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Additional slides

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Complex (multi-PV) color rule

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Complex (multi-PV) color rule rule name type calc clr 1 rf_ilck c CALC\{($(STN):STNDCM:SUMY:MODU.SEVR>1)?30: ($(STN):$(MODULE):MODU.SEVR>1)?30:($(STN):$(COM P):FRST.SEVR==- 1)?30:($(STN):$(COMP):LTCH.SEVR==- 1)?30:($(STN):$(COMP):FRST.SEVR>0)?3:($(STN):$(CO MP):LTCH.SEVR>0)?3:($(STN):$(COMP):LTCH.SEVR>0) ?24:($(STN):$(NAME).SEVR==1)?30:($(STN):$(NAME).SE VR==2)?23:($(STN):$(NAME).SEVR==1)?4:($(STN):$(MO DULE):MODU.SEVR==1)?23:($(STN):$(NAME).SEVR==0) ?6:14)} 85

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Complex (multi-PV) color rule New color for EDM color definition file looks like this: rule 85 rf_ilck { = 30 :"Controller/alt" = 3 :"GLOBAL canvas" = 24 :"red-24" = 30 :"Controller/alt" = 23 :"red-23" = 4 :"grey-4" = 23 :"red-23" = 6 :"GLOBAL title" }

Dayle Kotturi EPICS Collaboration Meeting December 8-10,2004 Example translations