Open prjemian opened 1 month ago
$ ls /APSshare/adlsys/*/*/*/*/*/STI_newIDControl.adl
/APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl /APSshare/adlsys/screens/adl/iocs/idctl/adl_New/STI_newIDControl.adl
or
bash
$ find /APSshare/adlsys/screens/adl -name STI_newIDControl.adl
/APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl
/APSshare/adlsys/screens/adl/iocs/idctl/adl_New/STI_newIDControl.adl
The two files are identical (timestamp, size, cksum).
$ grep chan= /APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl
chan="$(P):StopC.VAL"
chan="$(P):DeviceM"
chan="$(P):Message2M.VAL"
chan="$(P):Message1M.VAL"
chan="$(P):EnergyM.VAL"
chan="$(P):GapSetC.VAL"
chan="$(P):EnergySetC.VAL"
chan="$(P):GapM.VAL"
chan="$(P):LocationM"
chan="$(P):StartC.VAL"
chan="$(P):DeviceLimitM.VAL"
chan="$(P):DeadbandGapC"
chan="$(P):AccessSecurityC.VAL"
chan="$(P):TaperGapSetC.VAL"
chan="$(P):TaperEnergySetC.VAL"
chan="$(P):TaperEnergyM.VAL"
chan="$(P):TaperGapM.VAL"
chan="$(P):HarmonicValueC"
chan="$(P):PLCVersionM.VAL"
chan="$(P):TotalPowerM.VAL"
chan="$(P):AccessSecurityC"
chan="$(P):OptimumTaperM.VAL"
chan="$(P):STIVersionM.VAL"
chan="$(P):DeviceMagnetM"
Prefix for 4-ID upstream insertion device: S04ID:USID:
. Downstream similar, such as:
lift% caget S04ID:{U,D}SID:DeviceM
S04ID:USID:DeviceM APS30#4
S04ID:DSID:DeviceM APS30#9
Energy | upstream | downstream |
---|---|---|
setpoint | S04ID:USID:EnergySetC 11.3812 |
S04ID:DSID:EnergySetC 140 |
readback | S04ID:USID:EnergyM 11.3812 |
S04ID:DSID:EnergyM 11.3812 |
Curious. Today, the gap control screen for 04US, as started from the ID_Main.adl
screen, is for the Planar undulator PVs, using the S04US PVs.
Digging around a bit, I found the STI screen and compared. From the user perspective, the controls seem identical. Let's start the ophyd Device for the STI using the same pattern as for Planar.
class STI_InsertionDevice(ID_Spectrum_Mixin, ID_Controls_Mixin, ID_Misc_Mixin, Device):
"""Same PVs as APS Planar Undulator."""
As far as I understand the STI undulators are all planar undulators, but are produced by STI Optronics instead of in-house.