Other errors
[Midas Error definition]


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_WRITE   100
#define CMD_INTERRUPT_ENABLE   100
#define BD_GETS(s, z, p, t)   info->bd(CMD_GETS, info->bd_info, s, z, p, t)


Define Documentation

#define AL_ERROR_ODB   1003

Definition at line 674 of file midas.h.

Referenced by al_reset_alarm(), and al_trigger_alarm().

#define AL_INVALID_NAME   1002

Definition at line 673 of file midas.h.

Referenced by al_reset_alarm().

#define AL_RESET   1004

Definition at line 675 of file midas.h.

Referenced by al_reset_alarm().

#define AL_SUCCESS   1

Alarm error code -

Definition at line 672 of file midas.h.

Referenced by al_check(), al_reset_alarm(), and al_trigger_alarm().

#define BD_GETS ( s,
z,
p,
 )     info->bd(CMD_GETS, info->bd_info, s, z, p, t)

macros for bus driver access

Definition at line 735 of file midas.h.

#define BD_PUTS (  )     info->bd(CMD_PUTS, info->bd_info, s)

Definition at line 737 of file midas.h.

#define BD_READS ( s,
z,
p,
 )     info->bd(CMD_READ, info->bd_info, s, z, p, t)

Definition at line 736 of file midas.h.

#define BD_WRITES (  )     info->bd(CMD_WRITE, info->bd_info, s)

Definition at line 738 of file midas.h.

#define CMD_DEBUG   104

Definition at line 723 of file midas.h.

#define CMD_DISABLE_COMMAND   (1<<15)

Definition at line 715 of file midas.h.

#define CMD_ENABLE_COMMAND   (1<<14)

Definition at line 714 of file midas.h.

#define CMD_EXIT   2

Definition at line 680 of file midas.h.

Referenced by device_driver().

#define CMD_GET   CMD_GET_FIRST

Definition at line 701 of file midas.h.

#define CMD_GET_CURRENT   CMD_GET_FIRST+1

Definition at line 702 of file midas.h.

#define CMD_GET_CURRENT_LIMIT   CMD_GET_DIRECT+2

Definition at line 708 of file midas.h.

#define CMD_GET_DEMAND   CMD_GET_DIRECT

Definition at line 706 of file midas.h.

#define CMD_GET_DIRECT   CMD_GET_LAST+1

Definition at line 705 of file midas.h.

#define CMD_GET_DIRECT_LAST   CMD_GET_DIRECT+5

Definition at line 712 of file midas.h.

#define CMD_GET_FIRST   CMD_SET_LAST+1

Definition at line 700 of file midas.h.

Referenced by device_driver(), and sc_thread().

#define CMD_GET_LABEL   10

Definition at line 688 of file midas.h.

Referenced by device_driver().

#define CMD_GET_LAST   CMD_GET_FIRST+1

Definition at line 703 of file midas.h.

Referenced by device_driver(), and sc_thread().

#define CMD_GET_RAMPDOWN   CMD_GET_DIRECT+4

Definition at line 710 of file midas.h.

#define CMD_GET_RAMPUP   CMD_GET_DIRECT+3

Definition at line 709 of file midas.h.

#define CMD_GET_THRESHOLD   6

Definition at line 684 of file midas.h.

#define CMD_GET_THRESHOLD_CURRENT   7

Definition at line 685 of file midas.h.

#define CMD_GET_THRESHOLD_ZERO   8

Definition at line 686 of file midas.h.

#define CMD_GET_TRIP_TIME   CMD_GET_DIRECT+5

Definition at line 711 of file midas.h.

#define CMD_GET_VOLTAGE_LIMIT   CMD_GET_DIRECT+1

Definition at line 707 of file midas.h.

#define CMD_GETS   103

Definition at line 722 of file midas.h.

#define CMD_IDLE   5

Definition at line 683 of file midas.h.

Referenced by scheduler().

#define CMD_INIT   1

Slow control device driver commands

Definition at line 679 of file midas.h.

Referenced by device_driver().

#define CMD_INTERRUPT_ATTACH   102

Definition at line 730 of file midas.h.

Referenced by interrupt_configure().

#define CMD_INTERRUPT_DETACH   103

Definition at line 731 of file midas.h.

