esrf

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

CaenV560.mac
See other macros in category: Detection Counting
Description:
    Macro to control a CAEN V560 counter card, with macro counters and vmeds
Documentation:
    DESCRIPTION
    Use this macro set to control a Caen V560 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          V560  IDXX/V560/0      16                     Macro Counter
    then create up to 16 counters:
     12      V560_1    V560_1   MAC_CNT     0     0(to15)    counter         1

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


    V560_cmd
    Usage: V560_cmd(mne, cmd, p1, p2, p3)


Filename: CaenV560.mac
Author:
Last mod.: 02/12/2009 17:31 by witsch