esrf

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

See other macros in category: All
Description:
    wagoct.mac
Documentation:
    DESCRIPTION
    Macros to use pseudocounters on wago adc

Macros:
    wcton
    Usage: wcton [type dev-name ctmne [gainfactor] or wcname wcchan]
    type 1=Novelec (devname ctmne [gainfactor]), type 2=Thermo (dev-name ctmne wcname wcchan), type 3=Counter Only. Adds a wago counter definition

    wctoff
    Usage: wctoff devname ctmne
    Deletes a wago counter definition

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

    wcadjall
    Usage: wcadjall
    Adjust the gains automatically for all the novelec type counters.

    wcadj
    Usage: wcadj ctmne
    Automatically adjusts gain for a counter

Internal Macros:
    _wcadj
    Usage: _wcadj( name )


    wcshowgain
    Usage: wcshowgain ()
    call internally to show all current gain values

    _wcistaco
    Usage: _wcistaco (devname)
    Return non null if TACO device name

    wcreadgain
    Usage: wcreadgain( ctmne )
    call internally to obtain current gain setting

    wcreadct
    Usage: wcreadct( dev, ctmne, name, chan)
    call by internal counting macros to obtain counter value it assigns the S matrix and it also returns the value obtain

    wc_photon_scale
    Usage: wc_photon_scale(ctmne,ctval)


    _wccorr
    Usage: _wccorr(name,ctval)


    _wcreadthermo
    Usage: _wcreadthermo(dev, name, wcchan)


    _wcreadnovel
    Usage: _wcreadnovel(dev,name)


    wcsetgain
    Usage: wcsetgain( dev, name, val )
    call internally to set a certain gain value

Filename: wagoct.mac
Author: V. Rey
Last mod.: 28/08/2018 11:19 by perez