Tags:
create new tag
view all tags

Test 1 - PT Exposure

The proc ncr140ptalt was run. This simulates a PT observation to a target at ra = 189.5, dec = -10.5 and roll = 180.0 which , in fact, slews 2 minutes of arc off that position to dec=-10.5+2.0/60. There are 3 exposures in the observation. The last 2 use a non-full detector window of 8 arc minutes. Therefore, in order to re-centre the target, the DPU and detector windows have to be adjusted accordingly.

The expected shifts in the source are (211,-116). The boresight offsets are (-68,11). Therefore the window origin need to be shifted from it original (34*16,34*16) by (211-68, -116+11) = (687,439).

This new value, when expressed in hex and units of 16 pixels (the units the DPU expects), is (0x2A, 0x1b). The debug outputs bracketed by

****
confirm these values were set as expected. They show the values actually sent to the DPU.

When added to the (0x38, 0x3) physical detector offset - units are 8 pixels in this case - of the detector windows loaded into the BPE electronics, the expected values are (0x38+2*0x2a, 0x3+2*0x1b) = (0x8c, 0x39). The debug outputs bracketed by

====
confirm these values were set as expected. They show the values actually sent to the detector electronics. NOTE this test used a new format PT table where the boresight correction is not included but is added by the ICU code instead.

APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0014 0000 0000   process_slew_warn                              Pkt 2004-09-24 04:53:47.90 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-24 04:53:48.49 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-24 04:53:49.67 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-24 04:53:49.70 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-24 04:53:50.23 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-24 04:53:50.76 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-24 04:53:50.78 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-24 04:53:50.96 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     1219 0000 0001                                                  Pkt 2004-09-24 04:53:55.10 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-24 04:53:56.40 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-24 04:53:56.59 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0326 0002 00aa                                                  Pkt 2004-09-24 04:53:57.00 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0326 0000 0000   slew_to_pt                                     Pkt 2004-09-24 04:53:57.01 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-24 04:53:58.45 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0190 0190                                                  Pkt 2004-09-24 04:54:00.96 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-24 04:54:02.24 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-24 04:54:02.52 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-24 04:54:15.30 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0006 0000 0000   PLANNED                                        Pkt 2004-09-24 04:54:15.49 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 00d3 ff8c                                                  Pkt 2004-09-24 04:54:15.54 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-24 04:54:15.54 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-24 04:54:15.54 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 008f ff97                                                  Pkt 2004-09-24 04:54:15.54 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-24 04:54:15.54 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-24 04:54:15.65 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 048f 0397                                                  Pkt 2004-09-24 04:54:15.75 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 048f 0397                                                  Pkt 2004-09-24 04:54:15.77 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-24 04:54:15.78 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-24 04:54:15.94 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-24 04:54:15.96 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0366 0000 0000   pt_to_pt                                       Pkt 2004-09-24 04:54:30.46 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 007c 0047                                                  Pkt 2004-09-24 04:54:30.51 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0190                                                  Pkt 2004-09-24 04:54:30.60 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0186 0000   Cathode                                        Pkt 2004-09-24 04:54:30.82 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0006 0000 0000   PLANNED                                        Pkt 2004-09-24 04:54:30.96 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 00d3 ff8c                                                  Pkt 2004-09-24 04:54:31.00 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-24 04:54:31.00 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-24 04:54:31.00 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 008f ff97                                                  Pkt 2004-09-24 04:54:31.00 
===========================================================================================================================================================
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 008c 0039                                                  Pkt 2004-09-24 04:54:31.00 
===========================================================================================================================================================
APID 373 ICU     pkg=dd evt=65 Window Table Load Okay            0000 0000 0000                                                  Pkt 2004-09-24 04:54:39.90 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 048f 0397                                                  Pkt 2004-09-24 04:54:40.20 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 048f 0397                                                  Pkt 2004-09-24 04:54:40.22 
***********************************************************************************************************************************************************
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 002a 001b                                                  Pkt 2004-09-24 04:54:40.24 
***********************************************************************************************************************************************************
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-24 04:54:40.70 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Image           SubMode=none                                                           Pkt 2004-09-24 04:54:40.73 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 007c 0047                                                  Pkt 2004-09-24 04:56:57.54 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0190                                                  Pkt 2004-09-24 04:56:57.63 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0186 0000   Cathode                                        Pkt 2004-09-24 04:56:57.84 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0006 0000 0000   PLANNED                                        Pkt 2004-09-24 04:56:57.98 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 00d3 ff8c                                                  Pkt 2004-09-24 04:56:58.02 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-24 04:56:58.02 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-24 04:56:58.02 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 008f ff97                                                  Pkt 2004-09-24 04:56:58.02 
===========================================================================================================================================================
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 008c 0039                                                  Pkt 2004-09-24 04:56:58.02
=========================================================================================================================================================== 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-24 04:56:58.18 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 048f 0397                                                  Pkt 2004-09-24 04:56:58.27 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 048f 0397                                                  Pkt 2004-09-24 04:56:58.29 
***********************************************************************************************************************************************************
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 002a 001b                                                  Pkt 2004-09-24 04:56:58.30 
***********************************************************************************************************************************************************
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-24 04:56:58.67 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-24 04:56:58.70 
APID 373 ICU     pkg=24 evt=49 UVOT Mode Exhausted               1219 0000 0000                                                  Pkt 2004-09-24 04:57:13.18 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0503 0000 0000   blocked_failsafe                               Pkt 2004-09-24 04:57:13.20 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-24 04:57:13.34 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-24 04:57:13.36 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0708 0000                                                  Pkt 2004-09-24 04:57:19.77 

