esrf

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

Conductuscurves.mac
See other macros in category: All
Description:
    Download calibration curves into a Conductus temperature controller.
Documentation:
    DESCRIPTION
    Each Conductus temperature controller is delivered with his own sensors. ID18 wish to be able to use all sensors with all temperature controllers they have. Thus the calibration curves have to be loaded into the controller.


Macros:
    condcurves_debug
    Usage: condcurves_debug
    toggle debug mode for the present macros.

    condgpib_setup
    Usage: condgpib_setup
    Syntax : condgpib_setup <GPIB unit> <GPIB number>.
    Set the global COND_ADDR which is used for all gpib access.


    condlistallcurves
    Usage: condlistallcurves
    Syntax : condlistallcurves
    List out all the curves used in the controller. There are 16 possible curves.

    condlistonecurve
    Usage: condlistonecurve
    Syntax : condlistonecurve indexnumber List out the requested curve from the controller. There are 16 possible curves.

    condwritecurve
    Usage: condwritecurve
    Syntax : condwritecurve [filename]
    Reads one sensor calibration curve from harddisk and writes it into the Conductus temperature controller. Only curves 10 to 26 can be written.
    EXAMPLE:
    Sensor Type:   0 = 2V Diode, 1 = 6V Diode, 2 = R250, 3 = R2500, 4 = R1.0mV
    Voltage Bias:  0 = 10 mV, 1 = 3 mV, 2 = 1 mV, 3 = 320 uV, 4 = 100uV, 5 = 32uV, 6 = 10uV
    Cal Table Units: 0 = LogOhms, 1, Ohms, 2 Volts
    Sensor Description: 1 to 19 chars, spaces will be eliminated
    Multiplier:  non-zero
    


    conddeletecurve
    Usage: conddeletecurve
    Syntax : conddeletecurve index


Internal Macros:
    _cond_send
    Usage: _cond_send(command)
    Syntax : _cond_send(command)
    Internal function to send a command string to the Conductus. This imp. uses gpib at an address defined my the global variable COND_ADDR. Returns CONDREADERROR if the command could not be sent, otherwise CONDOK is returned.


    _cond_read
    Usage: _cond_read(command)
    Syntax : _cond_read(command)
    Internal function to send a command string to the Conductus and get the reply.


    _condlistonecurve
    Usage: _condlistonecurve(crv)
    Syntax : condlistonecurve(indexnumber)
    List out the requested curve from the controller. There are 16 possible curves.

Filename: conductuscurves.mac
Author: Holger Witsch, July 2005
Last mod.: 19/07/2010 16:25 by witsch