Download presentation
Presentation is loading. Please wait.
Published byEustacia Sharp Modified over 9 years ago
1
R. Keitel Epics Collaboration Meeting, Slac 28-Apr-2005 EdlBuild – generating edl files
2
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 !!
3
Solution: EdlBuild Perl module library syntax like Perl/Tk allows configuration of any widget property configure site-specific “look and feel” extensible
4
EdlBuild example
5
EdlBuild 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()
6
Site-specific look and feel Configure name/value templates in the widget modules Øflexible Øminimise # of parameters in widget calls Øtedious module EdlDefaults.pm Øvariables for ôcommon colours i.e. fg, fb, on, off, incons, topShadow, botShadow ôdefault font Øwidget versions
7
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 ConvertEdlTemplate.pl Ømodule EdlSiteUse.pm ôincludes site-specific Perl modules Ømodule EdlSiteWidgets.pm ôdefines creation functions for site-specific widgets
8
State of things (April 2005) EdlBuild Ø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
9
Interested??? http://isacwserv.triumf.ca/epics/edlbuild
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.