Test 2 - New GRB with XRT position supplied.

The proc ncr140atnewalt was run.

This simulates a new AT observation to a target at ra = 189.5, dec = -10.5 and roll = 180.0 which, in fact, slews 1 minutes of arc off that position to dec=-10.5+1.0/60. Thus the target (and therefore default source position) is at -1 arc minute dec with respect to the pointing. The expected source offset from the boresight is (106,-58). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore (106-68, -58+11) = (38, -47) = (0x26, 0xffd1). When added to the central position of (0x400, 0x400), the new coordinates are (0x426, 0x03d1). The debug outputs bracketed by

====
confirm these values were sent to the DPU as expected.

An XRT position message is then send which informs the ICU that the source is at dec=-10.5+2.0/60, i.e. that the source is now at +1 arc minute with respect to the pointing. The expected offset from the boresight is then (-106,58). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore (-106-68, 58+11) = (-174, 69) = (0xff52, 0x45). When added to the central position of (0x400, 0x400), the new coordinates are (0x352, 0x445). The debug outputs bracketed by

****
confirm these values were sent to the DPU as expected for the processing of the Finding Chart and subsequent AT exposure.

Note that, as all these exposures are full frame, no adjustment is required to the origin of the image. Thus the DPU window ourigin should remain at (0,0) and the Detector Hardware origin at (0x38,3). This is confirmed by debug output bracketed by

??????<verbatim> and <verbatim>+++++<verbatim> respectively below.


