00001 // Error.h 00002 // Error code header file 00003 // Author: Andrew Turner 00004 // Date: March 24,1999 00005 // Purpose/Description: This header file provides all the error code macros 00006 // that are used throught the Robot software 00007 00008 #ifndef ERROR_H 00009 #define ERROR_H 00010 00011 // General Errors 0-999 00012 // Nomadic API - 1 = Successful, 0 = Error 00013 #define ROBOT_ERROR 0 00014 #define NO_ERROR 1 00015 00016 // Communications 1000-1999 00017 #define NOT_CONNECTED 1000 00018 00019 // Device Errors 2000-2999 00020 #define NOT_ACTIVE 2000 00021 #define STOP_ERROR 2100 00022 00023 00024 #define TURRET_VALUE 0 00025 #define PARAMETER_BEGIN 0 00026 typedef int param_type; 00027 00028 #define DEVICE_NAME_SIZE 80 00029 00030 #endif 00031