esrf

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

cls.mac
See other macros in category:
Description:
    CLS
Documentation:
    DESCRIPTION
    Cold Light Source controller. This macro set allows to control CLS device trough the CLS PyTango device server. You need a recent Spec version allowing *tango_io* functions.

    EXAMPLE
    XXXsetup


    SETUP
    cls_setup id22/cls/1
    $Log: cls.mac,v $ Revision 1.6 2011/11/21 12:50:07 guilloud *fixed bug "d" *fixed bug : "()" for user stub Revision 1.4 2011/11/08 09:51:33 guilloud *use spec_utils *tub to hook user macros in cls_on : cls_on_user *_cls_state() Revision 1.3 2009/05/20 13:30:48 guilloud quote in cls_print... Revision 1.2 2009/04/15 08:53:01 guilloud *debug mode *debug message print function $Revision: 1.6 $ $Date: 2011/11/21 12:50:07 $ $Source: /segfs/bliss/source/spec/macros/RCS/cls.mac,v $ need spec_utils maybe CLS_PAR["sleep"] can be reduced ???

    DEPENDENCIES


Macros:
    cls_setup
    Usage: cls_setup <device_name>


    cls_debug
    Usage: cls_debug
    Switches the debug mode on/off.

    cls_print
    Usage: cls_print
    Debug print.

    cls_unsetup
    Usage: cls_unsetup


    cls_on
    Usage: cls_on


    cls_off
    Usage: cls_off


    cls_state
    Usage: cls_state


    cls_inc
    Usage: cls_inc [parma]


    cls_dec
    Usage: cls_dec [parma]


    cls_set
    Usage: cls_set [parma]


Internal Macros:
    _cls_state
    Usage: _cls_state ()
    returns "ON" / "OFF"

Filename: cls.mac
Author: Cyril Guilloud fev.2009
Last mod.: 21/11/2011 13:50 by guilloud