180 likes | 310 Vues
This document outlines the development and implementation of advanced electronic logbook support systems and database tools for SNS and DESY. It discusses an API for creating electronic log entries using a spreadsheet-style GUI, allowing users to efficiently manage multiple process variables (PVs). Additionally, it covers the integration of tools for monitoring RF power limits, calibration settings, and PID parameters, along with pluggable configurations for device mapping and data logging. The ongoing enhancements aim to improve operational efficiency and user experience.
E N D
CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and more @ DESY Delphy Armstrong, Xihui Chen, Kay Kasemir, Dave Purcell @ SNS/ORNL kasemirk@ornl.gov April 2009
Electronic Logbook Support • API for creating E-Log entries (Text w/ optional image).Used by Data Browser, BEAST, PACE. • Implementation for SNS Oracle-based ELog.You can plug your implementation in.
‘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
‘PACE’… • When done, “Save” prompts for ELog entry • PV name, value, … automaticallyadded to text • PVs only updated whenpressing ‘OK’ • Planned use @ SNS: • RF Power limits • LLRF calibration settings • RCCS P/I/D parameters … where viewing and editingseveral system instancesand Elog entriesare useful manual automatic
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
PV &Rack Utils • PVs on IOC • Which IOC has PV? • IOC Location
PV Fields • Shows fields of a PV, both “from File” and current • All configured fields of a PV • Selected fields of several PVs
Similar DESY Tool:Kryo Namespace Browser Search filter and creation mask View of Kryo-Name elements Search result
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
SDS work at SNS • Fundamentally a greatidea • Evaluation,assembling list of issues • Adding new widgets
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)
IO Configurator Tree representation of the Profibus elements Configuration view for a Profibus Module Slide info from Helge Rickens, DESY
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
DCT - Database Creation Tool Object Properties Project Navigator Record Fields or Object Parameters Object Tree Slide info from Helge Rickens, DESY
DCT - Database Creation Tool • Design Criteria: • Create hierarchical EPICS databases • Graphical Representation of Record Structures • For Documentation purpose • 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
SNL Editor – State Notation Language Outline Navigator SNL Editor Slide info from Helge Rickens, DESY
SNL Editor – State Notation Language • Syntax high lightning • Outline to list SNL states • Planned: • Support for Compile/ Link/ Run on local machine1. 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
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