<verbatim>
APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0014 0000 0000   process_slew_warn                              Pkt 2004-09-22 05:30:49.83 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-22 05:30:50.51 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-22 05:30:51.64 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-22 05:30:51.66 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-22 05:30:52.20 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-22 05:30:52.72 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-22 05:30:52.75 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-22 05:30:52.92 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0001 0000                                                  Pkt 2004-09-22 05:30:55.10 
APID 373 ICU     pkg=5c evt=58 BATGRBFLUXINFO Proc Stat          0001 0001 0000                                                  Pkt 2004-09-22 05:30:56.25 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-22 05:30:57.42 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-22 05:30:57.61 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0323 0002 00aa                                                  Pkt 2004-09-22 05:30:58.01 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0323 0000 0000   slew_to_settling                               Pkt 2004-09-22 05:30:58.03 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:30:58.09 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0258 0258                                                  Pkt 2004-09-22 05:31:01.14 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-22 05:31:02.63 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-22 05:31:02.89 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0003 0000 0000   SETTLING                                       Pkt 2004-09-22 05:31:06.62 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     03f3 0000 0000   do_sttlng_exp                                  Pkt 2004-09-22 05:31:06.91 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-22 05:31:07.04 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0400 0400                                                  Pkt 2004-09-22 05:31:07.14 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0400 0400                                                  Pkt 2004-09-22 05:31:07.15 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-22 05:31:07.17 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-22 05:31:07.35 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-22 05:31:07.37 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-22 05:31:12.02 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-22 05:31:17.00 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-22 05:31:17.02 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0334 0000 0000   settling_to_fc                                 Pkt 2004-09-22 05:31:17.17 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0004 0000 0000   FINDING                                        Pkt 2004-09-22 05:31:17.22 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:31:17.24 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0258                                                  Pkt 2004-09-22 05:31:17.33 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-22 05:31:18.58 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-22 05:31:18.74 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0186 0000   Cathode                                        Pkt 2004-09-22 05:31:20.17 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-22 05:31:20.40 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-22 05:31:20.40 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-22 05:31:20.40 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-22 05:31:20.40 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:31:20.40 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-22 05:31:20.52 
***********************************************************************************************************************************************************
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-22 05:31:20.65 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-22 05:31:20.67
*********************************************************************************************************************************************************** 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-22 05:31:20.69 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-22 05:31:21.06 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=ImageEvent      SubMode=GenFindChart                                                   Pkt 2004-09-22 05:31:21.09 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 ff96 003a                                                  Pkt 2004-09-22 05:31:26.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-22 05:31:26.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-22 05:31:26.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 ff52 0045                                                  Pkt 2004-09-22 05:31:26.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:31:26.15
=========================================================================================================================================================== 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0005 0352 0445                                                  Pkt 2004-09-22 05:31:26.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0006 0352 0445                                                  Pkt 2004-09-22 05:31:26.15
=========================================================================================================================================================== 
APID 373 ICU     pkg=24 evt=56 XRTPOS Processing Status          ff96 003a 0001                                                  Pkt 2004-09-22 05:31:26.61 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK XRT Position                                                                            Pkt 2004-09-22 05:31:26.67 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-22 05:33:02.83 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:33:02.95 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0320                                                  Pkt 2004-09-22 05:33:04.35 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-22 05:33:04.50 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 ff96 003a                                                  Pkt 2004-09-22 05:33:04.59 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-22 05:33:04.59 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-22 05:33:04.59 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 ff52 0045                                                  Pkt 2004-09-22 05:33:04.59 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:33:04.59 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-22 05:33:04.70 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0352 0445                                                  Pkt 2004-09-22 05:33:04.80 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0352 0445                                                  Pkt 2004-09-22 05:33:04.81 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-22 05:33:04.83 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-22 05:33:05.40 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-22 05:33:05.42 
</verbatim>

The proc =ncr140ptalt= was then run, simply to simulate a constraint interruption.


The proc =ncr140atoldalt= was then run to simulate a return to the same GRB. It also slews 1 minutes of arc off correct position to dec=-10.5+1.0/60.  It has the same observation number as the previous observation, so it should remember the XRT position of the source. Therefore all offsets should be the same. The debug outputs bracketed by <verbatim>****</verbatim> confirm these same values were sent to the DPU as expected.

<verbatim>
APID 373 ICU     pkg=dc evt=70 DCS Aborting                      0326 0000 0000   slew_to_pt                                     Pkt 2004-09-22 05:33:40.85 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0014 0000 0000   process_slew_warn                              Pkt 2004-09-22 05:33:40.87 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-22 05:33:41.55 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-22 05:33:42.36 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-22 05:33:42.39 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-22 05:33:42.93 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-22 05:33:43.44 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-22 05:33:43.47 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-22 05:33:43.64 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0000 0000                                                  Pkt 2004-09-22 05:33:46.10 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-22 05:33:47.48 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-22 05:33:47.65 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0325 0002 00aa                                                  Pkt 2004-09-22 05:33:48.06 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0325 0000 0000   slew_to_at                                     Pkt 2004-09-22 05:33:48.07 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:33:48.21 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0320 04b0                                                  Pkt 2004-09-22 05:33:51.01 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-22 05:33:52.28 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-22 05:33:52.46 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-22 05:34:11.82 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-22 05:34:11.99 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 ff96 003a                                                  Pkt 2004-09-22 05:34:12.03 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-22 05:34:12.03 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-22 05:34:12.04 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 ff52 0045                                                  Pkt 2004-09-22 05:34:12.04 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:34:12.04 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-22 05:34:12.16 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0352 0445                                                  Pkt 2004-09-22 05:34:12.25 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0352 0445                                                  Pkt 2004-09-22 05:34:12.26 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-22 05:34:12.28 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-22 05:34:12.68 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-22 05:34:12.71 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-22 05:34:24.10 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:34:24.22 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0578                                                  Pkt 2004-09-22 05:34:25.60 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-22 05:34:25.77 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 ff96 003a                                                  Pkt 2004-09-22 05:34:25.81 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-22 05:34:25.81 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-22 05:34:25.81 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 ff52 0045                                                  Pkt 2004-09-22 05:34:25.81 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-22 05:34:25.81 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-22 05:34:25.92 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0352 0445                                                  Pkt 2004-09-22 05:34:26.02 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0352 0445                                                  Pkt 2004-09-22 05:34:26.05 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-22 05:34:26.06 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-22 05:34:26.33 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-22 05:34:26.35 
</verbatim>

