esrf

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

See other macros in category: All
Description:
    PCAPCSPEC.MAC
Documentation:
    DESCRIPTION
    This file contains all macros for communication between PC and SPEC Last Modifications :

    18/11/98 (MP) Fix error: user_precount() -> user_prepcount()
    09/11/98 (MP) Suppress erasing screen when not in interactive mode
    08/13/98 (Denis Gautherot) Initial Revision

Macros:
    pcasetup
    Usage: pcasetup
    This macro do all the configuration

    pcareceive
    Usage: pcareceive()
    This macro wait for a message from the PC, and returns it or ERROR if no message from PC.

    pcaflush
    Usage: pcaflush
    This macro flush the buffer of the Device Server.

    pcastop
    Usage: pcastop
    This macro tell the PC to stop what he is doing.

    pcastart
    Usage: pcastart
    This macro sends to the PC a message which contains the position of the motor used for the scan, in order to make the PC begin calcs. It is called when ascan command is entered.

    pcastatus
    Usage: pcastatus()
    This macro returns 1 if the PC is ready, 0 otherwise. It is called when ascan command is entered.

    pcaread
    Usage: pcaread
    This macro fill the counters used for displaying Ypos, Zpos and Luminosity. It is called when ascan command is entered.

    pcagetcorrection
    Usage: pcagetcorrection
    This macro get the suggested correction from the PC and asks the user if he wants to apply it.

    pcashow
    Usage: pcashow
    This macro shows the current configuration.

Internal Macros:
    pcaunsetup
    Usage: pcaunsetup


    pcasend
    Usage: pcasend (<message>)
    This macro sends a message to the PC

    pcaon
    Usage: pcaon


    pcaoff
    Usage: pcaoff


    pcaNewMotorXY
    Usage: pcaNewMotorXY(Xstr, Ystr, AskStr)


    pcaMotorIsAlreadyUsed
    Usage: pcaMotorIsAlreadyUsed(aMotor)


    pcaNewCounterXY
    Usage: pcaNewCounterXY(Xstr, Ystr, AskStr)


    pcaCounterIsAlreadyUsed
    Usage: pcaCounterIsAlreadyUsed(aCounter)


    pcaunsetup
    Usage: pcaunsetup


Filename: waveguide.mac
Author:
Last mod.: 08/02/2006 08:29 by claustre