18
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and more @ DESY Delphy Armstrong, Xihui Chen, Kay Kasemir, Dave Purcell @ SNS/ ORNL [email protected] April 2009

CSS Update - TRIUMF

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CSS Update - TRIUMF

Managed by UT-Battelle for the Department of Energy

CSS Update

Matthias Clausen, Helge Rickens,

Jan Hatje and more @ DESY

Delphy Armstrong, Xihui Chen,

Kay Kasemir, Dave Purcell @ SNS/ORNL

[email protected]

April 2009

Page 2: CSS Update - TRIUMF

2 Managed by UT-Battelle for the Department of Energy

Electronic Logbook Support 1.  API for creating E-Log entries

(Text w/ optional image). Used by Data Browser, BEAST, PACE.

2.  Implementation for SNS Oracle-based ELog. You can plug your implementation in.

Page 3: CSS Update - TRIUMF

3 Managed by UT-Battelle for the Department of Energy

‘PACE’: PV Adjust, Confirm, ELog

• Tool for conveniently editing several related PVs, then log the reason & change

• Spreadsheet-type GUI –  Click, enter value for single PV … or … –  Select many rows, right-click, “Set Values”, enter value

Page 4: CSS Update - TRIUMF

4 Managed by UT-Battelle for the Department of Energy

‘PACE’… •  When done, “Save” prompts for ELog entry

–  PV name, value, … automatically added to text

–  PVs only updated when pressing ‘OK’

•  Planned use @ SNS: –  RF Power limits –  LLRF calibration settings –  RCCS P/I/D parameters

… where viewing and editing several system instances and Elog entries are useful

manual

automatic

Page 5: CSS Update - TRIUMF

5 Managed by UT-Battelle for the Department of Energy

RDB Tools

•  Needed to view SNS RDB

•  Coded with pluggable implementations – Device/PV mappings – Rack Info – Fields of a PV

… with examples for the SNS Oracle RDB which could be replaced by plugins for your site

Page 6: CSS Update - TRIUMF

6 Managed by UT-Battelle for the Department of Energy

PV & Rack Utils

•  PVs on IOC

•  Which IOC has PV?

•  IOC Location

Page 7: CSS Update - TRIUMF

7 Managed by UT-Battelle for the Department of Energy

PV Fields

•  Shows fields of a PV, both “from File” and current – All configured fields of a PV – Selected fields of several PVs

Page 8: CSS Update - TRIUMF

8 Managed by UT-Battelle for the Department of Energy

Similar DESY Tool: Kryo Namespace Browser

Search filter and creation

mask View of Kryo-Name

elements Search result

Page 9: CSS Update - TRIUMF

9 Managed by UT-Battelle for the Department of Energy

EDM Write Log

•  Recent EDM versions can send information about PV “writes” to external tool.

•  Updated “JMSSender” tool to forward EDM output into CSS JMS log – PV – Old, new value – User, Host

• Write access can then be viewed together with e.g. alarms

Not used operationally at this time

Page 10: CSS Update - TRIUMF

10 Managed by UT-Battelle for the Department of Energy

SDS work at SNS

•  Fundamentally a great idea

•  Evaluation, assembling list of issues

•  Adding new widgets

Page 11: CSS Update - TRIUMF

11 Managed by UT-Battelle for the Department of Energy

Ongoing @ DESY

•  SDS in operation – ~20 displays,

plus >100 translated dm2k Faceplates –  In ~Autumn, plan to use SDS exclusively

•  CSS-as-EPICS-IDE –  IO Configurator (specific to DESY) – Database configuration editor (generic interface) – SNL Editor (generic)

Page 12: CSS Update - TRIUMF

12 Managed by UT-Battelle for the Department of Energy

IO Configurator

Tree representation of the Profibus

elements

Configuration view for a

Profibus Module

Slide info from Helge Rickens, DESY

Page 13: CSS Update - TRIUMF

13 Managed by UT-Battelle for the Department of Energy

IO Configurator

•  The IO Configurator has several functions.

-  Creation of the Profibus Configuration in XML for the Profibus Master (EPICS IOC)

-  Create and fill the Device Database

-  Mapping of Documents and Devices.

-  Mapping of Hardware Addresses to EPICS DEV and INP/OUT fields

Slide info from Helge Rickens, DESY

Page 14: CSS Update - TRIUMF

14 Managed by UT-Battelle for the Department of Energy

DCT - Database Creation Tool

Object Properties

Object Tree Record Fields or Object Parameters

Project Navigator

Slide info from Helge Rickens, DESY

Page 15: CSS Update - TRIUMF

15 Managed by UT-Battelle for the Department of Energy

DCT - Database Creation Tool •  Design Criteria: 1.  Create hierarchical EPICS databases

2.  Graphical Representation of Record Structures 1.  For Documentation purpose 2.  As a Design Tool

•  Functionality -  Definition of prototypes

(Prototypes may include other prototypes as well as records) -  Definition of prototype hierarchies (no limitation) -  String/ Name substitution using Macro substitution on all levels -  By default only fields which differ from the default are visible -  Support for forward links inside prototypes -  Support for DEV/ INP/ OUT filed name definition from Device

Database -  Store complete model in XML (cvs support (built in Eclipse)) -  Save database in db format – or other persistent store (simple

interface) Slide info from Helge Rickens, DESY

Page 16: CSS Update - TRIUMF

16 Managed by UT-Battelle for the Department of Energy

SNL Editor – State Notation Language

Outline Navigator

SNL Editor

Slide info from Helge Rickens, DESY

Page 17: CSS Update - TRIUMF

17 Managed by UT-Battelle for the Department of Energy

SNL Editor – State Notation Language -  Syntax high lightning

-  Outline to list SNL states

•  Planned: -  Support for Compile/ Link/ Run on local machine

1. Linux; 2. … -  Graphical representation of SNL programs

(State Diagram) -  Support to graphically create SNL skeletons -  Support to debug SNL programs on local machine

(requires SNL changes)

Slide info from Helge Rickens, DESY

Page 18: CSS Update - TRIUMF

18 Managed by UT-Battelle for the Department of Energy

Summary

•  A lot going on.

•  Plenty room to add tools for site-specific needs

•  Can be designed with site-specific code in pluggable implementations

•  Appear and act in CSS, not as standalone tcl/tk/phython/… hacks