esrf

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

WAGOAUX.MAC
See other macros in category: All
Description:
    %B%wagoaux.mac%B% - Auxilary macros to change gains and calibrate wago counters.
Documentation:
    DESCRIPTION
    B% - The counters are read from a Wago ADC, using the WagoCt device server. They are configured in SPEC as VCT6 counters only, with factor of 1000. The gains (if any) are connected to WAGO relay modules and are controlled using the same WagoCt device servers.

    DEPENDENCIES

    $Revision: 1.1 $ $Date: 2008/12/10 13:05:13 $

Macros:
    wagoaux_setup
    Usage: wagoaux_setup [ctmne gain_factor scale_factor offset]


    wcgain
    Usage: wcgain [ctmne value]
    Sets a gain for a counter or show all gains if no parameter is given

Internal Macros:
    wcsetgain
    Usage: wcsetgain(ctmne, gain)


    wcreadgain
    Usage: wcreadgain(ctmne)


    wc_photon_scale
    Usage: wc_photon_scale(ctmne,ctval)


    wcshowgain
    Usage: wcshowgain ()
    show all current gain values.

Filename: wagoaux.mac
Author: A.Beteva
Last mod.: 10/12/2008 14:05 by beteva