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<<0)
#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 660 of file midas.h.

#define AL_INVALID_NAME   1002
 

Definition at line 659 of file midas.h.

#define AL_RESET   1004
 

Definition at line 661 of file midas.h.

#define AL_SUCCESS   1
 

Definition at line 658 of file midas.h.

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

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

Definition at line 703 of file midas.h.

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

Definition at line 702 of file midas.h.

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

Definition at line 704 of file midas.h.

#define CMD_DEBUG   104
 

Definition at line 689 of file midas.h.

#define CMD_DISABLE_COMMAND   (1<<16)
 

Definition at line 681 of file midas.h.

#define CMD_ENABLE_COMMAND   (1<<15)
 

Definition at line 680 of file midas.h.

#define CMD_EXIT   (1<<1)
 

Definition at line 666 of file midas.h.

Referenced by main().

#define CMD_GET   (1<<5)
 

Definition at line 670 of file midas.h.

#define CMD_GET_ALL   (1<<6)
 

Definition at line 671 of file midas.h.

#define CMD_GET_CURRENT   (1<<7)
 

Definition at line 672 of file midas.h.

#define CMD_GET_CURRENT_ALL   (1<<8)
 

Definition at line 673 of file midas.h.

#define CMD_GET_DEFAULT_NAME   (1<<12)
 

Definition at line 677 of file midas.h.

#define CMD_GET_DEFAULT_THRESHOLD   (1<<13)
 

Definition at line 678 of file midas.h.

#define CMD_GET_DEMAND   (1<<11)
 

Definition at line 676 of file midas.h.

#define CMD_GETS   103
 

Definition at line 688 of file midas.h.

#define CMD_IDLE   (1<<2)
 

Definition at line 667 of file midas.h.

Referenced by scheduler().

#define CMD_INIT   (1<<0)
 

Slow control commands error code

Definition at line 665 of file midas.h.

Referenced by register_equipment().

#define CMD_INTERRUPT_ATTACH   102
 

Definition at line 696 of file midas.h.

Referenced by interrupt_configure(), and register_equipment().

#define CMD_INTERRUPT_DETACH   103
 

Definition at line 697 of file midas.h.

Referenced by interrupt_configure(), and main().

#define CMD_INTERRUPT_DISABLE   101
 

Definition at line 695 of file midas.h.

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

#define CMD_INTERRUPT_ENABLE   100
 

Commands for interrupt events error code

Definition at line 694 of file midas.h.

Referenced by interrupt_configure(), and interrupt_enable().

#define CMD_NAME   105
 

Definition at line 690 of file midas.h.

#define CMD_PUTS   102
 

Definition at line 687 of file midas.h.

#define CMD_READ   101
 

Definition at line 686 of file midas.h.

#define CMD_SET   (1<<3)
 

Definition at line 668 of file midas.h.

#define CMD_SET_ALL   (1<<4)
 

Definition at line 669 of file midas.h.

#define CMD_SET_CURRENT_LIMIT   (1<<9)
 

Definition at line 674 of file midas.h.

#define CMD_SET_CURRENT_LIMIT_ALL   (1<<10)
 

Definition at line 675 of file midas.h.

#define CMD_SET_LABEL   (1<<14)
 

Definition at line 679 of file midas.h.

#define CMD_WRITE   100
 

Bus driver commands

Definition at line 685 of file midas.h.

#define EL_FILE_ERROR   902
 

Definition at line 650 of file midas.h.

#define EL_FIRST_MSG   905
 

Definition at line 653 of file midas.h.

#define EL_LAST_MSG   906
 

Definition at line 654 of file midas.h.

#define EL_NO_MESSAGE   903
 

Definition at line 651 of file midas.h.

#define EL_SUCCESS   1
 

Definition at line 649 of file midas.h.

#define EL_TRUNCATED   904
 

Definition at line 652 of file midas.h.

#define FE_ERR_DISABLED   604
 

Definition at line 626 of file midas.h.

#define FE_ERR_DRIVER   605
 

Definition at line 627 of file midas.h.

#define FE_ERR_HW   603
 

Definition at line 625 of file midas.h.

#define FE_ERR_ODB   602
 

Definition at line 624 of file midas.h.

#define FE_SUCCESS   1
 

Definition at line 623 of file midas.h.

#define FTP_FILE_ERROR   803
 

Definition at line 643 of file midas.h.

#define FTP_INVALID_ARG   805
 

Definition at line 645 of file midas.h.

#define FTP_NET_ERROR   802
 

Definition at line 642 of file midas.h.

#define FTP_RESPONSE_ERROR   804
 

Definition at line 644 of file midas.h.

#define FTP_SUCCESS   1
 

Definition at line 641 of file midas.h.

#define HS_FILE_ERROR   702
 

Definition at line 632 of file midas.h.

#define HS_NO_MEMORY   703
 

Definition at line 633 of file midas.h.

#define HS_SUCCESS   1
 

Definition at line 631 of file midas.h.

#define HS_TRUNCATED   704
 

Definition at line 634 of file midas.h.

#define HS_UNDEFINED_EVENT   706
 

Definition at line 636 of file midas.h.

#define HS_UNDEFINED_VAR   707
 

Definition at line 637 of file midas.h.

#define HS_WRONG_INDEX   705
 

Definition at line 635 of file midas.h.


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - 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 - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk