Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
ASL.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Temperature | ||||||
Description:
| ||||||
Documentation:
This scan measures photon-counts rate as a function of the difference in temperature between two crystals. One thing is to perform a linear temperature ramp as a function of time, while continuously counting, between start and end temperature values. Counts and temperature are continuously read. The temperature difference between the two crystals is directly read from the ASL bridge. The photon count per second rate is calculated all along the scan as delta-counts/delta-time between each calculation points. To obtain maximal linearity, the setpoint is set to a new value some time before we actually reach the setpoint. The calculated photon per second rate as a function of temperature difference between both crystals is plotted, as well as the temperature difference between crystals as a function of time allowing user to check the ramp linearity. EXAMPLE ATTENTION The controller is in deviation mode during the scan to allow setpoint control.#Ending the scan means that you turn it back to direct mode. No more feedback control is done and the direct temperature of one of the two crystals is read. DEPENDENCIES The file asl.mac has to b read in | ||||||
Macros:
Usage: aslscan <start_temp> <final_temp> <steps_number> This is the macro that manages the temperature scan . The arguments give the increment value (final_temp> - <start_temp>) / <steps_number> aslsetup Usage: aslsetup Has to be called first to prepare the scan . It will ask a few questions : aslreadte Usage: aslreadte Simply read and print the temperature. aslpid Usage: aslpid <setpoint> This macro is there to help users in tuning the P I D terms of the controller. The setpoint is send to the controller, the timer is started and then the temperature as a function of time is plotted, showing the system response to a setpoint increment. | ||||||
Internal Macros: | ||||||
Usage: asl_calc_ph_sec asl_gpibputc Usage: asl_gpibputc asl_gpibputv Usage: asl_gpibputv asl_gpibget Usage: asl_gpibget asl_end_scan Usage: asl_end_scan asl_splot Usage: asl_splot asl_read_temp Usage: asl_read_temp asl_rplot Usage: asl_rplot asl_setpoint Usage: asl_setpoint asl_splot1 Usage: asl_splot1 asl_wait Usage: asl_wait asl_tell_temp Usage: asl_tell_temp asl_rplot0 Usage: asl_rplot0 asl_rplot1 Usage: asl_rplot1 aslscan_usage Usage: aslscan_usage aslscan_check_lm Usage: aslscan_check_lm asl_end_pid Usage: asl_end_pid asl_pidrplot Usage: asl_pidrplot asl_pidsplot Usage: asl_pidsplot asl_wait_pid Usage: asl_wait_pid | ||||||
|