Table of Contents
Previous Chapter Chapter 16: Fanout
This record is used to trigger the processing of up to six other records. It has no associated device support.
--------------------------------------------------------------
Field Type DCT Initial Access Modify Rec Proc PP
Monitor
--------------------------------------------------------------
VAL LONG No 0 Yes Yes No Yes
SELM RECCHOICE Yes 0 Yes Yes No No
SELN USHORT No 1 Yes Yes No No
SELL INLINK Yes 0 No No N/A No
LNK1 FWDLINK Yes 0 No No N/A No
LNK2 FWDLINK Yes 0 No No N/A No
LNK3 FWDLINK Yes 0 No No N/A No
LNK4 FWDLINK Yes 0 No No N/A No
LNK5 FWDLINK Yes 0 No No N/A No
LNK6 FWDLINK Yes 0 No No N/A No
--------------------------------------------------------------
--------------------------------------------------------------------------------------------
Name Summary Description
--------------------------------------------------------------------------------------------
VAL Value Field This field exits only because every record type must have
a VAL field so that dNameToAddr succeeds when a field
name is not specified.
SELM Select Mechanism: SELECT_ALL: Select all links
SELECTED: Use SELN as index (1 to 6)
MASK: Use SELN as a mask to select an arbitrary
combination of links.
SELN Link Selection If SELM=SELECT_ALL then this field is not used.
If SELM=SELECTED then this is the index (1 to 6) of the
link to select.
If SELM=MASK then this is the mask (in decimal) used to
determine the selected links. For example, if SELN=1,
then LNK1 will be processed. If SELN=3 then LNK1 and
LNK2 will be processed. If SELN=63 then all links LNK1,
LNK2, ... LNK6 will be processed.
SELL Link Selection SELN is read from SELL. SELL can be a constant, a
Location database link, or a channel access link.
LNK1,...,LNK6 Link Selection Link selection forward links are always processed in
Forward Links numeric order. That is LNK1 is always processed before
LNK2, LNK2 before LNK3, etc.
--------------------------------------------------------------------------------------------
init_record
This routine initializes SELN with the value of SELL, if SELL type is CONSTANT link, or creates a channel access link if SELL type is PV_LINK.
process
See next section.
Routine process implements the following algorithm:
- PACT is set to TRUE.
- The link selection SELN is fetched.
- Depending on the selection mechanism, the link selection forward links are processed. and UDF is set to FALSE.
- Check to see if monitors should be invoked.
- Alarm monitors are invoked if the alarm status or severity has changed.
- NSEV and NSTA are reset to 0.
- Scan forward link if necessary, set PACT FALSE, and return.
Table of Contents
Next Chapter