There are 3 situations where it would be necessary to load a window table during a slew to a GRB
  1. If we are slewing to a settling exposure (and therefore running the rts 'slew_to_settling')
  2. slewing to a finding chart (rts 'slew_to_fc') and
  3. slewing to a normal AT exposure (rts 'slew_to_at').

The proc ptecr216 was written to run a sequence of 3 PT exposures in which the outer two exposures have detector window offsets of (41,46) and a size of (38,38). The middle one has the normal full detector settings. The test commences with running this proc. Thus the loaded table would, at the end, be for the non-full detector.

The proc atecr216 was then run. This simulates a slew to a GRB with IS_NEW_AT_SLEW = TRUE.

APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0323 0002 00aa                                    UTC 2005-10-31 15:12:20.19 Pkt 2004-09-22 00:08:32.90 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0323 0000 0000   slew_to_settling                 UTC 2005-10-31 15:12:20.19 Pkt 2004-09-22 00:08:32.91 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0258                                    UTC 2005-10-31 15:12:21.79 Pkt 2004-09-22 00:08:33.77 
APID 373 ICU     pkg=dd evt=65 Window Table Load Okay            0000 0000 0000                                    UTC 2005-10-31 15:12:38.79 Pkt 2004-09-22 00:08:52.52 

The message 'Window Table Load Okay' indicates a table was reloaded, as expected, whilst running rts 'slew_to_settling'. If it had not been reloaded, the message 'Window Table Already Loaded' would have been seen (and indeed was on the subsequent finding chart exposure). The f/c exposure was allowed to go to completion to ensure that the subsequent call to at2ecr216 did not try to run another finding chart.

APID 373 ICU     pkg=dc evt=78 Switching RTS                     03f3 0000 0000   do_sttlng_exp                    UTC 2005-10-31 15:12:47.80 Pkt 2004-09-22 00:09:01.62 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                    UTC 2005-10-31 15:12:47.81 Pkt 2004-09-22 00:09:01.75 

The proc ptecr216 was then rerun to reset the table to non-full detector again.

The proc at2ecr216 was then run. This simulates a slew to a GRB with IS_NEW_AT_SLEW = FALSE. The message 'Window Table Load Okay' indicates a table was reloaded, as expected, whilst running rts 'slew_to_at'.

APID 373 ICU     pkg=dc evt=78 Switching RTS                     0325 0000 0000   slew_to_at                       UTC 2005-10-31 15:20:07.79 Pkt 2004-09-22 00:16:19.07 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0320 0578                                    UTC 2005-10-31 15:20:09.78 Pkt 2004-09-22 00:16:23.32 
APID 373 ICU     pkg=dd evt=65 Window Table Load Okay            0000 0000 0000                                    UTC 2005-10-31 15:20:28.78 Pkt 2004-09-22 00:16:42.14 

The proc ptecr216 was then rerun to reset the table to non-full detector again.

The proc saaon was then run, to simulate a passage into the SAA.

The proc atecr216 was then rerun. As we were in SAA, the Settling-Finding Chart-AT exposures sequence was suppressed and the 'spacecraft' ended up in settled.

The proc saaoff was then run to take the 'spacecraft' out of the SAA. As expected, the suppressed Settling-Finding Chart-AT exposures sequence required by atecr216 then started up. However, by this time the spacecraft was settled, so the settling exposure was suppresed and the rts 'slew_to_finding' chart commenced instead.

APID 373 ICU     pkg=dc evt=79 DCS Starting RTS                  0013 0000 0000   autostate                        UTC 2005-10-31 15:34:15.38 Pkt 2004-09-22 00:30:27.38 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0302 0008 00aa                                    UTC 2005-10-31 15:34:15.39 Pkt 2004-09-22 00:30:27.65 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                          UTC 2005-10-31 15:34:15.39 Pkt 2004-09-22 00:30:27.67 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                 UTC 2005-10-31 15:34:15.40 Pkt 2004-09-22 00:30:27.94 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE            UTC 2005-10-31 15:34:16.77 Pkt 2004-09-22 00:30:27.97 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                          UTC 2005-10-31 15:34:16.78 Pkt 2004-09-22 00:30:28.49 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                 UTC 2005-10-31 15:34:16.79 Pkt 2004-09-22 00:30:29.01 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE            UTC 2005-10-31 15:34:16.81 Pkt 2004-09-22 00:30:29.04 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                             UTC 2005-10-31 15:34:16.83 Pkt 2004-09-22 00:30:29.21 
APID 373 ICU     pkg=5c evt=58 BATGRBFLUXINFO Proc Stat          0001 0001 0000                                    UTC 2005-10-31 15:34:16.84 Pkt 2004-09-22 00:30:29.27 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0003 0654 0000   MCP23                            UTC 2005-10-31 15:34:36.77 Pkt 2004-09-22 00:30:50.71 
APID 373 ICU     pkg=da evt=13 HV Ramp Succeeded                 0002 0262 0000   MCP1                             UTC 2005-10-31 15:34:46.77 Pkt 2004-09-22 00:31:00.82 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0323 0002 00aa                                    UTC 2005-10-31 15:34:48.77 Pkt 2004-09-22 00:31:01.10 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0323 0000 0000   slew_to_settling                 UTC 2005-10-31 15:34:48.78 Pkt 2004-09-22 00:31:01.11 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0324 0000 0000   slew_to_fc                       UTC 2005-10-31 15:34:48.78 Pkt 2004-09-22 00:31:01.16 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0258                                    UTC 2005-10-31 15:34:50.77 Pkt 2004-09-22 00:31:02.02 
APID 373 ICU     pkg=dd evt=65 Window Table Load Okay            0000 0000 0000                                    UTC 2005-10-31 15:35:06.77 Pkt 2004-09-22 00:31:20.24 

