Defines | |
#define | FE_SUCCESS 1 |
#define | FE_ERR_ODB 602 |
#define | FE_ERR_HW 603 |
#define | FE_ERR_DISABLED 604 |
#define | FE_ERR_DRIVER 605 |
#define | HS_SUCCESS 1 |
#define | HS_FILE_ERROR 702 |
#define | HS_NO_MEMORY 703 |
#define | HS_TRUNCATED 704 |
#define | HS_WRONG_INDEX 705 |
#define | HS_UNDEFINED_EVENT 706 |
#define | HS_UNDEFINED_VAR 707 |
#define | FTP_SUCCESS 1 |
#define | FTP_NET_ERROR 802 |
#define | FTP_FILE_ERROR 803 |
#define | FTP_RESPONSE_ERROR 804 |
#define | FTP_INVALID_ARG 805 |
#define | EL_SUCCESS 1 |
#define | EL_FILE_ERROR 902 |
#define | EL_NO_MESSAGE 903 |
#define | EL_TRUNCATED 904 |
#define | EL_FIRST_MSG 905 |
#define | EL_LAST_MSG 906 |
#define | AL_SUCCESS 1 |
#define | AL_INVALID_NAME 1002 |
#define | AL_ERROR_ODB 1003 |
#define | AL_RESET 1004 |
#define | CMD_INIT 1 |
#define | CMD_EXIT 2 |
#define | CMD_START 3 |
#define | CMD_STOP 4 |
#define | CMD_IDLE 5 |
#define | CMD_GET_THRESHOLD 6 |
#define | CMD_GET_THRESHOLD_CURRENT 7 |
#define | CMD_GET_THRESHOLD_ZERO 8 |
#define | CMD_SET_LABEL 9 |
#define | CMD_GET_LABEL 10 |
#define | CMD_OPEN 11 |
#define | CMD_CLOSE 12 |
#define | CMD_MISC_LAST 12 |
#define | CMD_SET_FIRST CMD_MISC_LAST+1 |
#define | CMD_SET CMD_SET_FIRST |
#define | CMD_SET_VOLTAGE_LIMIT CMD_SET_FIRST+1 |
#define | CMD_SET_CURRENT_LIMIT CMD_SET_FIRST+2 |
#define | CMD_SET_RAMPUP CMD_SET_FIRST+3 |
#define | CMD_SET_RAMPDOWN CMD_SET_FIRST+4 |
#define | CMD_SET_TRIP_TIME CMD_SET_FIRST+5 |
#define | CMD_SET_LAST CMD_SET_FIRST+5 |
#define | CMD_GET_FIRST CMD_SET_LAST+1 |
#define | CMD_GET CMD_GET_FIRST |
#define | CMD_GET_CURRENT CMD_GET_FIRST+1 |
#define | CMD_GET_LAST CMD_GET_FIRST+1 |
#define | CMD_GET_DIRECT CMD_GET_LAST+1 |
#define | CMD_GET_DEMAND CMD_GET_DIRECT |
#define | CMD_GET_VOLTAGE_LIMIT CMD_GET_DIRECT+1 |
#define | CMD_GET_CURRENT_LIMIT CMD_GET_DIRECT+2 |
#define | CMD_GET_RAMPUP CMD_GET_DIRECT+3 |
#define | CMD_GET_RAMPDOWN CMD_GET_DIRECT+4 |
#define | CMD_GET_TRIP_TIME CMD_GET_DIRECT+5 |
#define | CMD_GET_DIRECT_LAST CMD_GET_DIRECT+5 |
#define | CMD_ENABLE_COMMAND (1<<14) |
#define | CMD_DISABLE_COMMAND (1<<15) |
#define | CMD_WRITE 100 |
#define | CMD_READ 101 |
#define | CMD_PUTS 102 |
#define | CMD_GETS 103 |
#define | CMD_DEBUG 104 |
#define | CMD_NAME 105 |
#define | CMD_INTERRUPT_ENABLE 100 |
#define | CMD_INTERRUPT_DISABLE 101 |
#define | CMD_INTERRUPT_ATTACH 102 |
#define | CMD_INTERRUPT_DETACH 103 |
#define | BD_GETS(s, z, p, t) info->bd(CMD_GETS, info->bd_info, s, z, p, t) |
#define | BD_READS(s, z, p, t) info->bd(CMD_READ, info->bd_info, s, z, p, t) |
#define | BD_PUTS(s) info->bd(CMD_PUTS, info->bd_info, s) |
#define | BD_WRITES(s) info->bd(CMD_WRITE, info->bd_info, s) |
#define AL_ERROR_ODB 1003 |
#define AL_INVALID_NAME 1002 |
#define AL_RESET 1004 |
#define AL_SUCCESS 1 |
Alarm error code -
Definition at line 688 of file midas.h.
Referenced by al_check(), al_reset_alarm(), and al_trigger_alarm().
#define BD_WRITES | ( | s | ) | info->bd(CMD_WRITE, info->bd_info, s) |
#define CMD_EXIT 2 |
#define CMD_GET_FIRST CMD_SET_LAST+1 |
#define CMD_GET_LABEL 10 |
#define CMD_GET_LAST CMD_GET_FIRST+1 |
#define CMD_IDLE 5 |
#define CMD_INIT 1 |
Slow control device driver commands
Definition at line 695 of file midas.h.
Referenced by device_driver().
#define CMD_INTERRUPT_ATTACH 102 |
Definition at line 748 of file midas.h.
Referenced by initialize_equipment(), and interrupt_configure().
#define CMD_INTERRUPT_DETACH 103 |
#define CMD_INTERRUPT_DISABLE 101 |
Definition at line 747 of file midas.h.
Referenced by interrupt_configure(), interrupt_enable(), main(), and readout_enable().
#define CMD_INTERRUPT_ENABLE 100 |
Commands for interrupt events
Definition at line 746 of file midas.h.
Referenced by interrupt_configure(), interrupt_enable(), and readout_enable().
#define CMD_SET_FIRST CMD_MISC_LAST+1 |
#define CMD_SET_LABEL 9 |
#define CMD_SET_LAST CMD_SET_FIRST+5 |
#define CMD_START 3 |
#define CMD_STOP 4 |
#define EL_FILE_ERROR 902 |
#define EL_SUCCESS 1 |
ELog error code -
Definition at line 679 of file midas.h.
Referenced by el_submit(), show_elog_delete(), show_elog_page(), and show_elog_submit_query().
#define FE_ERR_DISABLED 604 |
#define FE_ERR_DRIVER 605 |
#define FE_SUCCESS 1 |
Definition at line 653 of file midas.h.
Referenced by check_polled_events(), device_driver(), display(), main(), register_equipment(), scheduler(), and send_all_periodic_events().
#define FTP_FILE_ERROR 803 |
#define FTP_NET_ERROR 802 |
Definition at line 672 of file midas.h.
Referenced by ftp_command(), ftp_connect(), ftp_data(), ftp_login(), ftp_port(), ftp_send_message(), and tr_start().
#define FTP_RESPONSE_ERROR 804 |
#define FTP_SUCCESS 1 |
FTP error code -
Definition at line 671 of file midas.h.
Referenced by ftp_bye(), ftp_command(), ftp_connect(), ftp_data(), ftp_login(), ftp_port(), ftp_pwd(), and ftp_send_message().
#define HS_FILE_ERROR 702 |
Definition at line 662 of file midas.h.
Referenced by MidasHistory::GetEventsFromEquipment(), MidasHistory::GetEventsFromOdbEvents(), MidasHistory::GetEventsFromOdbTags(), MidasHistory::GetTagsFromEquipment(), MidasHistory::GetTagsFromOdb(), hs_connect_odbc(), SqlHistory::hs_define_event(), hs_dump(), MidasHistory::hs_get_events(), MidasHistory::hs_get_tags(), hs_get_tags_odbc(), SqlHistory::hs_read(), hs_read_odbc(), SqlHistory::hs_write_event(), hs_write_event_odbc(), ReadIndex(), and SqlHistory::Reconnect().
#define HS_SUCCESS 1 |
History error code -
Definition at line 661 of file midas.h.
Referenced by add_event(), export_hist(), generate_hist_graph(), MidasHistory::GetEventsFromEquipment(), MidasHistory::GetEventsFromOdbEvents(), MidasHistory::GetEventsFromOdbTags(), MidasHistory::GetTagsFromEquipment(), MidasHistory::GetTagsFromHS(), MidasHistory::GetTagsFromOdb(), SqlHistory::hs_clear_cache(), MidasHistory::hs_clear_cache(), SqlHistory::hs_connect(), MidasHistory::hs_connect(), hs_connect_odbc(), SqlHistory::hs_define_event(), hs_define_event_odbc(), SqlHistory::hs_disconnect(), MidasHistory::hs_disconnect(), hs_disconnect_odbc(), hs_dump(), SqlHistory::hs_get_events(), MidasHistory::hs_get_events(), SqlHistory::hs_get_tags(), MidasHistory::hs_get_tags(), hs_get_tags_odbc(), SqlHistory::hs_read(), MidasHistory::hs_read(), hs_read_odbc(), SqlHistory::hs_read_old_style(), hs_set_alarm_odbc(), hs_set_path(), SqlHistory::hs_write_event(), hs_write_event_odbc(), open_history(), ReadIndex(), SqlHistory::Reconnect(), set_history_path(), MidasHistory::xhs_event_id(), and SqlHistory::XReadIndex().
#define HS_TRUNCATED 704 |
#define HS_UNDEFINED_EVENT 706 |
Definition at line 666 of file midas.h.
Referenced by SqlHistory::hs_get_tags(), SqlHistory::hs_read(), MidasHistory::hs_read(), and SqlHistory::hs_write_event().
#define HS_UNDEFINED_VAR 707 |
Definition at line 667 of file midas.h.
Referenced by export_hist(), generate_hist_graph(), SqlHistory::hs_read(), SqlHistory::hs_read_old_style(), and MidasHistory::xhs_event_id().