00001 00013 #ifndef __auto_h 00014 #define __auto_h 1 00015 enum auto_run_modes {auto_run_flat,auto_run_focus,auto_run_shutter_offset,auto_run_mask}; 00016 extern volatile int auto_run_mode; 00017 extern volatile int auto_flat_seq; 00018 extern volatile int auto_focus_seq; 00019 void auto_start_flat(int gain,int sequence, long counts, int n); 00020 void auto_do_flat(); 00021 void auto_do_focus(); 00022 void auto_stop_thread(); 00023 void auto_do_shutter_offset(); 00024 void auto_do_mask(); 00025 void auto_start_shutter_offset(); 00026 void auto_start_mask(); 00027 void auto_start_focus(); 00028 void auto_set_flat_minmax_exposuretime(double min,double max); 00029 extern void ui_auto_msg(char *msg); 00030 extern void ui_auto_flats_done_changed( int flats_done); 00031 extern void ui_auto_shutter_offset_changed( double offset); 00032 extern void ui_auto_ended(char *msg); 00033 extern char auto_end_msg[1000]; 00034 #endif