Computer Control Strategies at SIN
The computers connected to the SIN control system have been programmed to be a "third operator", performing primarily calculation intensive or repetitive functions. Written primarily in FORTRAN, programs exist which display the effects of trimcoils in both SIN accelerators on phase and betatron frequencies. Beamlines may be modeled by displaying beam envelopes and parameters given bending magnet and quadrupole settings and beam ellipse parameters anywhere in the beamline. Programs are used to perform a number of jobs in the normal tuning procedure. Selected subsets of device values from previous setups may be restored, using ramping functions if necessary. Horizontal and vertical waists may be formed using the quadrupole triplet and slits following extraction from the injector cyclotron. The beam may be centered at injection into the ring and in the proton channel from ring extraction to the beam dump. Proper focussing on target may be obtained and emittance measurements are possible there and in the injection channel. Finally, total operator (and program) performance is periodically measured by a "Bonus" number describing the quality of tune of the entire system.