caenchain

Name

caenchain -- Bulk readout of adc modules in a chain.

Synopsis


caenchain create name ?option value ...?
caenchain config  name option value ?...?
caenchain cget  name ?option?
        

DESCRIPTION

The CAEN V785, V775, V792 modules can be readout in bulk via a chainblock transfer. The manner in which this is done, requires the modules be in a contiguous set of slots. A small amount of readout overhead is eliminated doing this which can result in marginally smaller dead-times. When using chain block transfer, adc modules are created and configured and then a caenchain is created and configured and the modules in the chain are configured via the -modules option. The caenchain module is then put into the stack rather than the individual modules. See EXAMPLE below for a sketch of how this is done. Chains must have at least two modules.

OPTIONS

-base vme-address

This provides the chain block transfer address that will be used. The chain module will take care of programming this in all of the modules in the chain. This should not be the address of any other module in the crate.

-modules list-of-adcs

This is a list of the names of modules created with adc. The module list has some ordering requirements. Specifically the module in the lowest numbered slot must be first and the one in the highest numbered slot must be last. Other than that, the modules can be ordered in any way that is convenient, though we recommend they be in slot number order. This ordering is required because the first and last modules in the chain require special programming.

EXAMPLE

This section provides an example that shows how to set up a caen chain.


adc create left -base 0x01000000
adc create middle -base 0x02000000
adc create right -base 0x03000000

caenchain chain -base 0x80000000 -modules [list left middle right]

stack create event -trigger nim1 -modules [list chain]