Referenced by interrupt_configure(), and main().

#define CMD_INTERRUPT_DISABLE   101

Definition at line 729 of file midas.h.

Referenced by interrupt_configure(), main(), and readout_enable().

#define CMD_INTERRUPT_ENABLE   100

Commands for interrupt events

Definition at line 728 of file midas.h.

Referenced by interrupt_configure(), and readout_enable().

#define CMD_MISC_LAST   10

Definition at line 689 of file midas.h.

#define CMD_NAME   105

Definition at line 724 of file midas.h.

#define CMD_PUTS   102

Definition at line 721 of file midas.h.

#define CMD_READ   101

Definition at line 720 of file midas.h.

#define CMD_SET   CMD_SET_FIRST

Definition at line 692 of file midas.h.

#define CMD_SET_CURRENT_LIMIT   CMD_SET_FIRST+2

Definition at line 694 of file midas.h.

#define CMD_SET_FIRST   CMD_MISC_LAST+1

Definition at line 691 of file midas.h.

Referenced by device_driver(), and sc_thread().

#define CMD_SET_LABEL   9

Definition at line 687 of file midas.h.

Referenced by device_driver().

#define CMD_SET_LAST   CMD_SET_FIRST+5

Definition at line 698 of file midas.h.

Referenced by device_driver(), and sc_thread().

#define CMD_SET_RAMPDOWN   CMD_SET_FIRST+4

Definition at line 696 of file midas.h.

#define CMD_SET_RAMPUP   CMD_SET_FIRST+3

Definition at line 695 of file midas.h.

#define CMD_SET_TRIP_TIME   CMD_SET_FIRST+5

Definition at line 697 of file midas.h.

#define CMD_SET_VOLTAGE_LIMIT   CMD_SET_FIRST+1

Definition at line 693 of file midas.h.

#define CMD_START   3

Definition at line 681 of file midas.h.

Referenced by device_driver().

#define CMD_STOP   4

Definition at line 682 of file midas.h.

Referenced by device_driver(), and main().

#define CMD_WRITE   100

Slow control bus driver commands

Definition at line 719 of file midas.h.

#define EL_FILE_ERROR   902

Definition at line 664 of file midas.h.

Referenced by el_submit().

#define EL_FIRST_MSG   905

Definition at line 667 of file midas.h.

#define EL_LAST_MSG   906

Definition at line 668 of file midas.h.

#define EL_NO_MESSAGE   903

Definition at line 665 of file midas.h.

#define EL_SUCCESS   1

ELog error code -

Definition at line 663 of file midas.h.

Referenced by el_submit().

#define EL_TRUNCATED   904

Definition at line 666 of file midas.h.

#define FE_ERR_DISABLED   604

Definition at line 640 of file midas.h.

Referenced by display().

#define FE_ERR_DRIVER   605

Definition at line 641 of file midas.h.

Referenced by device_driver(), and display().

#define FE_ERR_HW   603

Definition at line 639 of file midas.h.

Referenced by display().

#define FE_ERR_ODB   602

Definition at line 638 of file midas.h.

Referenced by display().

#define FE_SUCCESS   1

Definition at line 637 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

Definition at line 657 of file midas.h.

#define FTP_INVALID_ARG   805

Definition at line 659 of file midas.h.

#define FTP_NET_ERROR   802

Definition at line 656 of file midas.h.

#define FTP_RESPONSE_ERROR   804

Definition at line 658 of file midas.h.

#define FTP_SUCCESS   1

FTP error code -

Definition at line 655 of file midas.h.

#define HS_FILE_ERROR   702

Definition at line 646 of file midas.h.

Referenced by hs_dump().

#define HS_NO_MEMORY   703

Definition at line 647 of file midas.h.

Referenced by hs_dump().

#define HS_SUCCESS   1

History error code -

Definition at line 645 of file midas.h.

Referenced by hs_dump(), and hs_set_path().

#define HS_TRUNCATED   704

Definition at line 648 of file midas.h.

#define HS_UNDEFINED_EVENT   706

Definition at line 650 of file midas.h.

#define HS_UNDEFINED_VAR   707

Definition at line 651 of file midas.h.

#define HS_WRONG_INDEX   705

Definition at line 649 of file midas.h.


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