Difference between revisions of "CDM GUI manual"

From my_wiki
Jump to: navigation, search
m
Line 10: Line 10:
  
 
=Description of GUI parts=
 
=Description of GUI parts=
=Monitoring=  
+
==Monitoring==  
 
Contains monitoring datapoint values. They are read-only.
 
Contains monitoring datapoint values. They are read-only.
  
Line 23: Line 23:
 
OARL 2 x: Current OARL 2 center in horizontal direction, units in arcsec.
 
OARL 2 x: Current OARL 2 center in horizontal direction, units in arcsec.
  
=Configuration=  
+
==Configuration==
 
Contains configuration datapoint values. You can read the current values and input new values to be provided to the Configure commands.
 
Contains configuration datapoint values. You can read the current values and input new values to be provided to the Configure commands.
  
Line 33: Line 33:
 
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.
 
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=
+
==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.
 
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.
Line 47: Line 47:
 
Acknowledge: If in undefined state, this will transition the system in Safe(0) state. Still to be tested completely.
 
Acknowledge: If in undefined state, this will transition the system in Safe(0) state. Still to be tested completely.
  
=Image Taking commands=
+
==Image Taking commands==
 
While in Tpoint(3) mode you can use these commands.
 
While in Tpoint(3) mode you can use these commands.
  
Line 54: Line 54:
 
Stop Getting Images: This will stop the ongoing Get Multiple Images and Get Multiple Images Stacked commands. Use this if you want to prematurely end the aforementioned commands. The images will still be succesfully processed, although less than specified in the related input boxes.
 
Stop Getting Images: This will stop the ongoing Get Multiple Images and Get Multiple Images Stacked commands. Use this if you want to prematurely end the aforementioned commands. The images will still be succesfully processed, although less than specified in the related input boxes.
  
=GUI lower part=
+
==GUI lower part==
 
   
 
   
 
Image: This displays the last taken image from various image taking commands.  
 
Image: This displays the last taken image from various image taking commands.  

Revision as of 15:49, 10 March 2021

This page contains instructions for the CDM GUI. In case of questions 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. StartCDM: Starts the CDM image taking with the current configuration settings. The images are usually taken with 10 Hz. Images are not saved to disk, they are analyzed automatically. When the LEDs are on you should see a circle that fits the LEDs. Also a timestamp is displayed on the top of the image. StopCDM: Stop the CDM mode. Acknowledge: If in undefined state, this will transition the system in Safe(0) state. Still to be tested completely.

Image Taking commands

While in Tpoint(3) mode you can use these commands.

Get Multiple Images: They will be taken one by one and saved to disk. You need to input in "N images to take" box how many images to take. Get Multiple Images Stacked: CDM will take multiple images and stack them. The final output will be one image that will be saved to disk. You need to input in "N images to integrate" box how many images to be stacked. Stop Getting Images: This will stop the ongoing Get Multiple Images and Get Multiple Images Stacked commands. Use this if you want to prematurely end the aforementioned commands. The images will still be succesfully processed, although less than specified in the related input boxes.

GUI lower part

Image: This displays the last taken image from various image taking commands. Image Path: If the image was saved to disk you can find the full path of the last images heree. Image Enhancement: If the image is too dark, you can enhance it with this button. Zoom: You can zoom in/out of the image.