CSS Update

Document Sample
CSS Update Powered By Docstoc
					                               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

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.




2   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




3   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‟


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

       … where viewing and editing
         several system instances
         and Elog entries
         are useful
4   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



5   Managed by UT-Battelle
    for the Department of Energy
PV &
Rack Utils

 PVs on IOC
 Which IOC has
  PV?
 IOC Location




6   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




7   Managed by UT-Battelle
    for the Department of Energy
Similar DESY Tool:
Kryo Namespace Browser



     Search
    filter and
     creation
       mask                          View of
                                   Kryo-Name
      Search                        elements
       result




8   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
9
        time
    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




10 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)




11 Managed by UT-Battelle
   for the Department of Energy
IO Configurator




       Tree
  representation
  of the Profibus
     elements




                                           Configuration
                                             view for a
                                          Profibus Module



12 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   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



13 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   for the Department of Energy
DCT - Database Creation Tool



                                           Object
                                          Properties
      Project
     Navigator




      Record Fields or                    Object Tree
     Object Parameters




14 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   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)
15 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   for the Department of Energy
SNL Editor – State Notation Language




                                           Outline
                                          Navigator
     SNL
    Editor




16 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   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)

17 Managed by UT-Battelle
    Slide info from Helge Rickens, DESY
   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




18 Managed by UT-Battelle
   for the Department of Energy