---+++Test 3 - New GRB *without* XRT position supplied.

The proc =ncr140atnewnoxalt= was run. 

This simulates a new AT  observation to a target at ra = 189.5, dec = -10.5 and roll = 180.0 which, in fact, slews 2 minutes of arc off that position to dec=-10.5+1.0/60. Thus the target (and therefore default source position) is at -2 arc minute dec with respect to the pointing. The expected source offset from the boresight is (211,-116). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore  (211-68, -116+11) = (143, -105) =  (0x8f, 0xff97). When added to the central position of (0x400, 0x400), the new coordinates are (0x48f, 0x0397). The debug outputs bracketed by <verbatim>====</verbatim> confirm these values were sent to the DPU as expected.

No XRT position message is then sent, therefore these values are not revised further and are used for the exposure.


Note that, as all these exposures are full frame, no adjustment is required to the origin of the image. Thus the DPU window ourigin should remain at (0,0) and the Detector Hardware origin at (0x38,3). This is confirmed by debug output bracketed by <verbatim>??????<verbatim> and <verbatim>+++++<verbatim> respectively below.

<verbatim>
APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0014 0000 0000   process_slew_warn                              Pkt 2004-09-26 00:23:43.02 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-26 00:23:43.71 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 00:23:45.01 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 00:23:45.04 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-26 00:23:45.57 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 00:23:46.09 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 00:23:46.11 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-26 00:23:46.29 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0001 0000                                                  Pkt 2004-09-26 00:23:48.29 
APID 373 ICU     pkg=5c evt=58 BATGRBFLUXINFO Proc Stat          0001 0001 0000                                                  Pkt 2004-09-26 00:23:48.59 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 00:23:49.76 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 00:23:49.94 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0323 0002 00aa                                                  Pkt 2004-09-26 00:23:50.35 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0323 0000 0000   slew_to_settling                               Pkt 2004-09-26 00:23:50.36 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:23:50.43 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0258 0258                                                  Pkt 2004-09-26 00:23:52.75 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 00:23:54.15 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 00:23:54.32 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0003 0000 0000   SETTLING                                       Pkt 2004-09-26 00:23:59.66 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     03f3 0000 0000   do_sttlng_exp                                  Pkt 2004-09-26 00:23:59.97 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 00:24:00.08 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0400 0400                                                  Pkt 2004-09-26 00:24:00.18 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0400 0400                                                  Pkt 2004-09-26 00:24:00.20 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 00:24:00.21 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 00:24:00.79 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 00:24:00.81 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-26 00:24:04.71 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 00:24:09.90 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 00:24:09.92 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0334 0000 0000   settling_to_fc                                 Pkt 2004-09-26 00:24:10.10 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0004 0000 0000   FINDING                                        Pkt 2004-09-26 00:24:10.16 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:24:10.17 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0258                                                  Pkt 2004-09-26 00:24:10.26 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 00:24:11.51 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 00:24:11.70 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0186 0000   Cathode                                        Pkt 2004-09-26 00:24:12.00 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 00d3 ff8c                                                  Pkt 2004-09-26 00:24:12.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 00:24:12.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 00:24:12.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 008f ff97                                                  Pkt 2004-09-26 00:24:12.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:24:12.15 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 00:24:12.26 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 048f 0397                                                  Pkt 2004-09-26 00:24:12.36 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 048f 0397                                                  Pkt 2004-09-26 00:24:12.37 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 00:24:12.39 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 00:24:12.97 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=ImageEvent      SubMode=GenFindChart                                                   Pkt 2004-09-26 00:24:12.99 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-26 00:25:54.69 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:25:54.80 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0320                                                  Pkt 2004-09-26 00:25:56.19 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 00:25:56.37 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 00d3 ff8c                                                  Pkt 2004-09-26 00:25:56.41 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 00:25:56.42 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 00:25:56.42 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 008f ff97                                                  Pkt 2004-09-26 00:25:56.42 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:25:56.42 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 00:25:56.54 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 048f 0397                                                  Pkt 2004-09-26 00:25:56.63 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 048f 0397                                                  Pkt 2004-09-26 00:25:56.64 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 00:25:56.66 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 00:25:57.25 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 00:25:57.28 
APID 373 ICU     pkg=dc evt=70 DCS Aborting                      0345 0000 0000   fc_to_at                                       Pkt 2004-09-26 00:26:07.74 
</verbatim>

