XLMTimestamp

Name

XLMTimestamp -- control an XLM running 64-bit latching scaler firmware

Synopsis

XLMTimestamp create name base

XLMTimestamp config name option value ...

XLMTimestamp cget name

DESCRIPTION

The XLMTimestamp module is a driver to control an JTech XLM running a 64-bit latching scaler firmware. It is intended to be used specifically with the stamp64.bit firmware written by Daniel Bazin at the NSCL.

During initialization, the firmware is loaded and all scalers are cleared.

At the end of the run, no actions are taken.

During stack execution initiated by an event trigger, the 64-bits of scaler are read out in two 32-bit chunks. The lower 32-bits are read first and the upper 32-bits are read second.

OPTIONS

-base value

Specifies the base address of the module. See the manual on how to address the XLM. When the module is using geographic addressing, the slot number is shifted left by 27 bits (i.e. slot 10 produces a base address of 0x50000000).

-firmware path

The path to the stamp64.bit firmware file.

EXAMPLES

Example 1. Simple setup of a single timestamp module


          xlmtstamp create tstamp -base [expr 10 << 27]
          xlmtstamp config tstamp -firmware /user/s800/server/fpga/stamp64.bit
         

Sets up an XLM in slot 10 to run the stamp64.bit firmware.