!$Revision: B$
!$Date: 2003/11/18 $
!=======================================================================
!
!  NAME: 1_CTI03_131.RTS
!
!  DESCRIPTION: This RTS is used to perform an ACIS CTI measurement after 
!  RADMON is enabled following a radiation event.  The first six commands
!  are used to perform a CTI measurement.  The last three commands are
!  typically issued before entering the radiation belt.  Command 7 (Radiation Monitor Disable)
!  is parameterized to disable the radiation monitor NUM_HOURS after the
!  CTI measurement starts and the Huffman tables are dumped.
!
!  Rev B updates the Load Timed Exposure Block command.
!
!               &NUM_HOURS& gets passed in from the FOT Request and is
!               the time to radiation belt entry.
!
!
!
!  INVOCATION: FOT Request
!
!    RTSLOAD,1_CTI03_131,SCS_NUM=131,NUM_HOURS=ddd:hh:mm:ss
!
!  ARGUMENTS:
!  Name           Type               Description
!  -------------- ------------------ -----------------------------------
!  NUM_HOURS       Relative time      Time between Dump Huffman Tables and radiation belt entry
!
!  EXECUTED BY/WHEN: OC, CC
!
!  AUTHORIZED BY: SI SSE
!
!  CAUTIONS / RESTRICTIONS:
!  NUM_HOURS is a duration between 000:00:01:00 and 000:21:00:00.
!
!  HISTORY
!  Date         Author          Description
!  ------------ --------------- ----------------------------------------
!  06-23-03      R. Logan           Original Version
!                                  (adapted from 1_CTI00_137.RTS)
!  11-18-03      R. Logan           update Load Timed Exposure Block command.
!
!=======================================================================

!========================================================================
! 1.	Video Board Power Down
!========================================================================
ACIS,WSVIDALLDN

!========================================================================
! 2.	ACIS CCD Power-on
!========================================================================
ACIS,WSPOW0CF3F,DELTA=00:00:18.000

!========================================================================
! 3.	Load Timed Exposure Block
!========================================================================
ACIS,WT00216024,DELTA=00:01:03.000

!========================================================================
! 4.	Start Science
!========================================================================
ACIS,XTZ0000005,DELTA=00:00:04.000

!========================================================================
! 5.	Dump System Configuration
!========================================================================
ACIS,RS_0000001,DELTA=00:00:04.000

!========================================================================
! 6.	Dump Huffman Tables
!========================================================================
ACIS,RH_0000001,DELTA=00:00:04.000


!========================================================================
!
!                      ACIS COLLECTS DATA
!
!========================================================================

!========================================================================
! 7.	Radiation Monitor Disable
!========================================================================
/CMD, OORMPDS,DELTA=&NUM_HOURS&

!========================================================================
! 8.	Stop Science
!========================================================================
ACIS,AA_0000000,DELTA=02:38:20.000

!========================================================================
! 9.	Stop Science
!========================================================================
ACIS,AA_0000000,DELTA=00:00:10.000

!========================================================================
! 10.	Video Board Power Down
!========================================================================
ACIS,WSVIDALLDN,DELTA=00:00:04.000

!========================================================================
! 11.	Dump System Configuration
!========================================================================
ACIS,RS_0000001,DELTA=00:00:04.000

!========================================================================
! End of RTS
!========================================================================

