Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
LAKESHORE#$)_ADDONDS.MAC - addtional functions for Lakeshore 340 temperature controller | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
| ||||||
Macros:
Usage: lsmout [percentage] Without argument, reads and prints the manual heater output value. With argument, sets the manual heater output to the specified value lshtr Usage: lshtr Read and display the total heater output (PID + manual offset) lsfreeze Usage: lsfreeze Switch from PID control to open loop, keeping the heater power constant. New version. lsunfreeze Usage: lsunfreeze Switch back from open loop to PID control. New version. lswaitT Usage: lswaitT <target temperature> <error margin> <time window> Waits until the sample temperature is within <target_temperature> +/- <error margin> for <time window>. lsreadcurve Usage: lsreadcurve Reads a calibration curve from the controllers memory. lswritecurve Usage: lswritecurve Communicates a calibration curve to the controller.This version is based on the lakeshore340.mac %version, but features some improvements. Especially, deleting the previously stored curve, which is important %At ID06, all curves should be stored in the /data/id06/inhouse/lakeshore directory. %if the new curve has less data points. | ||||||
Internal Macros: | ||||||
Usage: _ls_read_mout () Read and return the manual heater output. _ls_set_mout Usage: _ls_set_mout (percentage) Set heater 1 to specified percentage. _ls_read_htr Usage: _ls_read_htr () Read and return the total heater output (PID+manual offset) lspower Usage: lspower ls_cset Usage: ls_cset __lsRvalue Usage: __lsRvalue(rstr) ls_heaterresistance Usage: ls_heaterresistance lsfreezeold Usage: lsfreezeold Switch from PID to open loop control, keeping the heater output constant. Old version, which does stays in PID mode, but with P=I=D=0. Obsolete. lsunfreezeold Usage: lsunfreezeold Switch back from open loop to PID control. Old version that recovers PID from above. Obsolete. ls_heaterctr_setup Usage: ls_heaterctr_setup Defines <counter_mne> as pseudo-counter for the heater output in Watts. ls_heaterctr_getpos Usage: ls_heaterctr_getpos Macro that actually makes the calculation of the power | ||||||
|