esrf

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

EBPM.MAC
See other macros in category: All
Description:
    EBPM.MAC - Macros for reading the machine electron BPM's
Documentation:
    OVERVIEW
    This macro set allows to read the information provided by the electron BPM's installed in the machine.
    All position and angles can be loaded in spec pseudocounters.
    An interactive macro efbpm can be used to read, display and save the spectral distribution of the beam position and angle provided by the machine eBPM's.


    EXAMPLE
    ebpmsetup id3 x=hp x'=hang z=vp
    Configures three spec counters to be loaded with different values from the eBPM's in section 3. Counters \"hp\" and \"hang\" will be loaded with the horizontal position and angle respectively from the slow BPM's. Counter \"vp\" will take its value from the vertical position provide by the eBPMs.
    efbpm id30
    Starts an interactive macro to display and save the frequency spectrum of the fast electron beam position in the straight section 30.


    SETUP
    The ebpmsetup macro must be included in the setup file to declare the apropriate pseudocounters.
    The efbpm macro requires an instance of the SpecfitServer module running in the same computer
    The SpecfitServer device must be define in the setup file using the macro specfit_define
    ex: specfit_define //gwenn/id24/specfit/bpm.
    and has to be set at tcp mode
    ex: taco_io("//gwenn/id24/specfit/bpm","tcp")

Macros:
    ebpmsetup
    Usage: ebpmsetup <idname> [<signal>=<mnemonic> ...]
    Declares pseudocounters associates to the eBPM's corresponding to idname. The available signals are:
    • x- Horizontal position from the eBPM
    • x'- Horizontal angle from the eBPM
    • z- Vertical position from the eBPM
    • z'- Vertical angle from the eBPM


    efbpm
    Usage: efbpm [<idname>]
    Starts the interactive macro to display and save the time or frequency records from the fast eBPM's.

Internal Macros:
    _ebpmsetup
    Usage: _ebpmsetup(args)


    ebpm_addgetcounts
    Usage: ebpm_addgetcounts(idname, auxlist1)


    ebpmunsetup
    Usage: ebpmunsetup


    efbpm_update
    Usage: efbpm_update(idname)


    efbpm_getgetbuff
    Usage: efbpm_getgetbuff(idname, commd, data)


    efbpm_getdata
    Usage: efbpm_getdata(idname)


    efbpm_filter
    Usage: efbpm_filter(idname)


    efbpm_reset_filter
    Usage: efbpm_reset_filter


    efbpm_doFFT
    Usage: efbpm_doFFT()


    efbpm_getcounts
    Usage: efbpm_getcounts(idname, x, z, xp, zp)


    ebpm_getcounts
    Usage: ebpm_getcounts(idname, x, z, xp, zp)


    efbpm_head
    Usage: efbpm_head


    efbpm_tail
    Usage: efbpm_tail


    efbpm_save
    Usage: efbpm_save(idname)


    efbpm_pcols
    Usage: efbpm_pcols(idname)


    efbpm_plot
    Usage: efbpm_plot(idname)


    efbpm_setdefault
    Usage: efbpm_setdefault(idname)


    efbpm_main
    Usage: efbpm_main(idname, options)


    efbpm_shcomm
    Usage: efbpm_shcomm(comm, descr)


    efbpm___process
    Usage: efbpm___process(idname, line)


    efbpm___prompt
    Usage: efbpm___prompt


Filename: ebpm.mac
Author: P.Fajardo, (Original 10/04). $Revision: 1.9 $ / $Date: 2019/10/10 08:04:53 $
Last mod.: 10/10/2019 10:05 by ohlsson