The proc ptecr216 was then rerun to reset the table. However, this time the proc atecr216 was run whilst the middle (full detector window) exposure was active. Consequently it should not be necessary to reload any tables.

 
APID 373 ICU     pkg=dc evt=70 DCS Aborting                      0366 0000 0000   pt_to_pt                         UTC 2005-10-31 15:38:47.77 Pkt 2004-09-22 00:35:00.83 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0014 0000 0000   process_slew_warn                UTC 2005-10-31 15:38:47.79 Pkt 2004-09-22 00:35:00.84 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0302 0000 0000   do_slew                          UTC 2005-10-31 15:38:49.77 Pkt 2004-09-22 00:35:01.54 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                 UTC 2005-10-31 15:38:49.78 Pkt 2004-09-22 00:35:02.61 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE            UTC 2005-10-31 15:38:49.78 Pkt 2004-09-22 00:35:02.63 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0001 0000 0000   Cathode                          UTC 2005-10-31 15:38:51.77 Pkt 2004-09-22 00:35:03.17 
APID 38f DPU     Ack/Nack  ID 0x0c0f ACK Stop Mode                                                                 UTC 2005-10-31 15:38:51.78 Pkt 2004-09-22 00:35:03.69 
APID 385 DPU     Mode Cmpl ID 0x0c05 Mode=Idle            SubMode=none             Mode compltn NOT USE            UTC 2005-10-31 15:38:51.78 Pkt 2004-09-22 00:35:03.71 
APID 373 ICU     pkg=5c evt=41 State Transition Complete         0002 0000 0000   SLEW                             UTC 2005-10-31 15:38:51.81 Pkt 2004-09-22 00:35:03.89 
APID 373 ICU     pkg=24 evt=57 FONEXTOBSINFO Processing Stat     8000 0001 0000                                    UTC 2005-10-31 15:38:53.77 Pkt 2004-09-22 00:35:06.10 
APID 373 ICU     pkg=5c evt=58 BATGRBFLUXINFO Proc Stat          0001 0001 0000                                    UTC 2005-10-31 15:38:53.78 Pkt 2004-09-22 00:35:06.39 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0003 0654 0000   MCP23                            UTC 2005-10-31 15:38:55.77 Pkt 2004-09-22 00:35:07.78 
APID 373 ICU     pkg=da evt=15 Already at Requested HV           0002 0262 0000   MCP1                             UTC 2005-10-31 15:38:55.78 Pkt 2004-09-22 00:35:08.47 
APID 373 ICU     pkg=24 evt=53 Automatic State Trans'n Req'd     0323 0002 00aa                                    UTC 2005-10-31 15:38:56.15 Pkt 2004-09-22 00:35:08.76 
APID 373 ICU     pkg=dc evt=78 Switching RTS                     0323 0000 0000   slew_to_settling                 UTC 2005-10-31 15:38:56.16 Pkt 2004-09-22 00:35:08.78 
APID 373 ICU     pkg=40 evt=67 FW at Requested Position          0004 0898 0258                                    UTC 2005-10-31 15:38:56.77 Pkt 2004-09-22 00:35:09.64 
APID 373 ICU     pkg=dd evt=5f Window Table Already Loaded       0000 0000 0000                                    UTC 2005-10-31 15:38:56.77 Pkt 2004-09-22 00:35:09.72 

The 'Window Table Already Loaded' indicates that this is indeed what happened.

-- HowardHuckle - 31 Oct 2005

The fully patched version of the code was retested and the same results obtained.

-- HowardHuckle - 21 Nov 2005


This topic: Main > TWikiUsers > HowardHuckle > SwiftSoftwareToDosRelease12 > MSSLECR216TestingNotes
Topic revision: r6 - 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