EPICS Status Codes (Optional)

define a subsystem code and error constants in your subsystem's header file

#define M_epvxi (520 <?) /*VXI Driver*/

#define S_XXX_bad (M_xxxx| 1) /* a really bad failure*/

#define S_XXX_worse (M_xxxx| 2) /* even worse */

zero is always a success code

#define S_XXX_OK 0

-1 is always a failure code

Previous slide Next slide Back to first slide View graphic version

| LANL | Lansce | UC | DOE |

L O S   A L A M O S   N A T I O N A L    L A B O R A T O R Y
Operated by the University of California for the US Department of Energy

Copyright � 1996 UC   Disclaimer   


For problems or questions regarding this web site contact George Vaughn.