INIT-DISP ( - )
DESCRIPTION
INIT-DISP completely redraws the Autoguider display. The current values of the variables containing Seeing, Magnitude Relative transparency, etc are read out.
The displaying is all controlled by one single background task. It has three inputs: 1. a command queue of byte tokens, each of which corresponds to one display routine. 2. a flag to enable a single window image display routine. 3. a flag to enable a possibly reconstructed image display and also to update the displayed guiding parameters occasionally.
The reason for the background display is partly to optimise the data processing of the system, but also to work around a bug in the OPAL display driver which causes a system crash. This has worked quite successfully, reducing the number of system crashes considerably, and allowing freedom to send many commands to the display. One limitation is that if you write an image to a non existent part of the screen, then the system will fail. To stop this, the window handling code must be robust.
The crashes are usually accompanied by a bright blue display screen, and are know as Opal blues, the cure is initially to use RECOVER which will re-initialise the display and then call INIT-DISP.
Once we move to a version 4.2 system, we will be using a new OMNICOMP display card and graphics interface, and hopefully these problems will vanish.
CALLING PARAMETERS
None.
INITIAL/DEFAULT VALUE
None
RETURN VALUES
None
RESTRICTIONS
The CCD temperature was for the last time it was read. On loading, the value is undefined.
EXAMPLE
ok
INIT-DISP
ok