esrf

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

IRL_LASER.MAC
See other macros in category: All
Description:
    Macros to remote control a laser power supply from IPG company.
Documentation:
Macros:
    irlsetup
    Usage: irlsetup serialline
    Configure the serial line to use to communicate with the laser controller

    irlset
    Usage: irlset power
    Set the infra red laser power given in watts

    irlget
    Usage: irlget
    Print out the current infra red laser power in watts

    irlstatus
    Usage: irlstatus
    Print out the current infra red laser power in watts

    irlredon
    Usage: irlredon
    Switch on the red laser

    irlredoff
    Usage: irlredoff
    Switch off the red laser

Internal Macros:
    _irl_checksl
    Usage: _irl_checksl
    Check that the setup has been well done

    _irlset
    Usage: _irlset (pwr)
    Set the infra red laser power in watts

    _irlround
    Usage: _irlround (x)
    Returns a valid integer rounded

    _irlfloat
    Usage: _irlfloat (x)
    Returns a valid float rounded

    _irlget
    Usage: _irlget ()
    Return the current infra red laser power in watts or -1 in case of error

    _irlgetstatus
    Usage: _irlgetstatus ()
    Return the current controller status or -1 in case of error

    _irlgettemp
    Usage: _irlgettemp ()
    Return the current controller temperature or -1 in case of error

    _irlred
    Usage: _irlred (todo)
    Set the red laser on (0) or off (1)

Filename: irl_laser.mac
Author: MP BLISS (Original 12/2009).
$Revision: 1.0 $ / $Date: 2009/12/10 12:00:41 $
Last mod.: 10/12/2009 13:00 by perez