esrf

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

ADC.MAC
See other macros in category: Generic I/O
Description:
    Macros to work with an ADAS ICV150 from spec
Documentation:
    DESCRIPTION
    This macro updates the old adc.mac macros. The macros improves the setup macros from the old file and substitutes the old adcsetup with adcadd and new syntax It deletes obsolete macros and the implementation become simpler.

    EXAMPLE
    adcadd id3/icvadc/1 ad11,ad12,ad13
    It configures the device id3/icvadc/1 and links it to counters ad11,ad12 and ad13. Channel assignment and scale must be done in config for those counters


    DEPENDENCIES


Macros:
    adcadd
    Usage: adcadd


    adcon
    Usage: adcon
    Activates the counting on ADCs

    adcoff
    Usage: adcoff
    Disable counting on ADCs

    adcgain
    Usage: adcgain cnt gain


    adcshow
    Usage: adcshow
    Shows current configuration and state of ADCs

    adcbody
    Usage: adcbody(mode)


Internal Macros:
    adcblon
    Usage: adcblon()


    adcunsetup
    Usage: adcunsetup


    adcprecount
    Usage: adcprecount
    Resets all variables to zero.

    adcgetcounts
    Usage: adcgetcounts
    Do the reading.

Filename: nadc.mac
Author: V.Rey (BLISS/ESRF) Jan.99
Last mod.: 12/08/2008 16:43 by rey