esrf

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

v560.mac $Revision: 1.1 $
See other macros in category: All
Description:
    v560.mac
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

    DEPENDENCIES
    vmeds.mac has to be read in.

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


    v560_cmd
    Usage: v560_cmd(mne, cmd, p1, p2)


Filename: v560.mac
Author: BLISS - ESRF, V. Rey, H. Witsch $Revision: 1.1 $, $Date: 2007/02/08 16:23:09 $
Last mod.: 08/02/2007 17:23 by witsch