v977 create name ?option value...?
v977 config name option value?..?
v977 cget name ?option?
Supplied support for the CAEN v977 I/O register and coincidence module. The most common use of this module is to record a trigger pattern for the event. When configuring this module, refer to the V977 manual.
-base vme-addressProvides the base addres for the module that was confiugred in its rotary switches. Note that CAEN modules are notorious for ordering their rotary switches differently from model to model. Be sure to refer to figure 4.1 of the V977 manual.
-inputmask channel-maskSets the channel mask register value. Inputs which are masked will never have their bits set when read. The least significant bit is the mask bit for input 0 and so on. The default value is 0 unmasking all channels.
-readmode singlehit | multihitDetermines if the single hit or multihit regsitsers are read. The default singlehit reads the single hit register. multihit reads the multihit register.
-readandclear enabled | disabledIf enabled (the default) the registesr is atomically read and cleared. If not, the electronics is responsible for clearing the register somewhen.
-pattern enabled | disabled
If enabled the module works as a multihit pattern register.
Normally this shouild be paired with -readmode multihit.
-gate enabled | disabledIf enabled, the module operates in gated mode (the default) and inputs are only transferred when the gate is pulsed.
-ormask on | offWhen off (the default), the OR output on the module is asserted whenever there are input bits. If on, the OR output is 'masked' and will never be asserted.