esrf

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

SPECGUI.MAC
See other macros in category: All
Description:
    Interfacing of %B%spec%B% with the graphic user interface
Documentation:
    OVERVIEW


    EXAMPLE
    XstartGUI
    Initializes spec values in the GUI if it runs.
    spipe openclosepanel mypanel open
    Sends to the GUI the command to open the panel called `mypanel'.
    Xval("ShutterState", "open")
    Sets the value `ShutterState' in the GUI to `open'.
    Xmval();Xmval("Sample", "SiO2");Xmval("Spos", "UP");Xmval()
    Sets the values `Sample' and `Spos' in the GUI to `SiO2' and `UP' respectively.


    SETUP


Macros:
Internal Macros:
    spipe
    Usage: spipe <GUIcommand> [<param1> <param2> ....] ...


    bpipe
    Usage: bpipe [<GUIcommand> [<param1> <param2> ....]] ...


    epipe
    Usage: epipe


    Xmess
    Usage: Xmess(str, mode)


    Xval
    Usage: Xval(name, value)


    Xmval
    Usage: Xmval(name, value)


    Xmconfig
    Usage: Xmconfig


    Xcconfig
    Usage: Xcconfig


    Xfconfig
    Usage: Xfconfig
    ---- create a new data file and set the last scan num

    Xwa
    Usage: Xwa
    -------- Prints the motor positions to the pipe

    Xlm
    Usage: Xlm


    Xsetdial
    Usage: Xsetdial


    Xset
    Usage: Xset


    Xmva
    Usage: Xmva
    ------- Move motors macro (Xmv,Xmvr.......) -----

    Xmvr
    Usage: Xmvr


    XmMoveFinished
    Usage: XmMoveFinished


    XmFinishedTest
    Usage: XmFinishedTest


    Xprompt_mac
    Usage: Xprompt_mac


    Xsetcounter
    Usage: Xsetcounter
    ----- counter

    XGet_counts
    Usage: XGet_counts


    X_update1
    Usage: X_update1
    Fast hack to get moving in real time

    XPreparescan
    Usage: XPreparescan


    XScanpoint
    Usage: XScanpoint


    XEndscan
    Usage: XEndscan


    Xascan
    Usage: Xascan


    Xa2scan
    Usage: Xa2scan


    Xsetplot
    Usage: Xsetplot
    ---- set the plot flags $1=MODE, $2=bg_pts, $3=GTERM, $4=splot_col

    Xnewfile
    Usage: Xnewfile


    Xchg_dial
    Usage: Xchg_dial


    X_config
    Usage: X_config


    Xmca_key
    Usage: Xmca_key


    input_Xclean
    Usage: input_Xclean(line)


    XupdateGUI
    Usage: XupdateGUI
    this is my macros for test

    XstartGUI
    Usage: XstartGUI


Filename: specgui.mac
Author: $Revision: 3.0 $ / $Date: 1999/03/17 10:12:27 $
Last mod.: 08/09/2004 14:09 by rey