Download presentation
Presentation is loading. Please wait.
Published byJanel Lloyd Modified over 8 years ago
1
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir chenx1@ornl.gov RAD Control Group
2
2Managed by UT-Battelle for the U.S. Department of Energy What is BOY? BOY (Best OPI, Yet) – An Operator Interface (OPI) development and runtime environment OPI – Graphical User Interface for a control system Similar to EDM, MEDM, SDS, DM2K…
3
3Managed by UT-Battelle for the U.S. Department of Energy Why Best? Best of SDS (Synoptic Display Studio: DESY) Java portability CSS integration Every property can be dynamic Modern Graphical Editor based on GEF Best of EDM (Extensible Display Manager: John Sinclair) Simple things (Label, Textupdate, …) are simple Macros Combined with New Ideas Dynamic via PV-triggered scripts or rules Web browser like Runtime (tab, CTRL, SHIFT click) Comprehensive types of Widgets Good ideas from EPICS community Thanks to the creators of SDS and EDM for their great efforts!
4
4Managed by UT-Battelle for the U.S. Department of Energy OPI Editor Perspective All-In-One workbench for OPI editing Navigator Editor Palette Properties Outline Console Toolbar
5
5Managed by UT-Battelle for the U.S. Department of Energy OPI Editor Perspective Every View in the workbench can be dragged around, detached, minimized, maximized or closed. Recover the default perspective by resetting it. A Customized Perspective
6
6Managed by UT-Battelle for the U.S. Department of Energy Editing Features Adding Widgets – Drag & Drop Snap to G, align, distribute Ctrl+Drag widgets to duplicate Select multiple widgets to – Edit common properties – Adjust size or move around
7
7Managed by UT-Battelle for the U.S. Department of Energy A simple OPI Create a functional OPI in a breeze 1.Create a new OPI file 2.Drag a widget (Knob for example) from palette to editor 3.Enter the PV name in Properties view 4.Click the “Run ” button to execute it! What you will get PV value as text and via knob position PV severity reflected in border color PV name and value shown in tool-tip PV’s display limits set the knob’s default range PV’s HiHi, High, Low, LoLo limits displayed in ramp Indicate ‘disconnected’ state via a pink border Widget will be greyed-out if write not allowed (read-only)
8
8Managed by UT-Battelle for the U.S. Department of Energy OPI Runtime Behaves like a Web Browser – OPIs display in Tabs. Tabs can be rearranged. – Open related OPI in a new Tab via Ctrl+click, or in a new Window via Shift+click. – Navigate Backward/Forward – Zoom In/Out – Full Screen/Compact Mode – Screenshot to printer, Email, Logbook Navigation Zoom In/Out Top OPIs
9
9Managed by UT-Battelle for the U.S. Department of Energy Rules - Easily to make widget properties dynamic Directly send PV’s value to a property Condition dependent property value Multiple rules per widget
10
10Managed by UT-Battelle for the U.S. Department of Energy Scripts - Intelligentize your OPI Access Widget Access PV Call Java code Javascript
11
11Managed by UT-Battelle for the U.S. Department of Energy Scripts - Intelligentize your OPI Don’t like Javascript? Use Python Script Python Script
12
12Managed by UT-Battelle for the U.S. Department of Energy Macros Format: $(macro_name) or ${macro_name} Embedded in text-base properties – PV Name, tooltip, rules … Replaced at runtime Powerful way for duplicating duplicate
13
13Managed by UT-Battelle for the U.S. Department of Energy Color & Font Macros Predefine colors or fonts in text files Using Color and Font macro will help you Have consistent look for a set of OPIs across Linux, Windows, Mac OS Adjust for example “Title” in one place Reuse some particular color or font
14
14Managed by UT-Battelle for the U.S. Department of Energy Color Macros
15
15Managed by UT-Battelle for the U.S. Department of Energy Font Macros Note slightly different definition to achieve common look on Linux, Windows, Mac OS
16
16Managed by UT-Battelle for the U.S. Department of Energy Send PV name to other CSS tools Use common CSS Process Variable context menu to send PV name to other CSS tools
17
17Managed by UT-Battelle for the U.S. Department of Energy Drag & Drop Drag Source could be text or PV Drop to OPI editor to create widgets
18
18Managed by UT-Battelle for the U.S. Department of Energy Widgets Support various types of data – Double, Integer, String, Enum, Boolean, Waveform… – Allow plugging in customized widgets Data Browser Widget – browsing history and live data in BOY
19
19Managed by UT-Battelle for the U.S. Department of Energy Technical View Coding in Java, based on Eclipse, GEF and CSS platform Portable to Windows, Mac OS and Linux BOY is a set of Eclipse Plugins Integrated with CSS natively, also possible to integrate it with other RCP applications
20
20Managed by UT-Battelle for the U.S. Department of Energy OPIs in CCR The OPIs deployed in CCR can also be opened from SNS office network Open the main screen from here
21
21Managed by UT-Battelle for the U.S. Department of Energy OPIs in CCR Top-level displays created by operators Tim Southern, Nick Luciano
22
22Managed by UT-Battelle for the U.S. Department of Energy OPIs in CCR Some special displays
23
23Managed by UT-Battelle for the U.S. Department of Energy Example: “Steering” Tool Try to get spot into the green, at least into orange Tim Southern, Nick Luciano
24
24Managed by UT-Battelle for the U.S. Department of Energy BOY At SNS Office Used for hardware and IOC test
25
25Managed by UT-Battelle for the U.S. Department of Energy Summary BOY is an integrated OPI Editor and Runtime – Technically, Java/Eclipse RCP plugins Modern graphical editor with comprehensive functions to support your OPI editing OPI Runtime behaves like a web browser Rules and JavaScripts can add logic to your OPI Need to follow some rules to deploy OPIs in CCR
26
26Managed by UT-Battelle for the U.S. Department of Energy Thank you! BOY Home Page – http://sourceforge.net/apps/trac/cs-studio/wiki/BOY http://sourceforge.net/apps/trac/cs-studio/wiki/BOY Download – SNS CSS Home Page: http://ics-web.sns.ornl.gov/css – Unpack and Run CSS, no installation needed. Tutorials – Online Help – BOY Examples Based on http://buzzynews.com/wp-content/uploads/2008/01/steve-jobs-presente- le-mac-book-air-lordinateur-portable-le-plus-fin-du-monde.jpg
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.