The procedure WriteBBID writes to the environment (via DEC/MEC) the Building Block identification communicated by CUS (named variable $BBID). For information, the BBID is composed of three fields:

Instrument(2 bits)||BlockNumber(14 bits)||Activation counter(16 bits)

Where Instrument:

Input variables:

procedure WriteBBID {
    int iBBID = 0x40000000; // Building Block ID

Herschel: PACS/CUSPVscripts/WriteBBID (last edited 2009-07-15 14:32:37 by localhost)