The back-up switches are sensed via this software until they are moved from auxiliary to primary duty. A specially built NOAO board provides excitation and readback for temperature diodes. Code is needed to support this, and will be modeled on existing code provided by Nicholas Roddier and Janet Tvedt. Health is good , warning or bad and overall health of the instrument is a composite of the health of the subsystems. Code in this module provides all those values to the OCS and to the engineering displays, and determines the overall health.
Simulation is a distributed function.
For the motor control, it is implemented primarily in the low-level routine that sends commands to the motor control board and waits for notification of completion. For fast simulation, the wait is not done, while for full simulation, the appropriate time interval passes before the function returns. Of course, in simulation mode, no errors occur. Data, such as temperatures, or motor position, will be logged to a file and either displayed on the local workstation, or shipped to a PC for use in, for instance, an Excel spreadsheet. What data to log, and how often, will be readily changeable.