the velocity sensitivity by Doppler shift of an atomic emission line. The parameter block indicates the nesting level for the calibration loop and what interval and wavelength offset to use. The other special control function is a software servo to track an ultraviolet emission line over long periods of time. This is useful to compensate for temperature drifts of the instrument structure. The design of the instrument optics allows certain detector pairs to measure different portions of the same emission line. The servo software detects and compensates for the thermal drift by maintaining constant proportions of light measured by a detector pair. The fixed position of this function is immediately before the outer loop, which controls experiment repetition.
Parallel OperationThe power consumption of the entire UVSP instrument was an important concern. Since the variable power consumption is a function of motor stepping rates, control of these rates was required. The step rate of the entire set of electromechanical functions is software limited by an end-off shift of an assigned memory word. The shift period of this word is set by a 16-ms clock interrupt. Each software device handler tests this word before commanding any device steps. If the value of the word is zero, the handler proceeds; otherwise it must wait for the timed shifts to clear the word. The word is set by each device handler to a value proportional to the device's load. While the interrupt routine continues to shift the power delay words, other software activities can proceed in parallel with this delay function.Another form of parallel functioning was applied to processing data from dual detector experiments. Velocity information can be calculated from these measurements, but it consumes a relatively large amount of time. A speedup of the measurement processing cycle was found necessary after launch. Since no computation is required during a light measurement interval, a portion of the computer's time was unused. This unused time was used by storing the data from a measurement until the next measurement interval when the calculations are performed.
Interrupt SupportThe interrupt structure has three priority levels. The highest priority level is caused by a power fail detection circuit. It may not be locked out under any condition. The second level interrupt is associated with DMA operations. The software supports this level with a minimum of overhead. Interrupt level 3 is connected to a general purpose party line. The interrupt service software polls device addresses to identify the source. Possible sources are programmable timers, fixed period clocks, wavelength drive limit switches, day-night transition logic, and others.The software requires timing information to carry out the experiment control task. Two clock interrupts are used to supply most of the timing and synchronization information. The periods of these clocks are 16 and 64 ms. The longer period is used by the software mainly for data output synchronization. The 16-ms period matches the s...