Difference between revisions of "CDM GUI manual"

From my_wiki
Jump to: navigation, search
Line 5: Line 5:
 
{| align='center'
 
{| align='center'
 
| [[File:CDM_GUI_dzaric_v2.png|thumb|centre|1000px|CDM GUI appearance.]]
 
| [[File:CDM_GUI_dzaric_v2.png|thumb|centre|1000px|CDM GUI appearance.]]
 +
| [[File:CDM_FSM_dzaric_v5.1.png|thumb|centre|600px|CDM FSM states and methods.]]
 
|}
 
|}
 +
  
 
Description of GUI parts:
 
Description of GUI parts:
Line 28: Line 30:
  
 
Commands:
 
Commands:
 +
Connect: When the system starts it is in Safe(0) state. In that state the CDM camera is not connected. With the Connect command you connect to the CDM camera and the system is in Ready(1) state.
 +
Disconnect: Transitions the system from the Ready(1) state to Safe(0) state. This disconnects the camera.
 +
Configure: Uses the input parameters from Configuration section (Pixel Clock, Exposure, FPS, Gain and Pixel Format) to set these parameters. Can only be called in Ready(1) and Tpoint(3) state.
 +
GetImage: Captures 1 image and saves it do disk as a FITS format. Callable in Ready(1) state.
 +
GoToTpoint: Changes state from Ready(1) to Tpoint(3).
 +
GetToReady: Changes state from Tpoin(3) to Ready(1).
 +
StartStream: Display the live image from the camera using the current camera settings. No images are saved to disk. No calculations are performed on the images. Use this to check the current camera view.
 +
StopStream: Stops the camera stream.
 +
 +
 +
Acknowledge: If in undefined state, this will transition the system in Safe(0) state. To be tested completely.

Revision as of 14:43, 10 March 2021

This page contains instructions for the CDM GUI. In case of issue contact Darko Zaric.

GUI interface

CDM GUI appearance.
CDM FSM states and methods.


Description of GUI parts: Monitoring: Contains monitoring datapoint values. They are read-only. Hood temperature: Displays temperature inside the hood. Hood humidity: Displays humidity inside the hood. It should be below 80% to operate CDM. Camera temperature status: If the CDM camera is connected it will display it's temperature status. It should be Normal. If it displays Warning or Critical, disconnect the CDM camera and contact Darko. Status: This part displays information about the system status. This part is still unfinished, so it mostly displays No status. FSM state: Display the current Finite State Machine state the CDM is in. FSM transition: Displays if the system is in transition from one FSM state to another. If it is 1 then it is in transition and won't be able to receive FSM commands. If 0, then you can provide the available FSM commands. Circle x: Current circle center in horizontal direction, units in arcsec. OARL 1 x: Current OARL 1 center in horizontal direction, units in arcsec. OARL 2 x: Current OARL 2 center in horizontal direction, units in arcsec.

Configuration: Contains configuration datapoint values. You can read the current values and input new values to be provided to the Configure commands. Pixel clock: It determines the speed at which the sensor cells can be read out. Default value 216, usually you don't need to change this. Exposure time: Exposure time for each image. Available range of values 1-999 ms. FPS: Frames per second. Range of values: 1-10 Hz. Gain: Range of values: 0-100. Pixel format: You can select 8bit (IS_CM_MONO8) or 16bit (IS_CM_SENSOR_RAW16). Comment: If you set any string here it will be added to the header of the saved images. Once set it will be the same for each subsequent image.

Commands: Connect: When the system starts it is in Safe(0) state. In that state the CDM camera is not connected. With the Connect command you connect to the CDM camera and the system is in Ready(1) state. Disconnect: Transitions the system from the Ready(1) state to Safe(0) state. This disconnects the camera. Configure: Uses the input parameters from Configuration section (Pixel Clock, Exposure, FPS, Gain and Pixel Format) to set these parameters. Can only be called in Ready(1) and Tpoint(3) state. GetImage: Captures 1 image and saves it do disk as a FITS format. Callable in Ready(1) state. GoToTpoint: Changes state from Ready(1) to Tpoint(3). GetToReady: Changes state from Tpoin(3) to Ready(1). StartStream: Display the live image from the camera using the current camera settings. No images are saved to disk. No calculations are performed on the images. Use this to check the current camera view. StopStream: Stops the camera stream.


Acknowledge: If in undefined state, this will transition the system in Safe(0) state. To be tested completely.