Now that I have the function working pretty well for my liking (testing from last week - alog81420), I wanted to try it out in a few different scenarios and see how well it performed and how long it took. I also wanted to compare it to our current Increase_Flashes state both in duration and execution. The big changed from last week's testing is that now that we have a working PSL, the PLL and PDH loops are locked. This seemed to really help out and it seems like a very viable solution for a faster alignment state.
SA = Scan Alignment IF=Increase Flashes, all flashes from H1:ALS-C_TRY_A_LF_OUT_DQ | ||||
Alignment method | Misaligned from starting point | Initial max flashes | Final max flashes | Duration (min:sec) |
Test 1 - Warm up, check function with PDH&PLL locked | ||||
SA | ETMY, TMSY, P&Y various amounts | 0.25 | 1.0 | 5:20 |
Test 2 - Larger misalignment, comparison | ||||
SA | ETMY, TMSY, P&Y +2.0urad | 0.35 | 0.99 | 8:40 |
IF | ETMY, TMSY, P&Y +2.0urad | 0.35 | 0.93 | 11:45 |
Test 3 - Smaller misalingment, comparison | ||||
SA | ETMY, TMSY, P&Y -0.5urad | 0.83 | 1.06 | 4:05 |
IF | ETMY, TMSY, P&Y -0.5urad | 0.83 | 1.03 | 5:15 |
Overall, Scan_Alignment seems to work well and in these tests it was faster. I haven't put the functionality back into Scan_Alignment to hold and alignment if it get above threshold, so once I can test that out again it will speed up the smaller misalignment scans. Saving a few minutes for every acquisition that needs some alignment work should add up pretty quick. If given more time next week, I'd like to test this some more with that functionality and see how much faster it is. I'd love to get this into production soon, but I really want to thoroughly test this.
Last week Jenne had to comment out an import of aslArmconfig out of ALS_ARM.py in order for ALS_XARM to run (alog81424). This was a bit odd to me since this file contained info for both arms, and should be fine. I ended up restarting ALS_XARM and this worked. Seems like another case of issue 22. This particular issue is seem in the sei guardians frequently.