2022-02-22 - Re-order gain ramps

Software: BM
AO: JCG

Software testing queue

Results

Juan Carlos's log for both the preceding AO science and software activities.

This is not a proper log, but it is a first log. We tested re-ordering gain ramp successfully after Juan Carlos's bin2 and pupil checks logged in the link above. The changes are in this pull request: https://github.com/LBTO/ao-supervisor/pull/106. The order of operations for ResumeAO will be: fsm_resume_ao, fsm_set_gain scaled, (delay), fsm_set_gain original

Software state

sxadsec and soul-sxwfs left in "stable" after the test.

Log

2022-02-20 14:32 MST:
  1. (BM) On sxadsec, created a new test installation for the change:
    cp -R ~/soul/latest ~/soul/test.20220222.reorder-gain-ramp 
    cd ~/soul/test.20220222.reorder-gain-ramp
    vim flao_environment.sh # changed ADOPT_PREFIX=$HOME/soul/test.20220222.reorder-gain-ramp
    source flao_environment.sh # for future make commands
  2. (BM) Modified AdSecArbitratorCommandsImpl.cpp with the change listed in the pull request and re-built the arbitrator:
    cd Arbitrator/adsecarbitrator 
    make clean && make && make install
  3. (BM) Modified $ADOPT_ROOT/conf/adsec/current/processList/adsecarb.conf and set gainRampDelay=1000.
  4. adsc_stop 
    use_soul test.20220222.reoorder-gain-ramp
    adsc_start
  5. (JCG) AOS: Power on AdSec, Set, PresetAO, AcquireRef (auto mode)
2022-02-20 15:17 MST:
  1. (JCG) Executed pause and resume
  2. Verified that the order of IDL commands is fsm_resume_ao, fsm_set_gain, (delay), fsm_set_gain:
     idl_ctrl_90623 |INF| 7563|2022-02-22 22:17:46.470628| MAIN > Executing command: errcode= fsm_set_gain('/local/aomeas/adsec_calib/M2C/KL/gain/gain0.fits', BANK=1) & print, errcode 
    idl_ctrl_90623 |INF| 7566|2022-02-22 22:17:46.475465| MAIN > % READFITS: Now reading 672 element array
    idl_ctrl_90623 |INF| 7566|2022-02-22 22:17:46.475465| MAIN > .
    idl_ctrl_90623 |INF| 7568|2022-02-22 22:17:46.476925| MAIN > Executing command: errcode= fsm_pause_ao() & print, errcode
    idl_ctrl_90623 |INF| 7572|2022-02-22 22:18:35.387933| MAIN > Executing command: errcode= fsm_resume_ao() & print, errcode
    idl_ctrl_90623 |INF| 7574|2022-02-22 22:18:35.388056| MAIN >
    idl_ctrl_90623 |INF| 7577|2022-02-22 22:18:35.390415| MAIN > Executing command: errcode= fsm_set_gain('/local/aomeas/adsec_calib/M2C/KL_v20/gain/g_tt_1.42_ho1_0.11_ho2_0.16.fits', BANK=1, CLIP_N_MODES=10, SCALE=0.1) & print, errcode
    idl_ctrl_90623 |INF| 7580|2022-02-22 22:18:35.395045| MAIN > % READFITS: Now reading 672 element array
    idl_ctrl_90623 |INF| 7580|2022-02-22 22:18:35.395045| MAIN > .
    idl_ctrl_90623 |INF| 7582|2022-02-22 22:18:36.395430| MAIN > Executing command: errcode= fsm_set_gain('/local/aomeas/adsec_calib/M2C/KL_v20/gain/g_tt_1.42_ho1_0.11_ho2_0.16.fits', BANK=1) & print, errcode
    idl_ctrl_90623 |INF| 7585|2022-02-22 22:18:36.400232| MAIN > % READFITS: Now reading 672 element array
    idl_ctrl_90623 |INF| 7585|2022-02-22 22:18:36.400232| MAIN > .
2022-02-20 15:22 MST:
  1. (BM) Modified $ADOPT_ROOT/conf/adsec/current/processConf/adsecarb.conf and set gainRampDelay back to 0.
  2. (JCG) Rest AdSec
  3. adsc_stop 
    use_soul stable
    adsc_start
  4. (JCG) Remainder of shut down procedure in preparation for night.
-- BrandonMechtley - 22 Feb 2022
Topic revision: r1 - 25 Feb 2022, BrandonMechtley
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback