Display Builder Update

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
Site Modules > Page Builder Access the Page Builder module through the Site Modules top navigation link. Access Page Builder from the Site Modules navigation.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Details Kay Kasemir ORNL/SNS A lot of material.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Chapter 19 – Macromedia Dreamweaver MX 2004
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Kay Kasemir ORNL/SNS A lot of material from.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
ArcGIS: ArcMap Layout View. Agenda Layout interface Using templates Page properties Data frame properties Toolbars Layout elements Fine-tuning Finishing.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Microsoft Expression Web-Illustrated Unit E: Working with Pictures.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Not Yet Another EPICS Display Manager!? Kay Kasemir, Xihui Chen Kobe EPICS Meeting October.
By: Ms. Abeer Helwa 1. CREATE A WORD DOCUMENT 2 Blank document Templates To create a new blank document: click the File tab and click Blank document.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Introduction to Technology. Parts of MSWord Screen Title Bar Quick Access Toolbar Button Ribbon Status Bar (views and zoom)
Positioning Objects with CSS and Tables
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
CSS Synoptic Display Comments Kay Kasemir, July 2009.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 6 1 Creating Dynamic Pages.
 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.
1 Word Processing Intermediate Using Microsoft Office 2000.
Lesson 13 Tables. Overview Create a table. Key and edit text in tables. Select cells, rows, and columns. Edit table structures. Format tables and cell.
1 Pertemuan 10 Using Type Matakuliah: U0344 / DESKTOP 1 Tahun: 2006.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
C# Programming: From Problem Analysis to Program Design1 Visual Studio Configuration C# Programming: From Problem Analysis to Program Design 4th Edition.
Creating a Presentation
Working with Data Blocks and Frames
Getting Started with Adobe Photoshop CS6
Integrating Office 2003 Applications and the World Wide Web
Working in the Forms Developer Environment
Shelly Cashman: Microsoft Word 2016
Positioning Objects with CSS and Tables
Chapter A - Getting Started with Dreamweaver MX 2004
Chapter 2 – Introduction to the Visual Studio .NET IDE
Chapter 2 Adding Web Pages, Links, and Images
Chapter 2 – Introduction to the Visual Studio .NET IDE
Tutorial 6 Creating Dynamic Pages
Embedding Graphics in Web Pages
Control System Studio (CSS)
DREAMWEAVER MX 2004 Chapter 4 Working with Images
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
DREAMWEAVER MX 2004 Chapter 7 Working with Layers
Introduction to Word Chapter 3
Positioning Objects with CSS and Tables
Programming with Microsoft Visual Basic 2008 Fourth Edition
Kay Kasemir, ORNL/SNS Kunal Shroff
Display Builder Update
Microsoft Excel 2007 – Level 2
Presentation transcript:

Display Builder Update Kay Kasemir, Megan Grodowitz, Amanda Carpenter (SNS), Claudio Rosati (ESS) May 2017 EPICS Meeting KURRI, Japan

Great tool, but internal limitations (UI thread, modularity) CS-Studio ‘BOY’ Great tool, but internal limitations (UI thread, modularity)

Display Builder Modular code Editor Runtime PV Modular code Load files, handle PV updates & scripts off the UI thread Compatible w/ *.opi files Representation JavaFX Model BOY Display Builder

Editor

Widgets Handles most “BOY” widgets and their key properties. Implemented by 4 different contributors. Missing: Knob, Thumb Wheel Symbol

Refine and Consolidate Widgets Picture Rotate by any angle Rectangle, Rounded Rectangle Rectangle w/ corner width, height LED with different PV behavior LED for binary PV or ‘bit’ MultiStateLED for N states

Editor Comparison

Inline Editor for Key Properties In editor, Double-click widget for PV Name (Any widget with PV) Text (Label Widget)

Properties: Arrays and Structures “state_0_color”, .., “state_value_3” Actual arrays and structures: “states[0].color”, “states[3].value” Array size only limited by memory

Widget Classes Definition Use Class Name Selected Property Values Select Class

Image Widget PVs: ca://waveform + width + height pva://image ROIs Colormaps

Table Widget Data: VTable PV (read-only) String[][] (read, write) Toolbar: Add/remove row, column Move row/column Publish selected cells in VTable PV

Poly Editor ‘Append’ Mode ‘Edit’ Mode Toggle between modes Add points Delete last point ‘Edit’ Mode Move Add Delete points Toggle between modes

Macros String Properties Numeric, Boolean Properties Default values PV Name “$(S):XYZ”, Text “Hello, $(NAME)” Numeric, Boolean Properties Width $(WIDTH), Visible $(SHOW) as long as value is numeric resp. “true”/”false” Default values $(S=Test), $(WIDTH=100)

Alarm-sensitive Border Space-efficient, distinguishable Minor: Single-line Major: Double-line Invalid/Disconnected: Broken line .. now without widget body resize

Open Editor from Runtime

Upgrade Path for *.opi Files “Open abc.opi!” Actually loading abc.bob, if present Editor always saves as *.bob file  Leave most *.opi in place, only manually update to *.bob as needed: Fine-tuning of layout Scripts, some rules Tables Plots

Scripts Execute in background JavaScript Jython C-Python

Minimal script compatibility val = PVUtil.getDouble(pvs[0]) pos = 100 + 20*val widget.setPropertyValue(“x”, pos) Convert x.opi into x.bob, then use new scripts Keep existing x.opi and update just the scripts: try: # Use new API from org.csstudio.display.builder.runtime.script import ScriptUtil except: # Fall back to old API from org.csstudio.opibuilder.scriptUtil import ScriptUtil

Rule & Script Dialog Streamlining All rules of a widget in one dialog

Standalone Runtime “Like EDM” DisplayRuntime –options .. /path/to/display_file

Standalone vs. Integrated in CS-Studio Startup from scratch: 3 seconds Start CS-Studio, restore display: 8 sec Uses *.opi from command line Open files via Navigator, “Top Displays” menu Standalone Window Pane/Tab within Workbench Window - Toolbar: Back/Forward; Zoom Open Widget’s PV in Tree, Data Browser, … Email screenshot, or send to Logbook Full JavaFX speed SWT FXCanvas bottleneck Preference file for CA Addr list etc. Preference file & UI, Online help Close Window  Start over Persists window state

Performance (Linux) BOY Speed JFX/FXCanvas remote via ssh UI freeze when loading display, executing script, .. Speed JFX/FXCanvas remote via ssh Display Builder (FXCanvas, in CSS) No UI freeze .. Display Builder (JFX, standalone) No UI freeze! .. remote via Cendio ThinLic, or ssh options for weak encryption, compression

SNS Beam Lines 2 beam lines use display builder Existing *.opi Plots with error bars Interactive sample centering on ‘click’ 3 more updated this summer

SNS Beam Lines

SNS Beam Line Detector Display Capable of displaying the full-size X/Y histogram (4500x1800 pixel) Interactive zoom & pan

Boy, Only Better Operational on SNS Beamlines Background threads, faster, less freezing Reads existing files Scripts, tables, plots require adjustments To try: Seminar on Friday SNS or ESS products https://github.com/kasemir/org.csstudio.display.builder

Present current state of Model Edit Time Data Flow Add Widget, Set Property Editor Present current state of Model Update File Save Representation Model JFX Notify of changes

Present current state of Model Runtime Data Flow Runtime PV Scripts, (Rules) UI Event Present current state of Model Enter Text, Push Button File Update Load Representation Model JFX Notify of changes

File Format Similar, yet Concise Useful order .bob