esrf

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

can2016.mac
See other macros in category: Detection MCA
Description:
    Macros to control a TCA Canberra 2016
Documentation:
    DESCRIPTION
    Simple macros to control the TCA Canberra 2016. Use "can2016menu" to set the parameters, "can2016status" to see them and "can2016init" to put them to some default values.

Macros:
    can2016setup
    Usage: can2016setup <address>
    Sets up a canberra 2016 tca on ICB address <address>. The MCA device name is taken as unit 0 from SPEC

    can2016init
    Usage: can2016init
    activate all sca outputs and gate adc with sca3

    can2016gateselect
    Usage: can2016gateselect (gate1, gate2, gate3)
    set or unset all sca gate for mca

    can2016gatesel
    Usage: can2016gatesel (gate, val)
    set or unset sca gate for mca

    can2016scashow
    Usage: can2016scashow
    show low and high threshold for sca

    can2016scaset
    Usage: can2016scaset (sca, low, high)
    set low and high threshold for sca

    can2016scavalidate
    Usage: can2016scavalidate (val)
    validate or not all sca outputs

    can2016tcaset
    Usage: can2016tcaset (val)
    validate or not tca mode

    icb_read
    Usage: icb_read (device, addr, reg)
    Read register <reg> from ICB device address <addr> on MCA device <device>

    icb_write
    Usage: icb_write (device, addr, reg)
    Put value <value> into register <reg> on ICB device on address <addr> on MCA device <device>

Internal Macros:
Filename: can2016.mac
Author: GB
Last mod.: 18/02/2008 10:47 by rey