Macro: shimdriver Program: ShimDriver

Description: 

        Starts the "shimDriver" program, which is used to 
        automatically adjust shims using a simplex 
        method. Brings up the screen "AutoShim Setup".  

Associated Software: In ~/vnmrsys/maclib:

   shimdriver: - Alias of shimDriver
   shimDriver:
   Simplexer:
   initSimplex.tcl
   killFile
   pokeFOM
   setMacroState
   simplexOptions.tcl
   asSetUp
   genTempCommun

Functions:

1. Screen: "AutoShim Setup" 

File:   Selects Save Procedure and Load Procedure.  
   Procedures are .method files in the directory 
   ~/vnmrsys/shims and they select the order and 
   number of shims to be optimized. 

View:   Selects groups of shims (a "Method")  
Method:  Allows the creation and deletion of methods in 
   the current .methods file. The commands "next" and 
   "previous" allow one to access individual methods. 
Clear:  Clears all shims. 
Select All: Checks all shims for adjustment. 

   Check an individual shim for adjustment. 

Abort:  Closes the screen and aborts shimDriver.
Start:  Starts shimDriver. 

Associated Software: 

Method Files in the Shims Directory: Stores one or more 
        methods for shimming. A method is a list of shims
        to be adkusted.  Methods are loaded from the Load 
        button and can be altered in the Autoshim Setup 
        Screen. ShimDriver cycles throught the methods 
        "cycles" times. 

Example: CoryXfull.method contains 14 methods

shimProcedure
4                       // Default cycles
0                       // Current cycle
13                      // Number of (methods - 1) - first method labelled "0".
0                       // Current method
1000                    // Default Iterations
0.01                    // Default Tolerance
2                       // Begin Method 1 (# of Shims)
100                     // Shim range 100%
x1	-32767	32767   // x1 shim and shim limits
z1	-32767	32767   // z1 shim and shim limits
3                       // Begin Method 2
100
x2y2	-32767	32767
xz	-32767	32767
z2	-32767	32767
4
100
x1	-32767	32767
x2y2	-32767	32767
xz	-32767	32767
z1	-32767	32767
3
100
x2y2	-32767	32767
xz2	-32767	32767
z3	-32767	32767
2
5
x1	-32767	32767
z1	-32767	32767
3
100
x1	-32767	32767
z1	-32767	32767
z2	-32767	32767
3
100
x2y2	-32767	32767
xz2	-32767	32767
z3	-32767	32767
2
100
x2y2	-32767	32767
xz	-32767	32767
2
5
x1	-32767	32767
z1	-32767	32767
3
100
z2x2y2	-32767	32767
z3x	-32767	32767
z4	-32767	32767
3
100
x2y2	-32767	32767
xz	-32767	32767
z2	-32767	32767
3
100
x2y2	-32767	32767
xz2	-32767	32767
z2	-32767	32767
2
100
x2y2	-32767	32767
xz	-32767	32767
2
5
x1	-32767	32767
yz	-32767	32767

curexp + '/tempShims':  Saves the current shimset. 
curexp + '/tempCommun':
curexp + '/tempMethods': 
curexp + '/tempMinMax':
curexp + '/macroState': Communicates the current state of 
                        shimDriver with the Simplexer 
                        program. 





