[Halld-online] Slot header word format

Fernando J Barbosa barbosa at jlab.org
Wed Nov 7 23:57:22 EST 2012


Hi Elliott,

Although not relevant for the actual data taking, there will be 
instances when it will be necessary to get the serial number from each 
module. This feature will be useful for house-keeping, maintenance, 
database verification, etc. Bryan is finalizing his software for full 
crate tests which also retrieves the serial numbers from installed 
modules and populates the "database". If you are interested in this 
feature, please check with Bryan for more details.

Best regards,
Fernando


On 11/7/2012 5:36 PM, Elliott Wolin wrote:
> Hi,
>
> Someone asked about the slot header word format so here it is.  Note
> that the module type is stored using 4 bits.  Currently I use 16 bits to
> store the number of hit words to follow.  If needed some of these bits
> could be used to store something else:
>
>                *iter3=0xe0000000;                    // 5 bits slot header
>                 (*iter3)|=(slot&0x1f)<<22;         // 5 bits slot number
>                 (*iter3)|=(type&0xf)<<18;         // 4 bits of module type
>                 (*iter3)|=nhitwords&0xffff;        // 16 bits hit count
> (could be smaller)
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: barbosa.vcf
Type: text/x-vcard
Size: 265 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/halld-online/attachments/20121107/0ef23745/attachment.vcf 


More information about the Halld-online mailing list