next up previous contents
Next: Graphical User Interface Up: Real Time Software Previous: The basic operation modes   Contents


Control Command Language

In this mode the astronomer will be given direct real-time control on the instrument (or part of it), either by typing simple commands, or more frequently by running pre-edited scripts. Because the real-time system cannot be worked upon without stopping observing, it is imperative that it be as reliable as possible, and sufficiently flexible to accommodate the inevitable evolution of observing modes as the instrument becomes better understood.

Entities to be controlled are:

The key to flexibility in the observing system is that the constructs that it deals with must be as close to the elementary hardware capabilities of the instrument as possible. This must be balanced with the need that the input to this system must be sufficiently simple to be read by experts. It is not a good use of instrument time to use it simply to test whether the output of the observer's preparation tool causes the instrument to do what the programmer expected; he should, in most cases, be able to determine that by looking at a script output by his tool.

For this reason we require that the commands should be expressed in a simple command language, for which keywords are as much as possible words in a commonly understood language (we may agree on English). The number of single-character control operators must be strictly minimal.

Desirable features in the language built-in functionalities include:

Several scripting languages with these functionalities are actually being used at various observatories. The actual choice will mostly be based on software design considerations.

Foreseen use of variables/built-in functions is the ability to react on environment data such as meteorological data, phase monitor data, sidereal time, hour angle, source elevation, but also on pipeline output such as pointing collimations, detected calibrator flux, noise, flux and snr in the output map, ...

The exact balance of functions between observer's interface, quasi-real-time system, real-time system, and data processing pipeline is in the end likely to be dictated by constraints first seen in the detailed design of the software systems. However, it is a useful planning tool to have a first guess at the capabilities of the real-time system available, not only for designing the real-time system but also for designing the preceding tools and the archive data formats. We provide this first guess in an Appendix (A), in the form of a scripting language which might control the array. Note that this language is not really intended for direct use by astronomers, nor does it provide functions necessary for the array operators to control the observing. However, as an interface in the middle of what might otherwise be regarded as a very large black box, it is hoped that it can provide a planning tool for some of the other critical elements of the software system.

A few of the more difficult decisions for this scripting language/interface may be briefly noted:


next up previous contents
Next: Graphical User Interface Up: Real Time Software Previous: The basic operation modes   Contents
Kate Weatherall
2000-03-08