/* %W% %H% : NRL - LASCO/EIT GSE - Maintained by D. Wang */

#define ABC_undef                          0 /* Undefined code = 0 */
#define ABC_MSG_1                          1 /* OBE: Peripheral msg # 1 */
#define ABC_MSG_2                          2 /* OBE: Peripheral msg # 2 */
#define ABC_MSG_3                          3 /* OBE: Peripheral msg # 3 */
#define ABC_MSG_4                          4 /* OBE: Peripheral msg # 4 */
#define ABC_MSG_5                          5 /* OBE: Peripheral msg # 5 */
#define ABC_MSG_6                          6 /* OBE: Peripheral msg # 6 */
#define ABC_MSG_7                          7 /* OBE: Peripheral msg # 7 */
#define ABC_MSG_8                          8 /* OBE: Peripheral msg # 8 */
#define ABC_MSG_9                          9 /* OBE: Peripheral msg # 9 */
#define ABC_MSG_10                        10 /* OBE: Peripheral msg # 10 */
#define ABC_MSG_11                        11 /* OBE: Peripheral msg # 11 */
#define ABC_MSG_12                        12 /* OBE: Peripheral msg # 12 */
#define ABC_MSG_13                        13 /* OBE: Peripheral msg # 13 */
#define ABC_MSG_14                        14 /* OBE: Peripheral msg # 14 */
#define ABC_MSG_15                        15 /* OBE: Peripheral msg # 15 */
#define ABC_MSG_16                        16 /* OBE: Peripheral msg # 16 */
#define ABC_MSG_17                        17 /* OBE: Peripheral msg # 17 */
#define ABC_MSG_18                        18 /* OBE: Peripheral msg # 18 */
#define ABC_MSG_19                        19 /* OBE: Peripheral msg # 19 */
#define ABC_MSG_20                        20 /* OBE: Peripheral msg # 20 */
#define ABC_MSG_21                        21 /* OBE: Peripheral msg # 21 */
#define ABC_MSG_22                        22 /* OBE: Peripheral msg # 22 */
#define ABC_MSG_23                        23 /* OBE: Peripheral msg # 23 */
#define ABC_MSG_24                        24 /* OBE: Peripheral msg # 24 */
#define ABC_MSG_25                        25 /* OBE: Peripheral msg # 25 */
#define ABC_MSG_26                        26 /* OBE: Peripheral msg # 26 */
#define ABC_MSG_27                        27 /* OBE: Peripheral msg # 27 */
#define ABC_MSG_28                        28 /* OBE: Peripheral msg # 28 */
#define ABC_MSG_29                        29 /* OBE: Peripheral msg # 29 */
#define ABC_MSG_30                        30 /* OBE: Peripheral msg # 30 */
#define ABC_MSG_31                        31 /* OBE: Peripheral msg # 31 */
#define ABC_MSG_32                        32 /* OBE: Peripheral msg # 32 */
#define ABC_MSG_33                        33 /* OBE: Peripheral msg # 33 */
#define ABC_MSG_34                        34 /* OBE: Peripheral msg # 34 */
#define ABC_MSG_35                        35 /* OBE: Peripheral msg # 35 */
#define ABC_MSG_36                        36 /* OBE: Peripheral msg # 36 */
#define ABC_MSG_37                        37 /* OBE: Peripheral msg # 37 */
#define ABC_MSG_38                        38 /* OBE: Peripheral msg # 38 */
#define ABC_MSG_39                        39 /* OBE: Peripheral msg # 39 */
#define ABC_MSG_40                        40 /* OBE: Peripheral msg # 40 */
#define ABC_MSG_41                        41 /* OBE: Peripheral msg # 41 */
#define ABC_MSG_42                        42 /* OBE: Peripheral msg # 42 */
#define ABC_MSG_43                        43 /* OBE: Peripheral msg # 43 */
#define ABC_MSG_44                        44 /* OBE: Peripheral msg # 44 */
#define ABC_MSG_45                        45 /* OBE: Peripheral msg # 45 */
#define ABC_coord_task_done               46 /* The FP/CAMERA coordinated part is complete */
#define ABC_op_sched_task                 47 /* Operator is scheduling a task */
#define ABC_op_ill_request                48 /* Illegal Request from the Operator */
#define ABC_periph_drvr_error             49 /* ***ERROR talking to the peripheral */
#define ABC_C1                            50 /* C1 */
#define ABC_C2                            51 /* C2 */
#define ABC_C3                            52 /* C3 */
#define ABC_C4                            53 /* EIT */
#define ABC_FP                            54 /* Fabry-Perot */
#define ABC_ADD_TO_PERIPH                 50 /* Base peripheral code */
#define ABC_non_op_periph                 55 /* ***Peripheral is not OPERATIONAL (should try reloading) ! */
#define ABC_susp_self                     56 /* SVC - it is a suspend of itself */
#define ABC_susp_other                    57 /* SVC - it is a suspend of a task */
#define ABC_task_sched                    58 /* task scheduling */
#define ABC_preempt_task                  59 /* SVC schedule pre-empting current task */
#define ABC_exit_cyclic                   60 /* SVC - exit task cyclic */
#define ABC_exit_non                      61 /* SVC - exiting non cyclic task */
#define ABC_more_data                     62 /* this task has more data so re-schedule it */
#define ABC_task_resume                   63 /* SVC - resume a task */
#define ABC_preempt_resume                64 /* SVC its a resume that pre-empts the current task */
#define ABC_done_yes                      65 /* SVC - request am I done ? YES */
#define ABC_done_no                       66 /* SVC - request am I done ? NO */
#define ABC_susp_the_task                 67 /* gracefully suspending this task */
#define ABC_grace_preempt                 68 /* gracefully pre-empting this task */
#define ABC_ill_opt                       69 /* *** entered SVC request with Illegal Option *** */
#define ABC_forgot_task                   70 /* in EXIT resuming a forgotten suspended task */
#define ABC_strt_blps                     71 /* START of Observation Program:OP_build_line_profile_scan */
#define ABC_mem_fail_exit                 72 /* allocating memory failed so exiting this program ! */
#define ABC_cmpt_reg_fail                 73 /* Computing the Nregions failed so exiting this program ! */
#define ABC_exit_fail                     74 /* Exiting Observation Program with failure ! */
#define ABC_exit_norm                     75 /* Exiting Observation Program normally */
#define ABC_strt_contin                   76 /* START of Observation Program: continuous images */
#define ABC_strt_seq_fp                   77 /* START of Observation Program: sequ FW at PW */
#define ABC_exit                          78 /* Exiting Observation Program: */
#define ABC_strt_concurr                  79 /* START of Observation Program: take concurrent images */
#define ABC_strt_m1_msr                   80 /* START of Observation Program: take M1 measurements */
#define ABC_strt_norm                     81 /* START of Observation Program: take normal images */
#define ABC_strt_upd_dflt                 82 /* START of Observation Program:OP_Update_default_Parameter_Table */
#define ABC_strt_wobbl_in                 83 /* START of Observation Program: Wobble Inside FP sequence */
#define ABC_strt_wobbl_out                84 /* START of Observation Program: Wobble Outside FP sequence */
#define ABC_to_sr_drop                    85 /* TimeOut sending response to TCE dropping msg */
#define ABC_TO_send_msg                   86 /* Timeout sending message to TCE */
#define ABC_TO_get_resp                   87 /* Timeout when reading response from the TCE */
#define ABC_TO_get_msg                    88 /* Timeout when reading message from the TCE */
#define ABC_exec_bad_alloc                89 /* there is no AVAIL MEMORY for SCB - ERROR - exiting copy new scb */
#define ABC_proc_grnd_periph_msg          90 /* START of Program: Process ground to peripheral msg */
#define ABC_SCI_OVRWT_PTRS                91 /* ERROR Reading past Write ptr on science circular buffer ! */
#define ABC_bad_resp_on_resp_to_RTS_msg   92 /* Received a bad resp from TCE after sending a RTS then the msg */
#define ABC_pde_to_tx_cmnd                93 /* PeriphDrvrERR:timeout transmitting the command */
#define ABC_pde_to_tx_msg_data            94 /* PeriphDrvrERR: timeout transmitting msg data: send rest anyway */
#define ABC_pde_to_tx_msg_data_and_dtc    95 /* PeriphDrvrERR: timeout transmitting msg data and DTC */
#define ABC_pde_to_tx_dtc                 96 /* PeriphDrvrERR: timeout transmitting the DTC */
#define ABC_pde_rx_invld_cmnd             97 /* PeriphDrvrERR: received data when expecting command */
#define ABC_pde_rx_invld_rsp_rtr          98 /* PeriphDrvrERR: received an ivalid resp when expt. RTR */
#define ABC_pde_to_rx_rtr                 99 /* PeriphDrvrERR: timeout receiving the RTR response */
#define ABC_pde_rx_invld_rsp_dtc         100 /* PeriphDrvrERR: received an invalid rsp when expt. DTC */
#define ABC_pde_to_rx_dtc                101 /* PeriphDrvrERR: timeout waiting fro DTC from periph */
#define ABC_pde_to_rx_data_ned           102 /* PeriphDrvrERR: timeout reading data, not enough data received */
#define ABC_pde_rx_invld_rsp_rts         103 /* PeriphDrvrERR: received wrong response when expecting RTS */
#define ABC_pde_rx_invld_rsp_ack         104 /* PeriphDrvrERR: received invalid response when expecting ACK */
#define ABC_pde_invld_synch              105 /* PeriphDrvrERR: invalid cmnd/data synch detected */
#define ABC_pde_to_rx_ack                106 /* PeriphDrvrERR: timeout waiting fro ACK response */
#define ABC_pde_data_corrupted           107 /* PeriphDrvrERR: Camera Overflow bit set - data is corrupted */
#define ABC_pde_invld_manch              108 /* PeriphDrvrERR: manchester has marked bad the piece of data */
#define ABC_pde_invld_resp_nack          109 /* PeriphDrvrERR: Illegal response: got nacked ! */
#define ABC_user_stack_invalid           110 /* The user stack has overflowed intocritical area ! */
#define ABC_bad_req_task_id              111 /* The operator's request used an ID that was not found) */
#define ABC_flight_atp                   112 /* Begin Observation Program Flight ATP */
#define ABC_disp_old_task                113 /* EXEC - dispatching a pre-empted task */
#define ABC_strt_op_periph_load          114 /* Start of Observation Program : Peripheral Loading */
#define ABC_obe_fr_tce_msg_timeout       115 /* Timeout - receiving msgs from TCE */
#define ABC_obe_to_tce_msg_timeout       116 /* Timeout - sending msgs to TCE */
#define ABC_obe_to_tce_resp_timeout      117 /* Timeout - sending response to TCE */
#define ABC_obe_fr_tce_resp_timeout      118 /* Timeout - receiving response from TCE */
#define ABC_obe_to_tce_resp_msg_timeout  119 /* Timeout - sending msg response to TCE */
#define ABC_error_uploading_periph       120 /* ERROR uploading a peripheral */
#define ABC_start_obs_check_and_correct  121 /* Start of Observation Program: FP Check & Correct */
#define ABC_proc_dump_memory             122 /* Start of Observation Program: Dump Memory */
#define ABC_kick_off_cc_failed           123 /* Failed starting the Check&Correct */
#define ABC_start_obs_fp_cam_task        124 /* Start of Observation Program: FP/Camera Coordinated Task */
#define ABC_exit_exceeded_time           125 /* Exit Obs Prog: exceeded schedule duration time ! */
#define ABC_blank_spot                   126 /* not to be printed - nop */
#define ABC_finesse_opt_med              127 /* The task is a Finesse Opt. medium */
#define ABC_finesse_opt_short            128 /* The task is a Finesse Opt. short */
#define ABC_ca_scan                      129 /* The task is a Finesse Opt. Central Ap. scan */
#define ABC_measure_finesse              130 /* The task is a Finesse Opt. Measure Finesse */
#define ABC_start_in_line_cc             131 /* Performing an in-line FP Check&Correct */
#define ABC_fp_is_lost_rebooting         132 /* The FP SW is lost: re-booting it */
#define ABC_kick_off_fp_cam_failed       133 /* The FP/Camera coordinated task failed some how */
#define ABC_mem_fail_no_exit             134 /* Failed to allocate memory (non critical) */
#define ABC_non_operational_fp           135 /* The Fabry_perot is non operational OR in ROM */
#define ABC_periph_error_retry           136 /* Error talking to peripheral: retrying command */
#define ABC_disp_new_task                137 /* EXEC - dispatch new task */
#define ABC_op_susp_task                 138 /* Operator suspending a task */
#define ABC_op_resume_task               139 /* Operator resuming a task */
#define ABC_op_abort_task                140 /* The Operator request an ABORT task */
#define ABC_cc_failed_to_complt          141 /* The FP Check&Correct failed to complete in time: exiting */
#define ABC_periph_resp_ok_retry         142 /* The peripheral responded OK to retry of command */
#define ABC_start_obs_sr                 143 /* Start of Obs Prog: Peripheral Status Requesting */
#define ABC_disp_inf_loop                144 /* EXEC - dispatching the do-nothing loop */
#define ABC_trap_taken_mp                145 /* The OBE Memory Parity Abort trap was taken */
#define ABC_trap_taken_fpu               146 /* The OBE FPU trap was taken */
#define ABC_trap_taken_ill_op            147 /* The OBE Illegal Operation trap was taken */
#define ABC_trap_taken_div_0             148 /* The OBE divide by Zero trap was taken */
#define ABC_trap_taken_of                149 /* The OBE Overflow trap was taken */
#define ABC_trap_taken_bp                150 /* The OBE BreakPoint trap was taken */
#define ABC_trap_taken_trace             151 /* The OBE Trace trap was taken */
#define ABC_trap_taken_ui                152 /* The OBE Undefined Instruction trap was taken */
#define ABC_pde_to_rx_cmnd_resp          153 /* PeriphDrvERR: timeout never received a response to the command sent */
#define ABC_pde_rx_ned_no_dtc            154 /* PeriphDrvERR: didn't receive enough data, so not getting DTC */
#define ABC_pde_to_rx_frst_data          155 /* PeriphDrvERR: Periph sent RTS but timeout waiting for first byte of data */
#define ABC_flush_buff                   156 /* OBE: Operator/TCE is flushing sched Q */
#define ABC_finesse_opt_long             157 /* The task is a Finesse Opt. long */
#define ABC_succ_loaded_periph           158 /* successfully loaded peripheral */
#define ABC_alg_ill                      159 /* NRL:ImgProc: err bad task number */
#define ABC_strt_sum                     160 /* NRL:ImgProc: Start Sum OP */
#define ABC_alg_1                        161 /* NRL:ImgProc: Bad Line Averaging */
#define ABC_alg_2                        162 /* NRL:ImgProc: Inter Min */
#define ABC_alg_3                        163 /* NRL:ImgProc: Shift Right one bit */
#define ABC_alg_4                        164 /* NRL:ImgProc: Intra Sum */
#define ABC_alg_5                        165 /* NRL:ImgProc: Radial Spoke */
#define ABC_alg_6                        166 /* NRL:ImgProc: Square Root */
#define ABC_alg_7                        167 /* NRL:ImgProc: Super Pixels for Transient Detect */
#define ABC_alg_8                        168 /* NRL:ImgProc: Inter Sum */
#define ABC_alg_9                        169 /* NRL:ImgProc: Inter Diff (fixed base) */
#define ABC_alg_10                       170 /* NRL:ImgProc: Inter Diff (moving base) */
#define ABC_alg_11                       171 /* NRL:ImgProc: No Compression */
#define ABC_alg_12                       172 /* NRL:ImgProc: Rice */
#define ABC_alg_13                       173 /* NRL:ImgProc: ADCT */
#define ABC_alg_14                       174 /* NRL:ImgProc: DMCP */
#define ABC_alg_15                       175 /* NRL:ImgProc: Camera/Line sync pix strip */
#define ABC_alg_16                       176 /* NRL:ImgProc: II bright pixel search */
#define ABC_alg_17                       177 /* NRL:ImgProc: II delta pixel search */
#define ABC_alg_18                       178 /* NRL:ImgProc: Fabry-Perot Image summing */
#define ABC_alg_analytyx                 179 /* OBE: ImgProc: Debug (No blocking/compression) */
#define ABC_mem_alloc_to_large           180 /* OBE: Obs Prog trying to alloc larger size than avail */
#define ABC_mem_alloc_none_1             181 /* OBE: no mem avail: small exec packs */
#define ABC_mem_alloc_none_2             182 /* OBE: no mem avail: headers */
#define ABC_mem_alloc_none_3             183 /* OBE: no mem avail: image data */
#define ABC_dark_current_img             184 /* OBE: strt OBS prog Dark Current */
#define ABC_no_mem_rad_spoke             185 /* OBE: no mem avail: rad spoke alg; dropped img */
#define ABC_divi_mem                     186 /* OBE: Memory allocation area is being re-divide */
#define ABC_sci_rd_wr_error              187 /* OBE: Serious ERROR:  Sci Fifo Pointer problem */
#define ABC_tcb_not_found_on_any_q       188 /* OBE: ERROR TCB not found on any Q */
#define ABC_pde_data_not_ready           189 /* OBE: PDE: NO data ready from periph */
#define ABC_pde_rx_nod_no_dtc            190 /* OBE: PDE: Not enough data read - don't get DTC */
#define ABC_fp_failed_to_init            191 /* OBE: The FP failed to init at boot */
#define ABC_running_op_stub              192 /* OBE: This OP_ is a stub, just exit */
#define ABC_sci_buf_no_room_waiting      193 /* OBE: No room in Sci Buff: waiting... */
#define ABC_sci_buf_inf_problem          194 /* OBE: ERROR; data larger than Sci Cir Buff: drop data ! */ 
#define ABC_alg_19                       195 /* OBE: Strt Obs Prog Take Cal Lamp Imgs */
#define ABC_alg_20                       196 /* OBE: NRL:ImgProc:Transmit Header only */
#define ABC_alg_21                       197 /* OBE: NRL:ImgProc:Linear Gradient */
#define ABC_alg_22                       198 /* OBE: NRL:ImgProc:Inverse radial gradient */
#define ABC_alg_23                       199 /* OBE: NRL:ImgProc:Radial Gradient (2DN steps) */
#define ABC_alg_24                      4096 /* OBE: NRL:ImgProc:Radial Gradient (256DN steps) */
#define ABC_alg_25                      4097 /* OBE: NRL:ImgProc: Use Mask Table */
#define ABC_proc_grnd_mech_msg          4098 /* OBE: Start OP_mech ground msg proc */
#define ABC_alg_26                      4099 /* OBE: NRL:ImgProc:Mask off */
#define ABC_alg_27                      4100 /* OBE: NRL:ImgProc:Occ Off */
#define ABC_alg_28                      4101 /* OBE: NRL:ImgProc: Lin Grad2 */
#define ABC_alg_29                      4102 /* OBE: NRL:ImgProc: Invert Mask ON */
#define ABC_strt_seq                    4103 /* OBE: Start OP_take_seq */
#define ABC_sched_seq                   4104 /* OBE: Sched Seq */
#define ABC_strt_move_m1                4105 /* OBE: Start OP_move_m1 */
#define ABC_debug_1                     4106 /* OBE-TCE: Debug 1  */
#define ABC_debug_2                     4107 /* OBE-TCE: Debug 2  */
#define ABC_debug_3                     4108 /* OBE-TCE: Debug 3  */
#define ABC_debug_4                     4109 /* OBE-TCE: Debug 4  */
#define ABC_debug_5                     4110 /* OBE-TCE: Debug 5  */
#define ABC_debug_6                     4111 /* OBE-TCE: Debug 6  */
#define ABC_invld_param                 4112 /* OBE: Bad OP Parameters */
#define ABC_strt_cal_lamp               4113 /* OBE: Start Obs Prog: Take Cal lamp */
#define ABC_fp_msg7_fail                4114 /* OBE: FP Msg 7 Unknown Result */
#define ABC_busy                        4115 /* "OBE: FP Busy" */
#define ABC_fail_mech_driver            4116 /* "OBE: Failed Mech Driver" */
#define ABC_fail_image_ro               4117 /* "OBE: Failed Image Readout" */
#define ABC_fp_nack                     4118 /* "OBE: FP NACK " */
#define ABC_cam_setup_fail              4119 /* "OBE: Camera Setup Failed " */
#define ABC_reset_sci_fifo              4120 /* "OBE: Reset Sci Fifo " */
#define ABC_transmit_data_size_error    4121 /* "OBE: Transmit Data Parameter Err " */
#define ABC_alg_30                      4122 /* "OBE: NRL:ImgProc Invert Mask OFF" */
#define ABC_alg_sum_over                4123 /* "OBE: NRL:ImgProc Warning:Sum Overflow" */
#define ABC_alg_trans_det               4124 /* "OBE: NRL:ImgProc Transient Watch" */
#define ABC_alg_trans_fd                4125 /* "OBE: NRL:ImgProc ****Transient Found****" */
#define ABC_alg_31                      4126 /* "OBE: NRL: Send Transient Sums" */
#define ABC_alg_32                      4127 /* "OBE: NRL: Reset Sci Circ buffer" */
#define ABC_alg_trans_det_0             4128 /* "OBE: Transient Watch_0" */
#define ABC_alg_trans_det_1             4129 /* "OBE: Transient Watch_1" */
#define ABC_LOBT_update                 4130 /* "OBE: LOBT update" */
#define ABC_tm_rate_low                 4131 /* "OBE: TM Rate change -> LOW" */
#define ABC_tm_rate_hi                  4132 /* "OBE: TM Rate change -> HI" */
#define ABC_tm_rate_fail                4133 /* "OBE: TM Rate change FAILED" */
#define ABC_strt_read_mech              4134 /* "OBE: Start Read Mech" */
#define ABC_end_read_mech               4135 /* "OBE: End Read Mech" */
#define ABC_alg_33                      4136 /* "OBE: NRL: Mask Clear" */
#define ABC_alg_34                      4137 /* "OBE: NRL: Mask Fill by Threshold"*/
#define ABC_OT_normal                   4138 /* "OBE: OT_Normal failed"*/
#define ABC_OT_dark_current             4139 /* "OBE: OT_Dark Current failed\n" */
#define ABC_code_0                      4140 /* "OBE: Code 0\n" */
#define ABC_code_1                      4141 /* "OBE: Code 1\n" */
#define ABC_code_2                      4142 /* "OBE: Code 2\n" */
#define ABC_code_3                      4143 /* "OBE: Code 3\n" */
#define ABC_code_4                      4144 /* "OBE: Code 4\n" */
#define ABC_code_5                      4145 /* "OBE: Code 5\n" */
#define ABC_code_6                      4146 /* "OBE: Code 6\n" */
#define ABC_code_7                      4147 /* "OBE: Code 7\n" */
#define ABC_code_8                      4148 /* "OBE: Code 8\n" */
#define ABC_code_9                      4149 /* "OBE: Code 9\n" */
#define ABC_code_A                      4150 /* "OBE: Code A\n" */
#define ABC_code_B                      4151 /* "OBE: Code B\n" */
#define ABC_code_C                      4152 /* "OBE: Code C\n" */
#define ABC_code_D                      4153 /* "OBE: Code D\n" */
#define ABC_code_E                      4154 /* "OBE: Code E\n" */
#define ABC_code_F                      4155 /* "OBE: Code F\n" */
#define ABC_time_calc                   4156 /* "OBE: Time Calc Error\n" */
#define ABC_FW                          4157 /* "OBE: Filter Wheel\n" */ 
#define ABC_PW                          4158 /* "OBE: Polarizer Wheel\n" */ 
#define ABC_shutter                     4159 /* "OBE: Shutter\n" */ 
#define ABC_graceful_flush              4160 /* "OBE: Graceful Flush\n" */ 
#define ABC_alg_35                      4161 /* "NRL: Transmit from Img Buff"*/
#define ABC_alg_36                      4162 /* "NRL: Use Sum Buff 1"*/
#define ABC_alg_37                      4163 /* "NRL: Clear Sum Buff 1"*/
#define ABC_alg_38                      4164 /* "NRL: Sum Buff 1 Plus"*/
#define ABC_alg_39                      4165 /* "NRL: Sum Buff 1 Minus"*/
#define ABC_alg_40                      4166 /* "NRL: Use Sum Buff 2"*/
#define ABC_alg_41                      4167 /* "NRL: Clear Sum Buff 2"*/
#define ABC_alg_42                      4168 /* "NRL: Sum Buff 2 Plus"*/
#define ABC_alg_43                      4169 /* "NRL: Sum Buff 2 Minus"*/
#define ABC_alg_44                      4170 /* "NRL: Sum A - Sum B"*/
#define ABC_ccd_htr                     4171 /* "OBE: CCD Heater\n" */
#define ABC_img_hdr                     4172 /* "OBE: Img Header\n" */
#define ABC_FP_cc                       4173 /* "OBE: FP C&C\n" */
#define ABC_sched_set                   4174 /* "OBE: Sched Set" */
#define ABC_sched_set_item              4175 /* "OBE: Sched Set Item" */
#define ABC_alg_45                      4176 /* "NRL: C2 Debug Image"*/
#define ABC_alg_46                      4177 /* "NRL: C3 Debug Image"*/
#define ABC_fw_0_0                      4178 /* "NRL: Filter 0 PW 0"*/
#define ABC_fw_0_1                      4179 /* "NRL: Filter 0 PW 1"*/
#define ABC_fw_0_2                      4180 /* "NRL: Filter 0 PW 2"*/
#define ABC_fw_0_3                      4181 /* "NRL: Filter 0 PW 3"*/
#define ABC_fw_0_4                      4182 /* "NRL: Filter 0 PW 4"*/
#define ABC_fw_1_0                      4183 /* "NRL: Filter 1 PW 0"*/
#define ABC_fw_1_1                      4184 /* "NRL: Filter 1 PW 1"*/
#define ABC_fw_1_2                      4185 /* "NRL: Filter 1 PW 2"*/
#define ABC_fw_1_3                      4186 /* "NRL: Filter 1 PW 3"*/
#define ABC_fw_1_4                      4187 /* "NRL: Filter 1 PW 4"*/
#define ABC_fw_2_0                      4188 /* "NRL: Filter 2 PW 0"*/
#define ABC_fw_2_1                      4189 /* "NRL: Filter 2 PW 1"*/
#define ABC_fw_2_2                      4190 /* "NRL: Filter 2 PW 2"*/
#define ABC_fw_2_3                      4191 /* "NRL: Filter 2 PW 3"*/
#define ABC_fw_2_4                      4192 /* "NRL: Filter 2 PW 4"*/
#define ABC_fw_3_0                      4193 /* "NRL: Filter 3 PW 0"*/
#define ABC_fw_3_1                      4194 /* "NRL: Filter 3 PW 1"*/
#define ABC_fw_3_2                      4195 /* "NRL: Filter 3 PW 2"*/
#define ABC_fw_3_3                      4196 /* "NRL: Filter 3 PW 3"*/
#define ABC_fw_3_4                      4197 /* "NRL: Filter 3 PW 4"*/
#define ABC_fw_4_0                      4198 /* "NRL: Filter 4 PW 0"*/
#define ABC_fw_4_1                      4199 /* "NRL: Filter 4 PW 1"*/
#define ABC_fw_4_2                      4200 /* "NRL: Filter 4 PW 2"*/
#define ABC_fw_4_3                      4201 /* "NRL: Filter 4 PW 3"*/
#define ABC_fw_4_4                      4202 /* "NRL: Filter 4 PW 4"*/
#define ABC_alg_47                      4203 /* "NRL: H-Compress 0"*/
#define ABC_alg_48                      4204 /* "NRL: H-Compress 10"*/
#define ABC_alg_49                      4205 /* "NRL: H-Compress 20"*/
#define ABC_alg_50                      4206 /* "NRL: H-Compress 50"*/
#define ABC_alg_51                      4207 /* "NRL: H-Compress 100"*/
#define ABC_alg_52                      4208 /* "NRL: H-Compress 200"*/
#define ABC_alg_53                      4209 /* "NRL: H-Compress 300"*/
#define ABC_alg_54                      4210 /* "NRL: H-Compress 400"*/
#define ABC_alg_55                      4211 /* "NRL: H-Compress 500"*/
#define ABC_alg_56                      4212 /* "NRL: H-Compress 600"*/
#define ABC_fp_cc_dac                   4213 /* "NRL: FP C&C DAC Recovery"*/
#define ABC_fp_cc_wedge                 4214 /* "NRL: FP C&C Wedge Recovery"*/
#define ABC_c1_d0                       4215 /* "NRL: C1 dpt 0"*/
#define ABC_c1_d1                       4216 /* "NRL: C1 dpt 1"*/
#define ABC_c1_d2                       4217 /* "NRL: C1 dpt 2"*/
#define ABC_c2_d0                       4218 /* "NRL: C2 dpt 0"*/
#define ABC_c2_d1                       4219 /* "NRL: C2 dpt 1"*/
#define ABC_c2_d2                       4220 /* "NRL: C2 dpt 2"*/
#define ABC_c3_d0                       4221 /* "NRL: C3 dpt 0"*/
#define ABC_c3_d1                       4222 /* "NRL: C3 dpt 1"*/
#define ABC_c3_d2                       4223 /* "NRL: C3 dpt 2"*/
#define ABC_eit_d0                      4224 /* "NRL: EIT dpt 0"*/
#define ABC_eit_d1                      4225 /* "NRL: EIT dpt 1"*/
#define ABC_eit_d2                      4226 /* "NRL: EIT dpt 2"*/
#define ABC_Campaign                    4227 /* "NRL: Campaign ID"*/
#define ABC_HC_Buffer                   4228 /* "NRL: HCompress Buffer Overflow"*/
#define ABC_fp_cc_recover               4229 /* "NRL: FP C&C DAC Recovery"*/
#define ABC_mem_free_fail               4230 /* "OS_free mem failure"*/
#define ABC_TELE                        4231 /* "NRL: Telescope"*/
#define ABC_DPT                         4232 /* "NRL: Def. Param Table"*/
#define ABC_IMG_PROC                    4233 /* "NRL: Image Proc Table"*/
#define ABC_sum_buff                    4234 /* "NRL: Summing Buffers Enabled"*/
/* all values between start_num and end_num will be numbers */
#define ABC_start_num                   8192 /* "Numbers"      */
#define ABC_end_num                    65534 /* "Numbers"      */
#define ABC_boot_timer_started           200 /* TCE: autoboot timer started */
#define ABC_boot_timer_expired           201 /* TCE: autoboot timer expired */
#define ABC_autoboot_canceled            202 /* TCE: autoboot of LEB aborted by command */
#define ABC_OBE_rts_expected             203 /* TCE: Invld resp: Expected RTS from OBE */
#define ABC_consec_obe_errs              204 /* TCE: Too many consective OBE NACKS-bring OBE down */
#define ABC_stat_rqst_send_err           205 /* TCE: Error sending status request-drop till next time */
#define ABC_ice_status_size_err          206 /* TCE: Size of ICE status msg incorrect-not updating HK */
#define ABC_pce_msg_err                  207 /* TCE: Error getting PCE sourced msg */
#define ABC_saving_cmd                   208 /* TCE: Saving command for retry */
#define ABC_retry_saved_cmd              209 /* TCE: Retry sending saved command */
#define ABC_wait_on_pce                  210 /* TCE: Waiting for response from PCE */
#define ABC_wait_on_ice_a                211 /* TCE: Waiting for response from ICE-A */
#define ABC_wait_on_ice_b                212 /* TCE: Waiting for response from ICE-B */
#define ABC_max_retries                  213 /* TCE: Max. number of retries exceeded */
#define ABC_retry_msg_obe                214 /* TCE: Timed-out waiting for resp (OBE)--retrying */
#define ABC_mux_to_ice_a                 215 /* TCE: Switched mux to side A ICB */
#define ABC_mux_to_ice_b                 216 /* TCE: Switched mux to side B ICB */
#define ABC_mux_notto_ice_a              217 /* TCE: Mux not switched to ICE-A - not booted */
#define ABC_mux_notto_ice_b              218 /* TCE: Mux not switched to ICE-B - not booted */
#define ABC_rcvd_pce_bit                 219 /* TCE: Rcvd PCE BIT results */
#define ABC_expected_pce_bit_msg         220 /* TCE: Expected PCE BIT message-got something else */
#define ABC_no_PCE_exec_msg              221 /* TCE: Msg that PCE exec initialized not rcvd */
#define ABC_PCE_BIT_timeout              222 /* TCE: Timed-out getting PCE BIT */
#define ABC_bad_pce_on_off_code          223 /* TCE: Unrecognized select code to PCE reset */
#define ABC_rcvd_ice_bit                 224 /* TCE: Rcvd ICE BIT results */
#define ABC_expected_ice_bit_msg         225 /* TCE: Expected ICE PIT message-got something else */
#define ABC_ICE_BIT_timeout              226 /* TCE: Timed-out getting ICE BIT */
#define ABC_hk_fifo_reset_err            227 /* TCE: HK fifo not empty after reset */
#define ABC_inp_fifo_err                 228 /* TCE: Input fifo not empty after reset */
#define ABC_out_fifo_err                 229 /* TCE: Output fifo not ready for data after reset */
#define ABC_unknown_relay                230 /* TCE: Unrecognized relay-id received */
#define ABC_A_to_D_err                   231 /* TCE: A-to-D output never came valid */
#define ABC_md_oflow_err                 232 /* TCE: Manchester Decoder overflow not clearable */
#define ABC_md_int_enable_err            233 /* TCE: Manchester Decode/Encode interrupts not maskable */
#define ABC_autoboot_started             234 /* TCE: Automatic boot sequence started */
#define ABC_autoboot_complete            235 /* TCE: Automatic boot sequence completed */
#define ABC_pce_nack_boot_cmd            236 /* TCE: PCE nack-ed a boot command */
#define ABC_expected_boot_cmd            237 /* TCE: Expected boot cmd from OBE - got something else */
#define ABC_didnt_get_OBE_boot           238 /* TCE: Did not get successful boot msg from OBE (to PCE) */
#define ABC_expected_OBE_ack             239 /* TCE: Expected ACK from OBE-got something else */
#define ABC_bs_pe_out_of_range           240 /* TCE: Boresighter/Poining Eye voltage out-of-range */
#define ABC_volt_out_of_range            241 /* TCE: Voltage detected out of range */
#define ABC_fp_temp_out_of_range         242 /* TCE: Fabry-Perot temp point out-of-range */
#define ABC_consec_fp_temp_errs          243 /* TCE: Too many consective FP temp errors-shutting down FP */
#define ABC_pending_msg                  244 /* TCE: skipped status req. because of pending msg */
#define ABC_ICEA_rts_expected            245 /* TCE: Invld resp: Expected RTS from ICEA */
#define ABC_ICEB_rts_expected            246 /* TCE: Invld resp: Expected RTS from ICEB */
#define ABC_retry_msg_ice                247 /* TCE: Timed-out waiting for resp (ICE)--retrying */
#define ABC_retry_msg_pce                248 /* TCE: Timed-out waiting for resp (PCE)--retrying */
#define ABC_reboot_mech_periph           249 /* TCE: Volt/temp out-of-rng; reboot mechs/periph */
#define ABC_esr                          250 /* TCE: Performing LEB ESR: reboot of mechs/periphs */
#define ABC_obe_boot_fail                251 /* OBE Boot fail */
#define ABC_icea_boot_fail               252 /* ICE-A Boot fail */
#define ABC_iceb_boot_fail               253 /* ICE-B Boot fail */
#define ABC_LOBT_upload                  254 /* LOBT Upload */
/* RAH put these in - why I don't know - DW */
#define ABC_OBE_LCF_256                  256 /* TCE->OBE: NACK_BUSY */
#define ABC_OBE_LCF_266                  266 /* OBE: LCF #266 */
#define ABC_OBE_1024                    1024 /* Undefined 1024 */
#define ABC_OBE_1043                    1043 /* Undefined 1043 */
#define ABC_OBE_65656                  65535 /* Undefined = 65535 */
