Share Email Print

Proceedings Paper

A framework for the Subaru Telescope observation control system based on the command design pattern
Author(s): Eric Jeschke; Bruce Bon; Takeshi Inagaki; Sam Streeper
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper 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.

Paper Details

Date Published: 14 July 2008
PDF: 12 pages
Proc. SPIE 7019, Advanced Software and Control for Astronomy II, 70190O (14 July 2008); doi: 10.1117/12.788073
Show Author Affiliations
Eric Jeschke, Subaru Telescope, National Astronomical Observatory of Japan (United States)
Bruce Bon, Subaru Telescope, National Astronomical Observatory of Japan (United States)
Takeshi Inagaki, Subaru Telescope, National Astronomical Observatory of Japan (United States)
Sam Streeper, Subaru Telescope, National Astronomical Observatory of Japan (United States)

Published in SPIE Proceedings Vol. 7019:
Advanced Software and Control for Astronomy II
Alan Bridger; Nicole M. Radziwill, Editor(s)

© SPIE. Terms of Use
Back to Top
Sign in to read the full article
Create a free SPIE account to get access to
premium articles and original research
Forgot your username?