40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Wed Oct 13 18:01:43 2010, yuta, HowTo, CDS, editting all the similar medm screens 
    Reply  Thu Oct 14 00:54:12 2010, rana, HowTo, CDS, Bad PSL Quad, so I edited the SUS MEDM screens Untitled.png
    Reply  Tue Oct 26 12:45:20 2010, yuta, HowTo, CDS, making a new master file for medm screens 
Message ID: 3785     Entry time: Tue Oct 26 12:45:20 2010     In reply to: 3708
Author: yuta 
Type: HowTo 
Category: CDS 
Subject: making a new master file for medm screens 

(Joe, Yuta)

 In elog #3708, we showed how to edit all the similar medm screens easiliy.
 But if there are no master files you want to edit in /opt/rtcds/caltech/c1/medm/master/ directory, you can make one.
 Say, you want to edit all the similar medm screens named C1SUS_NAME_XXX.adl.

1. Copy one of C1SUS_NAME_XXX.adl to /opt/rtcds/caltech/c1/medm/master/ directory as C1SUS_DEFAULTNAME_XXX.adl.

2. Go to that directory and
  sed -i 's/NAME/DEFAULTNAME/g' C1SUS_DEFUALTNAME_XXX.adl

3. Add "_XXX.adl" to file_array list in generate_master_screens.py

4. Edit C1SUS_DEFUALTNAME_XXX.adl

5. Run ./generate_master_screens.py

That's all!!

ELOG V3.1.3-