The proc =ncr140ptalt= was then run, simply to simulate a constraint interruption.

The proc =ncr140atoldalt= was then run to simulate a return to the same GRB, but slews 1 minutes of arc off that position to dec=-10.5+1.0/60. Thus the target (and therefore default source position) is at -1 arc minute dec with respect to the pointing. The expected source offset from the boresight is (106,-58). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore  (106-68, -58+11) = (38, -47) =  (0x26, 0xffd1). When added to the central position of (0x400, 0x400), the new coordinates are (0x426, 0x03d1). The debug outputs bracketed by <verbatim>====</verbatim> confirm these values were sent to the DPU as expected.

<verbatim>
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0014 0000 0000   process_slew_warn                              Pkt 2004-09-26 00:26:40.22 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-26 00:26:40.90 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 00:26:42.19 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 00:26:42.22 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-26 00:26:42.74 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 00:26:43.27 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 00:26:43.29 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-26 00:26:43.48 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0000 0000                                                  Pkt 2004-09-26 00:26:45.29 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 00:26:46.70 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 00:26:46.88 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0325 0002 00aa                                                  Pkt 2004-09-26 00:26:47.28 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0325 0000 0000   slew_to_at                                     Pkt 2004-09-26 00:26:47.30 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:26:47.47 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0320 04b0                                                  Pkt 2004-09-26 00:26:50.30 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 00:26:51.59 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 00:26:51.77 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-26 00:27:11.02 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 00:27:11.10 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 00:27:11.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 00:27:11.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 00:27:11.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 00:27:11.15 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:27:11.15 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 00:27:11.26 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 00:27:11.40 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 00:27:11.42 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 00:27:11.44 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 00:27:12.02 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 00:27:12.04 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-26 00:27:23.44 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:27:23.56 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0578                                                  Pkt 2004-09-26 00:27:24.94 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 00:27:25.10 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 00:27:25.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 00:27:25.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 00:27:25.15 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 00:27:25.15 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 00:27:25.15 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 00:27:25.26 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 00:27:25.40 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 00:27:25.42 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 00:27:25.44 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 00:27:25.70 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 00:27:25.72 
</verbatim>

---+++Test 4 - Old GRB with New GRB information missing.

The proc =ncr140atmissedalt= was run. 

This simulates an old AT observation where no prior New GRB information has been received. This simulates a situation that may occur if the ICU was off when the New GRB message come through and checks the software can handle such a situation.  The specified target is at ra = 189.5, dec = -10.5 and roll = 180.0 but, in fact, the slew goes to 1 minutes of arc off that position to dec=-10.5+1.0/60. Thus the target (and therefore default source position) is at -1 arc minute dec with respect to the pointing. The expected source offset from the boresight is (106,-58). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore  (106-68, -58+11) = (38, -47) =  (0x26, 0xffd1). When added to the central position of (0x400, 0x400), the new coordinates are (0x426, 0x03d1). The debug outputs bracketed by <verbatim>====</verbatim> confirm these values were sent to the DPU as expected.

Note that a finding chart but no settling exposure was performed, as expected in these circumstances.

Note also that, as all these exposures are full frame, no adjustment is required to the origin of the image. Thus the DPU window ourigin should remain at (0,0) and the Detector Hardware origin at (0x38,3). This is confirmed by debug output bracketed by <verbatim>??????<verbatim> and <verbatim>+++++<verbatim> respectively below.

