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 510 of file midas.h.

Referenced by cm_msg_retrieve().

#define CM_DEFERRED_TRANSITION   110

Definition at line 516 of file midas.h.

Referenced by cm_transition().

#define CM_INVALID_TRANSITION   113

Definition at line 519 of file midas.h.

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

#define CM_NO_CLIENT   103

nobody

Definition at line 509 of file midas.h.

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

#define CM_SET_ERROR   102

set

Definition at line 508 of file midas.h.

#define CM_SHUTDOWN   107

Definition at line 513 of file midas.h.

#define CM_SUCCESS   1

Same

Definition at line 507 of file midas.h.

Referenced by ana_begin_of_run(), ana_end_of_run(), ana_pause_run(), ana_resume_run(), analyzer_exit(), analyzer_loop(), bk_swap(), cm_asctime(), cm_check_client(), cm_check_deferred_transition(), cm_connect_experiment(), cm_connect_experiment1(), cm_delete_client_info(), cm_deregister_transition(), 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(), send_event(), tr_pause(), tr_resume(), tr_start(), and tr_stop().

#define CM_TIMEOUT   112

Definition at line 518 of file midas.h.

#define CM_TOO_MANY_REQUESTS   114

Definition at line 520 of file midas.h.

Referenced by cm_register_transition().

#define CM_TRANSITION_IN_PROGRESS   111

Definition at line 517 of file midas.h.

Referenced by cm_transition().

#define CM_UNDEF_ENVIRON   109

Definition at line 515 of file midas.h.

Referenced by cm_scan_experiments().

#define CM_UNDEF_EXP   105

Definition at line 511 of file midas.h.

Referenced by cm_connect_experiment1(), and cm_get_client_info().

#define CM_VERSION_MISMATCH   106

Definition at line 512 of file midas.h.

#define CM_WRONG_PASSWORD   108

Definition at line 514 of file midas.h.

Referenced by cm_connect_experiment1(), and cm_set_client_info().

#define SUCCESS   1

Success

Definition at line 506 of file midas.h.

Referenced by adc_calib(), adc_calib_bor(), adc_calib_eor(), adc_calib_init(), adc_summing_init(), al_check(), analyzer_init(), begin_of_run(), bm_open_buffer(), 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(), receive_trigger_event(), register_equipment(), resume_run(), scaler_accum(), scaler_clear(), scaler_eor(), and vf48_EventRead64().


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