caenv830

Name

caenv830 -- CAEN V830 scaler support

Synopsis

module create name caenv830 ?options...?

name config ?options...?

name cget ?pattern?

name help

DESCRIPTION

This module type provides support for the CAEN V830 32 channel scaler module. Since this is a scripted modue type it supports all of the subcommands described in the module subcommands manpage.

OPTIONS

base base-address

Provides the VME base address of the module. This must match the base address in the rotary switches on the module. Note that this value should be the full 32-bit address not just the value of the four rotary switches.

slot geo-address

The scaler output can include a header with a programmable virtual slot number. The value of geo-address an dinteger between 0 and 255 is used for the geographical address.

crate crate-num

The number of the VME crate in which the scaler lives. This defaults to 0 which is suitable for a systsem with only one VME crate.

geo boolean

If true, the default, geographical addressing is used to initialize the module. If false the base address is used. Note that for geographical addressing to be used, it is necessary for the module to have a middle VME connector and for the VME crate to have a similar CERN VME rev.C middle connector as well, as that supplies the slot number to the module.

Originally this combination of VME crate and module were quite common, now mch less so. It is therefore recommended to set this parameter to false.

enables list-of-32-ints

Provides a list of channel enables. This must be a valid Tcl list containing exactly 32 elements. Channels for which elements are non-zero are enabled, channels for which elements are 0 are disabled. The default value is a list of 32 1 values which enables all channels.

trigger selector

Determines the trigger mode. This is an encode value which is one of the following

  • 0 trigger is disabled

  • 1 trigger is random (due to VME or external inputs)

  • 2 Trigger is periodic.

In most cases you should use the default value 1 which selects random trigger mode.

wide boolean

When this option is true the data are read in the 32 bit mode shown in figure 3.2 of the V8320 manual. When false the data are read in the 26 bit scaler format shown in figure 3.3 of the same manual.

The recomended value for this parameter is true.

header boolean

If true, which is the default a header describe in section 3.2 figure 3.1 of the V830 manual will be read. If false the header is suppressed.

autoreset boolean

If true, the default, the module is initialized so that a latch of the scaler value also clears the counters. This is suitable for use as an incremental scaler.

If false scaler channels are not reset on a latch. This provides support for non-incremental scalers.

fpclearmeb boolean

If true the front panel input can clear the scaler counts. If false, the default, the front panel signal will not clear the scaler counters.

manualclear boolean

If true after reading a software clear is performed on the module. If false, which is the default, this is not performed.

The recommended way to get incremental behavior is to set autoreset to true rather than using this method.

packetize boolean

If true wrap the data from the digitizer in an NSCL packet consisting of a word count and an id value. If false, the default, no such wrapping is performed.

id integer

Provides the value of the id field of the packet header when packetize is true.

vmetrigger boolean

If true a VME trigger is performed prior to readout. If false, the default, this is not performed. If you are using this scaler to provide periodic scaler data this should be true as you want the readout timer to initiate the trigger.