Status and error codes
[Midas Error definition]


Defines

#define SUCCESS   1
#define CM_SUCCESS   1
#define CM_SET_ERROR   102
#define CM_NO_CLIENT   103
#define CM_DB_ERROR   104
#define CM_UNDEF_EXP   105
#define CM_VERSION_MISMATCH   106
#define CM_SHUTDOWN   107
#define CM_WRONG_PASSWORD   108
#define CM_UNDEF_ENVIRON   109
#define CM_DEFERRED_TRANSITION   110
#define CM_TRANSITION_IN_PROGRESS   111
#define CM_TIMEOUT   112
#define CM_INVALID_TRANSITION   113
#define CM_TOO_MANY_REQUESTS   114


Define Documentation

#define CM_DB_ERROR   104
 

db access error

Definition at line 498 of file midas.h.

Referenced by cm_msg_retrieve().

#define CM_DEFERRED_TRANSITION   110
 

Definition at line 504 of file midas.h.

Referenced by cm_transition().

#define CM_INVALID_TRANSITION   113
 

Definition at line 507 of file midas.h.

Referenced by cm_register_transition(), cm_set_transition_sequence(), and cm_transition().

#define CM_NO_CLIENT   103
 

nobody

Definition at line 497 of file midas.h.

Referenced by cm_check_client(), cm_connect_client(), cm_exist(), cm_get_watchdog_info(), cm_set_client_info(), and cm_shutdown().

#define CM_SET_ERROR   102
 

set

Definition at line 496 of file midas.h.

#define CM_SHUTDOWN   107
 

Definition at line 501 of file midas.h.

#define CM_SUCCESS   1
 

Same

Definition at line 495 of file midas.h.

Referenced by ana_begin_of_run(), ana_end_of_run(), ana_pause_run(), ana_resume_run(), analyzer_exit(), analyzer_loop(), cm_asctime(), cm_check_client(), cm_check_deferred_transition(), cm_cleanup(), cm_connect_experiment(), cm_connect_experiment1(), cm_delete_client_info(), cm_disconnect_experiment(), cm_execute(), cm_exist(), cm_get_client_info(), cm_get_environment(), cm_get_error(), cm_get_experiment_database(), cm_get_path(), cm_get_watchdog_info(), cm_get_watchdog_params(), cm_list_experiments(), cm_msg(), cm_msg1(), cm_msg_log(), cm_msg_log1(), cm_msg_retrieve(), cm_register_deferred_transition(), cm_register_transition(), cm_scan_experiments(), cm_select_experiment(), cm_set_client_info(), cm_set_experiment_database(), cm_set_path(), cm_set_transition_sequence(), cm_set_watchdog_params(), cm_shutdown(), cm_synchronize(), cm_time(), cm_transition(), dm_buffer_create(), eb_mfragment_add(), eb_yfragment_add(), main(), scan_fragment(), scheduler(), send_event(), tr_pause(), tr_resume(), tr_start(), and tr_stop().

#define CM_TIMEOUT   112
 

Definition at line 506 of file midas.h.

#define CM_TOO_MANY_REQUESTS   114
 

Definition at line 508 of file midas.h.

Referenced by cm_register_transition().

#define CM_TRANSITION_IN_PROGRESS   111
 

Definition at line 505 of file midas.h.

Referenced by cm_transition().

#define CM_UNDEF_ENVIRON   109
 

Definition at line 503 of file midas.h.

Referenced by cm_scan_experiments().

#define CM_UNDEF_EXP   105
 

Definition at line 499 of file midas.h.

Referenced by cm_connect_experiment1(), and cm_get_client_info().

#define CM_VERSION_MISMATCH   106
 

Definition at line 500 of file midas.h.

#define CM_WRONG_PASSWORD   108
 

Definition at line 502 of file midas.h.

Referenced by cm_connect_experiment1(), and cm_set_client_info().

#define SUCCESS   1
 

Success

Definition at line 494 of file midas.h.

Referenced by adc_calib(), adc_calib_bor(), adc_calib_eor(), adc_calib_init(), adc_summing(), adc_summing_init(), analyzer_init(), begin_of_run(), cm_check_deferred_transition(), cm_transition(), el_submit(), end_of_run(), fccinit(), frontend_exit(), frontend_init(), frontend_loop(), interrupt_configure(), main(), manual_trigger(), pause_run(), register_equipment(), resume_run(), scaler_accum(), scaler_clear(), scaler_eor(), scheduler(), source_booking(), and tr_start().


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk