WP8507
Camilla, TJ, Dave:
The L2 Damp Mode Gains values are now available as EPICS channels. Previously they were listed in the lscparams.py file.
This was a two part install:
1. I created a new EPICS IOC to host the new channels. It is running on h1fescript0 and its details are available in this wiki page
2. TJ made a modification to VIOLIN_DAMPING.py to write the gains to the new channels.
Now H1 has locked, the gain values have been updated to the EPICS PVs. I created an MEDM to show the 80 values (20 per test mass).
MEDM is /opt/rtcds/userapps/trunk/cds/h1/medm/SUS_VIOLIN_MODE_GAINS.adl
Populating these channels is done from the VIOLIN_DAMPING Guardian node in the DAMPING_SETTINGS state. It reads the lascparams.py file to get the gain settings, and then puts them into these channels. This way they are updated every lock. The relavant code:
#set the settings for the modes that are damped on this test mass
for mode, setting in modes.items(): # iterates through modes in lscparams # Add the lscparams gain values to the NORMALGAIN chan
ezca['SUS-{}_L2_DAMP_MODE{}_NORMALGAIN'.format(sus, mode)] = setting['gain']
I didn't give credit where credit is due, the above code is from Camilla. I loaded it in and watched it work.