Work in Progress
This page is a draft. Treat it with caution.
An RCP application has a workspace which is composed of one or more perspectives. Each perspective is composed of editors and views. A view encapsulates a unique function, such as camera control or Facility Summary, and is generally composed of many widgets which allow display of information or data input. The IGRINS Proxy is a very simple app so it is composed of only one perspective containing 4 views. On start up, the app will look like this:
There are three detachable views displayed as tabs and one fixed view:
- Facility Summary
- Guider Chart
- IGRINS-TCS Communication
- Light Path
IGRINS-TCS Communication
This view ha a simple graphical element that echoes the communication between the ICS and the TCS. It can be useful for trouble shooting and debugging. The main role of the view is conducting the communication between TCS and ICS. TCS communicates via JMS using a local network ActiveMQ broker. ICS uses ZeroMQ for its communication and this view connects these two modes of communication.
The view has 4 ActiveMQ topic listeners:
- science target
- TCS Status
- AOS Status
- Weather Status
It keeps track of the information that the ICS is interested in and will send them back to ICS using JSON via ZeroMQ when it receive the request. The ZeroMQ listener is also looking for offset commands and these will be converted from JSON to XML and sent to the TCS Command topic.