esrf

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

opiomtools.mac
See other macros in category: All
Description:
Documentation:
    DESCRIPTION
    Utility macro to generate gate/pulses/counter with default opiom prog.

Macros:
    opiom_gate_on
    Usage: opiom_gate_on [output] ([delay (ms)])
    Activate gate on "ct" for specified output
    Several gates might be configured

    opiom_gate_off
    Usage: opiom_gate_off
    Unconfigure all gates

    opiom_gate_show
    Usage: opiom_gate_show
    Show list of output configured as gate on ct

    opiom_gate
    Usage: opiom_gate [output] [delay (ms)] [width (ms)]
    Generates a gate on specified output. No start is needed : gate is generated on macro execution.

    opiom_pulse
    Usage: opiom_pulse [output] [delay (ms)] [width (ms)] [nb_pulse]
    Generate pulse(s) on specified output. To really start pulses generation, opiom_start has to be executed. Multiple output can be configured with different settings and all can be started with opiom_start

    opiom_start
    Usage: opiom_start [list_of_output]
    Start generating specified output(s). They need to be configured with opiom_pulse.

    opiom_stop
    Usage: opiom_stop [list_of_output]
    Stop all output

    opiom_counter
    Usage: opiom_counter [input] [counter]
    Configure a counter (1 to 4) on specified input (1 to 8)

    opiom_getval
    Usage: opiom_getval
    Get values of previously configured counters

Internal Macros:
    opiom_pulse_on
    Usage: opiom_pulse_on


    opiom_pulse_off
    Usage: opiom_pulse_off


    _opiom_pulse_precount
    Usage: _opiom_pulse_precount


    _opiom_pulse_runcount
    Usage: _opiom_pulse_runcount


    _opiom_gate_precount
    Usage: _opiom_gate_precount


    _opiom_gate_runcount
    Usage: _opiom_gate_runcount


    _opiom_pulse
    Usage: _opiom_pulse(output, delay, width, nbpulse)


    _opiom_start
    Usage: _opiom_start(npar, pars)


    _opiom_stop
    Usage: _opiom_stop(npar, pars)


    _opiom_chan_comm
    Usage: _opiom_chan_comm(cmd, npar, pars)


    _opiom_counter
    Usage: _opiom_counter(ichan, cnt)


    _opiom_getval
    Usage: _opiom_getval(icnt)


Filename: opiomtools.mac
Author: E.Papillon, $Revision: 1.2 $, $Date: 2016/06/15 08:34:36 $
Last mod.: 15/06/2016 10:34 by guilloud