esrf

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

lakeshorecurves.mac
See other macros in category: All
Description:
    Download calibration curves into a LakeShore temperature controller.
Documentation:
    DESCRIPTION
    Each LakeShore temperature controller is delivered with his own sensors. ID18 wish to be able to use all sensors with all the LS controller they have. Thus the calibration curves have to be loaded into the controller.
    The marcos have NOT YET been tested for models model 218, 332 or 340. There might be chance for other models to work, but tests have been made with those models only.

Macros:
    lsgpib_setup
    Usage: lsgpib_setup
    Syntax : lsgpib_setup <GPIB unit> <GPIB number>.
    Set the global LS_ADDR which is used for all gpib access.
    The lsgpib_setup macro might be taken from lakeshore340 macro set. Only define if not present yet.

    lslistallcurves
    Usage: lslistallcurves
    Syntax : lslistallcurves
    List out all the curves used in the controller. There are 60 possible curves (1 - 60).

    lswritecurve
    Usage: lswritecurve
    Syntax : lswritecurve [filename] [curvenumber]
    Reads one sensor calibration curve from harddisk and writes it into the lakeshore temperature controller. Only curves 21 to 60 can be written by the user.
    EXAMPLE:
    Sensor Model:   CX-1030-CU-1.4L
    Serial Number:  X12379
    Data Format:    4      (Log Ohms/Kelvin)
    SetPoint Limit: 325.      (Kelvin)
    Temperature coefficient:  1 (Negative)
    Number of Breakpoints:   144
     .....
    


    lsreadcurve
    Usage: lsreadcurve
    Syntax : lsreadcurve [curvenumber]
    Reads one sensor calibration curve from lakeshore temperature controller.


Internal Macros:
    _ls_send
    Usage: _ls_send(command)
    Syntax : _ls_send(command)
    Internal function to send a command string to the lakeshore. This imp. uses gpib at an address defined my the global variable LS_ADDR. Returns LSREADERROR if the command could not be sent, otherwise LSOK is returned.
    The _ls_send macro might be taken from lakeshore340 macro set. Only define if not present yet.

    _ls_read
    Usage: _ls_read(command)
    Syntax : _ls_read(command)
    Internal function to send a command string to the lakeshore and get the reply.
    The _ls_read macro might be taken from lakeshore340 macro set. Only define if not present yet.


Filename: lakeshorecurves.mac
Author: Holger Witsch, November 2004
Last mod.: 19/07/2005 19:39 by witsch