[[Image:SGM_User_Manual_Fig3.jpg|frame|thumbnail|right|<div align="center"> Figure 3: Plot of the gap set point versus photon energy for the SGM undulator </div>]]
[[Image:SGM_User_Manual_Fig3.jpg|frame|thumbnail|right|<div align="center"> Figure 3: Plot of the gap set point versus photon energy for the SGM undulator </div>]]
Coordinated control of the SGM undulator gap, grating angle and exit slit position is required to keep the beamline optimized. This is accomplished using EPICS, which takes a desired energy and determines the proper set points for the beamline components based on previously calibrated functions. Any combination of the three active components can be selected to participate in the calibration by turning it's tracking on from the beamline interface. Typically, all three elements are tracked during a scan, but it is sometimes desirable to turn the tracking off on the exit slit or undulator.
Coordinated control of the SGM undulator gap, grating angle and exit slit position is required to keep the beamline optimized. This is accomplished using EPICS, which takes a desired energy and determines the proper set points for the beamline components based on previously calibrated functions. Any combination of the three active components can be selected to participate in the calibration by turning it's tracking on from the beamline interface. Typically, all three elements are tracked during a scan, but it is sometimes desirable to turn the tracking off on the exit slit or undulator.