Introduction
A python script to make strip tool or archive viewer config files.
In $TOOLS/script on production is a python script: srf_makeAutoPlot.py
. It is meant to be called from a shell button on pydm or edm or from the prompt. You pass it what group of signals you want to see then open strip tool or archive viewer passing the config file created.
Example text typed at prompt or in a shell button:
srf_makeAutoPlot.py st cavtemps ACCL:L1B:H1 5 ; StripTool $STRIP_CONFIGFILE_DIR/srf_cavtemps.stp
This calls the script telling it to make a config file for striptool with cavity temps for CM H1 cavity 5 then open striptool with that config file pre-loaded.
Generic usage Strip Tool:
srf_makeAutoPlot.py st plotname vars ; StripTool $STRIP_CONFIGFILE_DIR/srf_plotname.stp
Generic usage archive viewer:
srf_makeAutoPlot.py av plotname vars ; lclsarch "srf_plotname.xml -plot"
Choices for plot types (plotname above) and required variables to be passed:
Signal Groups
cavtemps
Usage:
srf_makeAutoPlot.py st cavtemps ACCL:LxB:yy cavn ; StripTool $STRIP_CONFIGFILE_DIR/srf_cavtemps.stp
or
srf_makeAutoPlot.py av cavtemps ACCL:LxB:yy cavn ; lclsarch "srf_cavtemps.xml -plot"
Variables:
CM given as ACCL:LxB:yy, like ACCL:L1B:H1 and cavity number given as a single digit 1-8.
Signals added to config file:
STEPTEMP, CPLRTEMP1, CPLRTEMP2, DH:TEMP, UH:TEMP and if cavity 1 or 5 VT:TEMP and VB:TEMP
cryopipe
Usage:
srf_makeAutoPlot.py st cryopipe cm ; StripTool $STRIP_CONFIGFILE_DIR/srf_cryopipe.stp
or
srf_makeAutoPlot.py av cryopipe cm ; lclsarch "srf_cryopipe.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
Temps on cryolines: A, B1, B2, C, D, E, F, S, and both CD line temps
cplrtop
Usage:
srf_makeAutoPlot.py st cplrtop cm ; StripTool $STRIP_CONFIGFILE_DIR/srf_cplrtop.stp
or
srf_makeAutoPlot.py av cplrtop cm ; lclsarch "srf_cplrtop.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 CPLRTEMP1 signals for a given cryomodule
cplrbot
Usage:
srf_makeAutoPlot.py st cplrbot CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cplrbot.stp
or
srf_makeAutoPlot.py av cplrbot CM ; lclsarch "srf_cplrbot.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 CPLRTEMP2 signals for a given cryomodule
homus
Usage:
srf_makeAutoPlot.py st homus CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_homus.stp
or
srf_makeAutoPlot.py av homus CM ; lclsarch "srf_homus.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
All 8 UH:TEMP signals for a given cryomodule
homds
Usage:
srf_makeAutoPlot.py st homds CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_homds.stp
or
srf_makeAutoPlot.py av homds CM ; lclsarch "srf_homds.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
All 8 DH:TEMP signals for a given cryomodule
steptmps
Usage:
srf_makeAutoPlot.py st steptmps CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_steptmps.stp
or
srf_makeAutoPlot.py av steptmps CM ; lclsarch "srf_steptmps.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 STEPTEMP signals for a given cryomodule
cmcryos
Usage:
srf_makeAutoPlot.py st cmcryos CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmcryos.stp
or
srf_makeAutoPlot.py av cmcryos CM ; lclsarch "srf_cmcryos.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
Upstream and downstream liquid levels and pressures, JT & CD valve positions, power on CD heater
cmheves
Usage:
srf_makeAutoPlot.py st cmheves CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmheves.stp
or
srf_makeAutoPlot.py av cmheves CM ; lclsarch "srf_cmheves.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
The four Helium Vessel temps in a given cryomodule: cavity 1 top and bottom, and cavity 5 top and bottom.
cavhtrs
Usage:
srf_makeAutoPlot.py st cmhtrs CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmhtrs.stp
or
srf_makeAutoPlot.py av cmhtrs CM ; lclsarch "srf_cmhtrs.xml -plot"
Variables:
CM given as 01-35, H1, or H2
Signals added to config file:
All 8 cavity heater reading in one cryomodule (HV:POWER)
cmpiezov
Usage:
srf_makeAutoPlot.py st cmcryos CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmcryos.stp
or
srf_makeAutoPlot.py av cmcryos CM ; lclsarch "srf_cmcryos.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 piezo voltages in a given cryomodule (PZT:V)
cmvac - broken
Usage:
srf_makeAutoPlot.py st cmvac CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmvac.stp
or
srf_makeAutoPlot.py av cmvac CM ; lclsarch "srf_cmvac.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
Meant to be the three vacuums for a given cryomodule. Script for this doesn't work yet.
cmaact - broken - Sonya needs to add AACTMEANs to archiver
Usage:
srf_makeAutoPlot.py st cmaact CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmaact.stp
or
srf_makeAutoPlot.py av cmaact CM ; lclsarch "srf_cmaact.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 cavities' AACTMEANs for a given CM
Script currently has AACT instead of AACTMEAN
cmpdes
Usage:
srf_makeAutoPlot.py st cmpdes CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmpdes.stp
or
srf_makeAutoPlot.py av cmpdesCM ; lclsarch "srf_cmpdes.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 cavities' PDESs for a given CM
cmpact
Usage:
srf_makeAutoPlot.py st cmpact CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmpact.stp
or
srf_makeAutoPlot.py av cmpact CM ; lclsarch "srf_cmpact.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
All 8 cavities' PACTMEANs for a given CM
Script currently has PACT instead of PACTMEAN
cmmag
Usage:
srf_makeAutoPlot.py st cmmag CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_cmmag.stp
or
srf_makeAutoPlot.py av cmmag CM ; lclsarch "srf_cmmag.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
Three BACTs (QUAD, XCOR, YCOR), three PSVOUT (power supply voltage), and the power in the heater on the magnet package.
magtemps
Usage:
srf_makeAutoPlot.py st magtemps CM ; StripTool $STRIP_CONFIGFILE_DIR/srf_magtemps.stp
or
srf_makeAutoPlot.py av magtemps CM ; lclsarch "srf_magtemps.xml -plot"
Variables:
CM given as ACCL:LxB:yy, yy=01-35, H1, or H2
Signals added to config file:
4 temps on the magnet, :MP:TEMP, and 4 temps on the current leads CL:TEMP