BCDA-APS / apstools

various tools for use with Bluesky at the APS
https://bcda-aps.github.io/apstools/latest/
Other
16 stars 9 forks source link

aps_machine.py #972

Closed prjemian closed 3 months ago

prjemian commented 5 months ago
prjemian commented 5 months ago

Need to add 164.54.188.8 to your EPICS_CA_ADDR_LIST.

The new MEDM screens that I've seen are using 'S-DCCT:CurrentM' for storage ring current.

prjemian commented 5 months ago

On further investigation, a DCCT is a DC Current Transformer. It is not the storage ring current. It is related, though. The article states:

The change of stored current with time monitored with the DCCT provides a measure of beam lifetime.

prjemian commented 5 months ago

@jkirchman replies on Teams:

If used with an oxygen-based host (my preference is 'tin'), 'xfd-display' does work properly. You can find many of the older usual screens that you may be used to. If I check one of the usual screens, I can see what operator and basic storage ring PVs are now used: 606 jkirchman@tin ~> grep chan /usr/local/iocapps/adlsys/sr/fe/SR_Status.adl | sort | uniq chan="Mt:TopUpAutoEnableC.VAL" chan="NoOfShuttersOpenA" chan="OPS:message1" chan="OPS:message2" chan="OPS:message3" chan="OPS:message4" chan="OPS:message5" chan="OPS:message6" chan="RF-ACIS:FePermit:Sect1To35IdM" chan="RF-ACIS:FePermit:Sect1To35IdM.RVAL" chan="S:ActualMode" chan="S-DCCT:CurrentM" chan="S:DesiredMode" chan="S:FillNumber" chan="S:injectingStatusBI" chan="S:IOC:timeOfDayForm1SI" chan="S:OrbitCorrection:CC" chan="SRFB:GBL:LoopStatusBI" chan="S:SRlifeTimeHrsCC"

prjemian commented 4 months ago

Can test at first beamlines to start with APS-U era.

Make sure the device will connect. If not:

prjemian commented 4 months ago

@keenanlang writes:

klang@kobold:~$ export EPICS_CA_AUTO_ADDR_LIST=no
klang@kobold:~$ export EPICS_CA_ADDR_LIST="pvgatemain1.aps4.anl.gov"
klang@kobold:~$ caget S-DCCT:CurrentM
S-DCCT:CurrentM                -0.00471643

We'd need to make sure that the beam line account can access the storage PVs through the new gateway.

prjemian commented 4 months ago

Usually configured in the ~/.bash_aliases file.