<verbatim>
APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0014 0000 0000   process_slew_warn                              Pkt 2004-09-26 02:38:21.02 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-26 02:38:21.70 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 02:38:23.04 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 02:38:23.07 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-26 02:38:23.70 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 02:38:24.11 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 02:38:24.17 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-26 02:38:24.31 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0000 0000                                                  Pkt 2004-09-26 02:38:26.29 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 02:38:27.59 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 02:38:27.86 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0324 0002 00aa                                                  Pkt 2004-09-26 02:38:28.20 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0324 0000 0000   slew_to_fc                                     Pkt 2004-09-26 02:38:28.22 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 02:38:28.28 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0258 0258                                                  Pkt 2004-09-26 02:38:31.30 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 02:38:32.62 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 02:38:32.90 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-26 02:38:51.15 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0004 0000 0000   FINDING                                        Pkt 2004-09-26 02:38:51.26 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 02:38:51.31 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 02:38:51.31 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 02:38:51.31 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 02:38:51.31
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 02:38:51.31 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 02:38:51.44
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 02:38:51.52 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 02:38:51.55 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 02:38:51.57 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 02:38:51.84 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=ImageEvent      SubMode=GenFindChart                                                   Pkt 2004-09-26 02:38:51.86 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-26 02:40:33.71 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 02:40:33.83 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0320                                                  Pkt 2004-09-26 02:40:35.20 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 02:40:35.37 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 02:40:35.42 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 02:40:35.42 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 02:40:35.42 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 02:40:35.42 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 02:40:35.42 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 02:40:35.54 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 02:40:35.63 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 02:40:35.65 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 02:40:35.66 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 02:40:36.13 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 02:40:36.21 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 02:40:47.58 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0190 04b0                                                  Pkt 2004-09-26 02:40:49.49 
</verbatim>

---+++Test 5 - Old GRB with New GRB information missing and half size AT windows.

The AT table was reloaded with all AT window sizes set to half size of (64*64) 2*CCD pixel units. The proc =ncr140atmissedalt= was run. 

This simulates an old AT observation where no prior new GRB information has been received. This simulates a situation that may occur if the ICU was off when the New GRB message come through and checks the software can handle such a situation.  The specified target is at ra = 189.5, dec = -10.5 and roll = 180.0 but, in fact, the slew goes to 1 minutes of arc off that position to dec=-10.5+1.0/60. Thus the target (and therefore default source position) is at -1 arc minute dec with respect to the pointing. The expected source offset from the boresight is (106,-58). When added to the boresight offset of (-68,11), the expected adjustment to the source position in the field of view is therefore  (106-68, -58+11) = (38, -47) =  (0x26, 0xffd1). When added to the central position of (0x400, 0x400), the new coordinates are (0x426, 0x03d1). The debug outputs bracketed by <verbatim>====</verbatim> confirm these values were sent to the DPU as expected.

Note that a finding chart but no settling exposure was performed, as expected in these circumstances.

Note also that, as all the Finding chart exposure is full frame, no adjustment is required to the origin of the image. Thus the DPU window origin should remain at (0,0) and the Detector Hardware origin at (0x38,3). This is confirmed by debug output bracketed by <verbatim>??????<verbatim> and <verbatim>+++++<verbatim> respectively below. 

However, the AT exposures were performed 1/2 size of 64*64 (units 16 pixels). Therefore, as the uncorrected window is still centred, its origin should by (32,32) = (0x20,0x20) - again in units of 16 pixels. When the offsets decribed above, when expressed in hex and units of 16 pixels (the units the DPU expects), and added too the uncorrected origin, the result is (0x22, 0x1d). The debug outputs bracketed by <verbatim>----</verbatim> confirm these values were set as expected. They show the values actually sent to the DPU.

When the same offset corrections are added to the (0x38, 0x3) physical detector offset  - units are *8* pixels in this case - of the detector windows loaded into the BPE electronics, the expected values are (0x38+2*0x22, 0x3+2*0x1d) = (0x7c, 0x3d). The debug outputs bracketed by <verbatim>******</verbatim> confirm these values were set as expected. They show the values actually sent to the detector electronics.

