Paper
14 July 2008 A framework for the Subaru Telescope observation control system based on the command design pattern
Eric Jeschke, Bruce Bon, Takeshi Inagaki, Sam Streeper
Author Affiliations +
Abstract
Subaru Telescope is developing a second-generation Observation Control System that specifically addresses some of the deficiencies of the current Subaru OCS. One area of concern is better extensibility: the current system uses a custom language for implementing commands with a complex macro processing subsystem written in C. It is laborious to improve the language and awkward for scientists to extend and use standard programming techniques. Our Generation 2 OCS provides a lightweight, object-oriented task framework based on the Command design pattern. The framework provides a base task class that abstracts services for processing status and other common infrastructure activities. Upon this are built and provided a set of "atomic" tasks for telescope and instrument commands. A set of "container" tasks based on common sequential and concurrent command processing paradigms is also included. Since all tasks share the same exact interface, it is straightforward to build up compound tasks by plugging simple tasks into container tasks and container tasks into other containers, and so forth. In this way various advanced astronomical workflows can be readily created, with well controlled behaviors. In addition, since tasks are written in Python, it is easy for astronomers to subclass and extend the standard observatory tasks with their own custom extensions and behaviors, in a high-level, full-featured programming language. In this talk we will provide an overview of the task framework design and present preliminary results on the use of the framework during two separate engineering runs.
© (2008) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Eric Jeschke, Bruce Bon, Takeshi Inagaki, and Sam Streeper "A framework for the Subaru Telescope observation control system based on the command design pattern", Proc. SPIE 7019, Advanced Software and Control for Astronomy II, 70190O (14 July 2008); https://doi.org/10.1117/12.788073
Lens.org Logo
CITATIONS
Cited by 2 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Control systems design

Telescopes

Optical instrument design

Astronomy

Computer programming

Computer programming languages

Control systems

RELATED CONTENT


Back to Top