Go to the bottom.
!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name: WSISTATE_SEQ.SDDL
!
! Purpose: This SDDL file defines the WSISTATE_SEQ relation.
!
! Modification History:
!
! Date OPR Who Reason
! -------- ------- --- -------------------------------------------------
! 10/ 4/94 27329 NSS Original implementation
! 11/29/95 30445 NLC Duplicate type SI_STATE_TYPE; rename to
! SI_CONFIG_STATE_TYPE
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!
LANGUAGE FORTRAN, SQL
INCLUDE ZSPSS_USER_TYPES.SDDL
RECORD SISEQ_TYPE
!------------------------------------------------------------------------------
!
! RECORD INFORMATION
!
!------------------------------------------------------------------------------
DESCRIPTION "This relation is used to define Science Instrument (SI)
and SI Detector state transition sequences. A sequence
is a collection of state transitions, with a specific
upward or downward ordering.
For example, suppose that there is an SI on board
the HST. There are 3 modes for this instrument: HOLD,
WARM, and CAPTURE. A typical user will want to operate
the SI in the CAPTURE mode while observing a target.
At a minimum, the SI must transition thru the WARM
mode prior to transitioning up to the CAPTURE mode.
Thus, a sequence is needed to define how the SI cycles
from the HOLD state to the CAPTURE state. Given that
entries have been defined for the individual HOLD<->WARM
and WARM<->CAPTURE transitions, entries within this
relation can be defined to describe these sequences.
For the upward sequence from HOLD to CAPTURE, there would
be 2 entries:
o the HOLD->WARM transition would be position 1 within
this upward sequence
o the WARM->CAPTURE transition would be position 2
within this upward sequence
For the downward sequence from CAPTURE to HOLD, there
would be 2 entries:
o the CAPTURE->WARM transition would be position 1
within this downward sequence
o the WARM->HOLD transition would be position 2
within this downward sequence"
!------------------------------------------------------------------------------
!
! FIELD INFORMATION
!
!------------------------------------------------------------------------------
FIELD si_name
TYPE SI_ID_TYPE
END_FIELD
FIELD si_det_name
TYPE SI_DETECTOR_TYPE
DESCRIPTION "This field is blank for an SI sequence."
END_FIELD
FIELD sequence_id
TYPE C8
DESCRIPTION "This field is the ID uniquely identifying the
transition sequence being defined."
END_FIELD
FIELD state_name
TYPE SI_CONFIG_STATE_TYPE
DESCRIPTION "This field is the state name that is defined as a
position (or step) within a sequence."
END_FIELD
FIELD sequence_pos
TYPE I2
DESCRIPTION "This field is the relative position of this state in
the transition sequence. This value should reflect
the order in which this state appears in the sequence.
Thus for an upward sequence, a lower state must
precede a higher state in the sequence order, and
vice versa for a downward sequence"
END_FIELD
FIELD trans_type
TYPE C1
DESCRIPTION "This field is a flag indicating whether this sequence
is an upward, a downward sequence type, or both. If
set to both, then the sequence definition is for an
upward transition, with the definition for the
reverse downward sequence implied. The entire
transition sequence must be strictly upward, or
strictly downward."
DISCRETE "U", "D", "B"
END_FIELD
END_RECORD
!------------------------------------------------------------------------------
!
! RELATION DECLARATION
!
!------------------------------------------------------------------------------
RELATION wsistate_seq
TYPE SISEQ_TYPE
DESCRIPTION "SI and Detector State Transition Sequence Relation"
SUBSYSTEM_USING "SPSS", "IM", "SCIOPSDB", "CCLIST"
RELATED_FIELDS "wsidata_def.*" "wsistate_def.*" "wsistate_tra.*"
INDEX wsistate_seq_1
TYPE unique, clustered
FIELDS si_name, si_det_name, sequence_id, trans_type, state_name
END_INDEX
INDEX wsistate_seq_2
TYPE unique, nonclustered
FIELDS si_name, si_det_name, sequence_id, trans_type, sequence_pos
END_INDEX
END_RELATION
!------------------------------------------------------------------------------
!
! INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
INSTANCE wsistate_seq
GLOBAL
TYPE SISEQ_TYPE
END_INSTANCE
Go to the top.