ECR1700056, WP7245
Hugh, Jim, Rich M, Dave:
I have ported the perl scripts storeCartBiasTargets.pl, setCartBiasSetpoints.pl to new python scripts (storeCartBiasTargets.py, setCartBiasSetpoints.py). The new scripts take exactly the same arguments as the original scripts, so no changes to the calling systems are needed.
Hugh and Jim allowed me to test my code on H1 ISI ITMY ST1 this afternoon.
In the old system, the 'set' command was called from MEDM (ISI_CUST_CHAMBER_ST1_BIAS.adl) within an xterm calling a wrapper shell script, while the 'store' command was called directly. The xterm allowed any errors from the script to be displayed.
In the new system, both commands are called via an xterm window calling a wrapper shell script (storeCartBiasTargetsWrapper.sh was created for this purpose). The new scripts perform more error checking and user feedback which is shown in the xterm.
After testing on H1 ISI ITMY ST1, I restored all the settings back to their original values (using a ramp time of 5 seconds). The new code is now ready for rollout on all ISI systems.
I have created a Work Permit (WP7245) to cover the MEDM changes and further testing.