The main control

Reference/APIs

Module: mascara_main

Creation: 18/7/2014 (Julien Spronck, Anna-Lea Lesage)

This is the main software for MASCARA operations. It must be running on the camera computers with the -s or –server option and on the control computer as a client (no option or -c or –client).

Modification history: ### 18.07.2015: Now turning on camera before reconnecting to server ### 10.07.2015: Attempt to correct a bug when camera fails at the end of the ### night ### Removed all references to the reduction. The reduction now ### happens separately ### Added support to run system commands on camera computers (spawn) ### 2015-06-10: Commented out the lines that change the CCD temperature set ### point at night. The temperature set point is now set once at ### the beginning of each night and stays constant for the rest of ### the night. - JS ### 2015-06-24: Modified reconnect-to_server() so that software restarts ### science observations if server reconnects at night. - JS