1 / 12

Channel Management

Channel Management. Andreas L üdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting. Ok?. Introduction. Configuration. CA- Clients. medm Alarmhandler. Display Configuration Machine Model ... Channels. Channels ... Procedures Hardware Configuration.

apilcher
Download Presentation

Channel Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Channel Management Andreas Lüdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting EPICS WS

  2. Ok? Introduction Configuration CA- Clients • medm • Alarmhandler • ... • Display Configuration • Machine Model • ... • Channels • Channels • ... • Procedures • Hardware Configuration CA- Servers • EPICS IOCs • Portable CA Servers EPICS WS

  3. Questions to Answer • Server Developers: • Which of my channels are used? • Who’s using those channels? • Client Developers: • Is my channel configuration ok? • Where was a disconnected channel once served? • Operations Manager: • Will all client applications still work? EPICS WS

  4. Plan • Keep track of all provided channels • IOC name • Channel Name and Record Type • Fields of those Record • Keep track of all required channels • Client application name, start-up arguments • Channel name, field • Provide set of scripts to answer the questions EPICS WS

  5. required channels parser service provided channels SLS Implementation Database g.adl Clients h.alh i.conf Server EPICS IOCs EPICS WS

  6. p.dbd, q.tmpl, r.subs dbl Channels + RTYP Channels, RTYP rsh db2odb Record Fields dbd2odb Server Implementation EPICS IOC Boot Host Database startup.script EPICS WS

  7. lcf2odb command lines xpv g.adl h.alh i.conf Parser Implementation Database Config. Files Parser Launcher Configuration extract channels and commands EPICS WS

  8. Parser: e.g. medm • Extract all references of channels • Configuration files can be templates • Reads macro substitution from command line • Parser does substitution • Recursion • Calls of related panels and commands  call parser • Prevent infinite recursions  each combination of command and arguments is only parsed once! EPICS WS

  9. Database Implementation Application Config Channels Application Config Files IOC Channels Record Type Definition • IOC • Device • Property • Record Type • Load Date • Deleted Date • Record Type • Field • Field Type • Filename • Macrovar • Device • Property • Field • Filename • Config File • Load Date EPICS WS

  10. SQL Queries • Check of a single high level appl. config file • Get all config files with unsupported channels • Get all properties of a device • Public properties, used by some applications • Private properties, used by no application • Get all IOCs with a certain device or property • Check naming convention of provided channels EPICS WS

  11. How to make it Generic? • Parsing should be featured by the tools • Extract channel names(medm -GetChannels …) • Extract command lines(medm -GetCommands …) • Site specific configuration: • Naming convention (@SLS:Device ‘:’ Property ‘.’ Field) • Repository of command lines (@SLS: “Launcher”) • Environment variables for config file locations • Database table access EPICS WS

  12. Outlook • Central channel repository • Add IOC link repository (dbcar2odb) • High level application testing • Adding versioning / CVS tag information • Bind to software release mechanism • Automatic periodic background checks • Add more tools to query database • Make it a generic EPICS extension EPICS WS

More Related