v830

Name

v830 -- Support the CAEN V830 latching scaler

Synopsis


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

DESCRIPTION

The v830 configuration script command provides support to read the CAEN V830 32 channel scaler. Normally, this module is used in the scaler stack to provie online scaler displays. It can be used in other applications.

OPTIONS

-base vme-address

Base address of the module in VME a32 space.

-channels enable-mask

A mask with bits set to enable specific channels to count. If not configured, the value programmed is 0xffffffff which enables all channels. The least significatn bit enables channel 0 while the most significatn bit enables channel 31.

-dwelltime time-400ns-steps

If the module's -trigger is set to periodic, this value is the number of 400ns units betwee triggers. This is not normally used by FRIB/NSCLDAQ users. If not configured, the value is 0. Note that the dwell time must be programmed to be at least as long as the readout time if used.

-header enable | disable

If enabled, in addition to the scaler channels being read, an identifying header is also read. If not configured, this is disabled.

-trigger vme | periodic | random

Determines how the module is triggered to save latched scalers in its multi-event buffer (MEB). If not configured, vme is the default and the trigger is an explicit trigger over the VME Bus. This is normal. If periodic, the module self triggers periodically as determined by the -dwelltime. If random, the module's external trigger is used to trigger the module. If used in the event stack, this is the more usual trigger.

-wide true | false

The module is capable of running either as 32 x 32bit scalers (wide mode) or 32 x 26 bit scalers (narrow mode). If -wide is true, the module is 32 x 32 bit scalers. If not configured, this is the default. In 26 bit mode, the most significant 5 bits of each scaler contain the channel number. Normal FRIB use is -wide configured as true.

-autoreset enable | disable

When enabled, the scalers are cleared when read. This is the default if not explicitly configured.

-geo

The geographical address to place in the header (if -header is enabled). Note that for this to be programmed, the backplane and module must not have the CERN backplane extentions and -setgeo must be true.

Normally the geo is not used becuase in most FRIB applications, the -header is disabled.

-setgeo true | false

This allows the code to program the geographical address register. This shouild only be true if the backplane and module do not have the CERN extensions.

-ipl 0-7

If this is non-zero, the module will interrupt when trigered and buffering at least -highwatermark triggers in its MEB. Note that this should also be used with the -vector option to set the interrupt vector. This is not normally used in the FRIB. One potential use could be to drive an interrupt triggered stack. If not configured, the value defaults to 0 which disables interrupts.

-vector 0-255

If the module is being used in interrupt mode, this option provides the value of the interrupt status/id (vector). This defaults to 0 if not configured.

-highwatermark integer

The scaler has a multi-event buffer that can hold up to 32K words of data. When used in interrupt mode, the module will interrupt when the MEB has at least -highwatermakr words in it.