19
Gemini Health Gemini Health Status Display Status Display Travis Prose Travis Prose University of Hawai‘i - Hilo University of Hawai‘i - Hilo Mentor Angelic Ebbers Mentor Angelic Ebbers

Gemini Health Status Display

  • Upload
    tam

  • View
    25

  • Download
    0

Embed Size (px)

DESCRIPTION

Travis Prose University of Hawai‘i - Hilo Mentor Angelic Ebbers. Gemini Health Status Display. Gemini Observatory. Gemini North is a very large 8 meter telescope located on the summit of Mauna Kea which rises to nearly 14,000 feet - PowerPoint PPT Presentation

Citation preview

Page 1: Gemini Health Status Display

Gemini Health Gemini Health Status DisplayStatus Display

Travis ProseTravis Prose

University of Hawai‘i - University of Hawai‘i - HiloHilo

Mentor Angelic EbbersMentor Angelic Ebbers

Page 2: Gemini Health Status Display

Gemini ObservatoryGemini Observatory

Gemini North is a very large 8 meter telescope located on the summit of Mauna Kea which rises to nearly 14,000 feet

Mauna Kea is one of the world’s best locations for observing the night time sky in the world

Page 3: Gemini Health Status Display

What is the ProblemWhat is the Problem

There is only so much time in which to There is only so much time in which to take data so any faults or errors use take data so any faults or errors use up timeup time

It costs Gemini 120 dollars per minute It costs Gemini 120 dollars per minute of operationof operation

Therefore it is important not only for Therefore it is important not only for time on the sky but cost as well to time on the sky but cost as well to find and fix problems as soon as find and fix problems as soon as possiblepossible

Page 4: Gemini Health Status Display

What is the ProblemWhat is the Problem

Observers first need to realize that a Observers first need to realize that a problem exists and then find where problem exists and then find where the problem is locatedthe problem is located

The observers need to search through The observers need to search through numerous engineering screens to numerous engineering screens to find the problemfind the problem

Page 5: Gemini Health Status Display
Page 6: Gemini Health Status Display

Gemini Health Status Gemini Health Status DisplayDisplay

GHSD is a program that monitors over GHSD is a program that monitors over 170 subsystem needed to run the 170 subsystem needed to run the telescopetelescope

The appearance should be simple and The appearance should be simple and easily readable from 4 feet awayeasily readable from 4 feet away

The GHSD will be located on the The GHSD will be located on the summit for use by both the summit for use by both the observers and the observing observers and the observing assistantsassistants

Page 7: Gemini Health Status Display

Tcl/TkTcl/Tk

Tcl/Tk otherwise known as “Tickle” is Tcl/Tk otherwise known as “Tickle” is a scripting languagea scripting language

Allows for rapid developmental of Allows for rapid developmental of Graphical User Interfaces like the Graphical User Interfaces like the Gemini Health Status DisplayGemini Health Status Display

Page 8: Gemini Health Status Display

EPICSEPICS

EPICS is a language that allows EPICS is a language that allows communication between high level communication between high level programs like the GHSD and the programs like the GHSD and the hardware on the telescopehardware on the telescope

EPICS allows the Gemini Health EPICS allows the Gemini Health Status Display to monitor channels Status Display to monitor channels and update the monitor with the and update the monitor with the latest datalatest data

Page 9: Gemini Health Status Display

Object Oriented Object Oriented ProgrammingProgramming

Allows for the simplification of code by Allows for the simplification of code by writing one instance of it and then writing one instance of it and then using it multiple timesusing it multiple times

For instance by using five basic For instance by using five basic classes the entire Gemini Health classes the entire Gemini Health Status Display can be built to Status Display can be built to monitor over 170 channelsmonitor over 170 channels

Page 10: Gemini Health Status Display
Page 11: Gemini Health Status Display

Building the GHSDBuilding the GHSDGemini Health Status Display was Gemini Health Status Display was

built by creating simple objectsbuilt by creating simple objects

Debugging takes less time than Debugging takes less time than building each individuallybuilding each individually

New features need only to be added New features need only to be added once once

Page 12: Gemini Health Status Display

Common ObjectsCommon ObjectsGHSD Light GHSD Light Displays text and Displays text and

a lighta light

GHSD Light RngGHSD Light Rng Displays text and a Displays text and a lightlight

GHSD BusyGHSD Busy Displays text and a Displays text and a blinking blinking

lightlight

GHSD HeartGHSD Heart Displays text and Displays text and monitors a monitors a

heart beat heart beat

GHSD LabelGHSD Label Displays text and Displays text and an an output labeloutput label

Page 13: Gemini Health Status Display
Page 14: Gemini Health Status Display

ghsdStatus.tclghsdStatus.tclitk_component add l41 {GhsdLightCmd $tcs.l41 itk_component add l41 {GhsdLightCmd $tcs.l41

"TCS Health" $cwid $psize $csize TCS TCShealth "TCS Health" $cwid $psize $csize TCS TCShealth "BAD red WARNING yellow GOOD green"} "BAD red WARNING yellow GOOD green"}

itk_component add l42 {GhsdLightCmd $tcs.l42 itk_component add l42 {GhsdLightCmd $tcs.l42 "TCS Status" $cwid $psize $csize TCS TCSstate "TCS Status" $cwid $psize $csize TCS TCSstate "BOOTING red INITIALISING yellow RUNNING "BOOTING red INITIALISING yellow RUNNING green"}green"}

Using the same basic object it is Using the same basic object it is possible to create very different possible to create very different effects with little additional codingeffects with little additional coding

Page 15: Gemini Health Status Display

ConclusionConclusion

Before the Before the Gemini Health Gemini Health Status Display Status Display observers and observers and observing observing assistants assistants need to look need to look through through multiple DM multiple DM screensscreens

Page 16: Gemini Health Status Display

ConclusionConclusion

Now the area Now the area of a problem of a problem can be found can be found much quicker much quicker and dealt and dealt with in a with in a much quicker much quicker fashionfashion

Page 17: Gemini Health Status Display

ConclusionConclusionUsing both Tcl/Tk and an Object Using both Tcl/Tk and an Object

Oriented Programming approach Oriented Programming approach allowed for: allowed for:

Rapid developmentRapid development

Simple codingSimple coding

Changes in the futureChanges in the future

Page 18: Gemini Health Status Display

AcknowledgementsAcknowledgementsCenter for Adaptive Optics Center for Adaptive Optics

Gemini North ObservatoriesGemini North Observatories

Angelic EbbersAngelic Ebbers

Dolores CoulsonDolores CoulsonFunding provided through the Center for Adaptive Optics, a National Funding provided through the Center for Adaptive Optics, a National

Science Foundation Science and Technology Center (STC), AST-Science Foundation Science and Technology Center (STC), AST-987683987683

Page 19: Gemini Health Status Display