esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

LeCroy1151.mac
See other macros in category: Detection Counting
Description:
    LeCroy1151.mac
Documentation:
    DESCRIPTION
    Use this macro set to control a LeCroy 1151 counter card by the use of macro counters.
    For the internals:

    the channels are cleared before starting the counter; signal "prestart_all".
    all channels are read only once at the signal "halt_all".
    then each channel receives its value, signal "counts".

    SETUP
    The macro set needs the vmeds.mac file.

    In the config editor:
    create a scaler controller like follows:
    YES L1151 IDXX/L1151/0 16 Macro Counter
    then create up to 16 counters:
    12 L1151_1 L1151_1 MAC_CNT 0 0(to15) counter 1

    DEPENDENCIES
    vmeds.mac must already be read in.

Macros:
Internal Macros:
    L1151_config
    Usage: L1151_config(mne,type,unit,mod,chan)


    L1151_cmd
    Usage: L1151_cmd(mne, cmd, p1, p2, unit)


Filename: LeCroy1151.mac
Author: BLISS - ESRF, H. Witsch $Revision: 1.5 $, $Date: 2008/07/17 15:13:08 $
Last mod.: 17/07/2008 17:13 by rey