<verbatim> 
APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0014 0000 0000   process_slew_warn                              Pkt 2004-09-26 03:17:28.82 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                                        Pkt 2004-09-26 03:17:29.50 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 03:17:30.48 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 03:17:30.51 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                                        Pkt 2004-09-26 03:17:31.25 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                               Pkt 2004-09-26 03:17:31.57 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE                          Pkt 2004-09-26 03:17:31.60 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                                           Pkt 2004-09-26 03:17:31.77 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0000 0000                                                  Pkt 2004-09-26 03:17:34.10 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 03:17:35.39 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 03:17:35.57 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0324 0002 00aa                                                  Pkt 2004-09-26 03:17:35.98 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0324 0000 0000   slew_to_fc                                     Pkt 2004-09-26 03:17:36.00 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 03:17:36.06 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0258 0258                                                  Pkt 2004-09-26 03:17:39.12 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                                          Pkt 2004-09-26 03:17:40.51 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                                           Pkt 2004-09-26 03:17:40.80 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0001 0186 0000   Cathode                                        Pkt 2004-09-26 03:17:58.95 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0004 0000 0000   FINDING                                        Pkt 2004-09-26 03:17:59.05 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 03:17:59.10 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 03:17:59.11 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 03:17:59.11 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 03:17:59.11
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0038 0003                                                  Pkt 2004-09-26 03:17:59.11 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 03:17:59.23 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 03:17:59.32 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 03:17:59.34 
===========================================================================================================================================================
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0000 0000                                                  Pkt 2004-09-26 03:17:59.36
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 03:17:59.84 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=ImageEvent      SubMode=GenFindChart                                                   Pkt 2004-09-26 03:17:59.86 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0345 0000 0000   fc_to_at                                       Pkt 2004-09-26 03:19:41.52 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0078 0043                                                  Pkt 2004-09-26 03:19:41.64 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 00c8 0320                                                  Pkt 2004-09-26 03:19:43.04 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 03:19:43.29 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 03:19:43.34 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 03:19:43.34 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 03:19:43.34 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 03:19:43.34
*********************************************************************************************************************************************************** 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 007c 003d                                                  Pkt 2004-09-26 03:19:43.34
*********************************************************************************************************************************************************** 
APID 373 ICU     pkg=dd evt=65 Window Table Load Okay            0000 0000 0000                                                  Pkt 2004-09-26 03:19:52.61 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 03:19:52.72 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 03:19:52.74 
===========================================================================================================================================================
-----------------------------------------------------------------------------------------------------------------------------------------------------------
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0022 001d                                                  Pkt 2004-09-26 03:19:52.76 
-----------------------------------------------------------------------------------------------------------------------------------------------------------
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 03:19:53.13 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 03:19:53.16 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 0078 0043                                                  Pkt 2004-09-26 03:20:04.63 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0190 04b0                                                  Pkt 2004-09-26 03:20:06.52 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0005 0000 0000   AUTOMATED                                      Pkt 2004-09-26 03:20:06.79 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0000 006a ffc6                                                  Pkt 2004-09-26 03:20:06.83 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0001 ffbc 000b                                                  Pkt 2004-09-26 03:20:06.83 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0003 0400 0400                                                  Pkt 2004-09-26 03:20:06.83 
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0007 0026 ffd1                                                  Pkt 2004-09-26 03:20:06.83 
***********************************************************************************************************************************************************
APID 373 ICU     pkg=24 evt=f0 Debug Output                      0004 007c 003d                                                  Pkt 2004-09-26 03:20:06.83
*********************************************************************************************************************************************************** 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                                  Pkt 2004-09-26 03:20:06.95 
===========================================================================================================================================================
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0000 0426 03d1                                                  Pkt 2004-09-26 03:20:07.05 
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0001 0426 03d1                                                  Pkt 2004-09-26 03:20:07.07 
===========================================================================================================================================================
-----------------------------------------------------------------------------------------------------------------------------------------------------------
APID 373 ICU     pkg=5c evt=f0 Debug Output                      0002 0022 001d                                                  Pkt 2004-09-26 03:20:07.09
----------------------------------------------------------------------------------------------------------------------------------------------------------- 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Mode                                                                                    Pkt 2004-09-26 03:20:07.26 
APID 384 DPU     Mode Rdy  ID 0x0c04 Mode=Event           SubMode=none                                                           Pkt 2004-09-26 03:20:07.28 
</verbatim>
-- HowardHuckle - 14 Nov 2005


Tests repeated with fully patched code. Results same as before.

-- HowardHuckle - 17 Nov 2005

In addition, the scripts =iwin_rev(1)= and =iwin_rev(2)= were run prior to rerunning =ncr140atnewalt=. These suppress the XRT processing and window revision for off-pointing respectively. In the former case, the centre of the image was still at (0x352, 0x445) as expected. In the latter, the image was centred at (0x426,0x3d1) as expected.

-- HowardHuckle - 21 Nov 2005</verbatim>
<nop>
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | More topic actions
Topic revision: r12 - 2006-04-26 - HowardHuckle
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback