Edl Build generating edl files R Keitel Epics
Edl. Build – generating edl files R. Keitel Epics Collaboration Meeting, Slac 28 -Apr-2005
Why do we need it? • remember yesterday’s presentation • For those who fell asleep Ø We build 1700 device faceplates Ø Every time an interlock specification changes, we rebuild • Use edd/dm now, prepare for converting to edm • Need solution for edm !!
Solution: Edl. Build • • • Perl module library syntax like Perl/Tk allows configuration of any widget property configure site-specific “look and feel” extensible
Edl. Build example
Edl. Build Internals • Perl module Edl. pm Ø Includes ô all widget modules ô site-configuration modules Ø Contains ô code for the Edl object (“screen”, “canvas”) ô one creation functon per widget ô code common to all widgets • One Perl Module Edl…. pm per widget Ø Contains ô name/value template ô new() ô configure()
Site-specific look and feel • Configure name/value templates in the widget modules Ø flexible Ø minimise # of parameters in widget calls Ø tedious • module Edl. Defaults. pm Ø variables for ô common colours i. e. fg, fb, on, off, incons, top. Shadow, bot. Shadow ô default font Ø widget versions
Site specific extensions • If you have your own widgets Ø Create a perl module per widget: ô Copy an existing Edl…. pm module ô use EDMGENDOC to create the name/value template and copy into Edl. . pm module ô run Convert. Edl. Template. pl Ø module Edl. Site. Use. pm ô includes site-specific Perl modules Ø module Edl. Site. Widgets. pm ô defines creation functions for site-specific widgets
State of things (April 2005) • Edl. Build Ø Beta >> release candidate Ø all edm 1. 10. 1 widgets are supported Ø gif, png not tested • TRIUMF edd/dm >> edm Ø Ø all 1700 TRIUMF panels generated made TRIUMF version of badlfish converted all existing TRIUMF dm screens created a “parallel universe” for operators to play and try • need macro expansion for colour rules in edm for interactive screen development • Need ability to dump XY-plot data to ascii file
Interested? ? ? http: //isacwserv. triumf. ca/epics/edlbuild
- Slides: 9