Short manuals / tutorials:


Important SPEC commands available at ID2:


Shutter commands

sc to close the safety beam shutter
so to open the safety beam shutter
fson to activate fast beam shutter for scanning and counting
fsoff to disable fast beam shutter for scanning and counting
fsshow to show triggering of fast shutter
bvcl to close the big valve
bvop to open the big valve

Movement commands

wut to see motor user values
umv <motor> <position> to move a motor to the desired absolute position
umvr <motor> <step> to move a motor to a relative position
samplescan <motor> <from> <to> <steps> <time> to align sample (closes big valve)
Note: to continue taking CCD images answer 'yes' or use bvop

Use of CCD detectors

ccdnewfile to set directory and filename for image saving
ccdexpinfo to set header information for NEXT exposure
ccdactive to set CCD active/inactive
ccdbin <binning1> <binning2> to set binning of CCD camera
cm <camera> to set the online image correction parameters
click here for more details
ccdtfg to pause before a CCD acquisition
ccddisp to open the image display (if it was lost)
newplot to open the newplot display (if it was lost)
ccdexpose <exptime> <save(0/1)> <ndark> <"title"> to take a single image
ccdtrans <motor> <from> <to> <steps> <time> <sleep><"title"> <ndark> <save(0/1)> to scan

on a sample motor and take images at each scan step

(saving after each step)

ccdframes <frames> <exptime> <clock> <"title"> <ndark> <save(0/1)> to take multiple frames with lower time resolution (> 2.5s, depending on binning - saving after each frame)
Note: use application EXPTIME to change exposure time or abort:
exptimeset <exptime>
exptimeset -1 (to abort ccdframes safely)
ccdmulti <frames> <deadtime0> <deadtime1> <exptime> <save(0/1)> <ndark> <"title"> to take multiple images (saving after the last frame)
deadtime0 before first exposure
deadtime1 between exposures depending on binnig:




1 x 1 binning:



2 x 2 binning:



4 x 4 binning:



8 x 8 binning:



ccdkin <frames1> <frames2> <frames3> <deadtime0> <deadtime1> <deadtime2> <deadtime3> <exptime> <save(0/1)> <ndark> <"title"> to take

multiple images in three time groups

(saving after the last frame):
frames1-3 number of frames in groups
deadtime0 before first exposure
deadtime1-3 between the frames of each group
(see ccdmulti for minimum times)

ldo to list all detector position files
ddo <det-file> to import detector position file
att <number of attenuators> to insert / extract Al attenuators (attenuation factor about 15 per foil)
att 0 to remove - not recommended for SAXS exposures
use ATT application to insert more attenuators
open() to show used log files
disablemotormenu to enable / disable motors
disablecountermenu to enable / disable counters

Control of sample environments:

Mettler heating stage:

metabort to reset  
metget to read temperature
metgoT <temperature> to go to temperature
metrate <rate> to set heating/cooling rate
metset <temperature> to set temperature (use metstart)
metstart to start temperature change
mettime <time> to set isothermal time

Linkam heating stage:

hotstageget to get temperature
hotstageset <temperature> to set temperature
hotstagegetrate to get heating/cooling rate
hotstagesetrate <rate> to set heating/cooling rate
hotstagestart to start heating/cooling
hotstagehold to hold current temperature
hotstagestop to stop heating/cooling

Huber baths:

hubbathsetup to initialize serial communication (after switching on)
hubbathget to read temperature
hubbathset <temperature> to set temperature
hubbathcheck <temperature> to poll temperature set by hubset

PID temperature controller:

ltcsetup to initialize  
ltcpow <value> to set maximum heater power (5 or 50)
ltcget to read temperature
ltcset <temperature> to set temperature
ltctemp <temperature> [<offset>] to set temperature for controller and Huber bath (typically 3 deg lower, as defined by <offset>)
ltccheck <temperature> to poll temperature set by ltcset, ltctemp

LFI temperature controller (Peltier controlled stages):

lfisetup to initialize  
lfi20set <temperature [5C, 65C]> to set lfi temperature with huber bath at 20C
lfi40set <temperature [15C, 80C]> to set lfi temperature with huber bath at 40C
lfi60set <temperature [30C, 95C]> to set lfi temperature with huber bath at 60C
lfiget to read temperature
lfigetset to read target temperature
lfigetlimits to read temperature limits
lfisetlimhigh / lfisetlimlow <temperature> to set upper / lower temperature limit
lfigetpid to read PID settings
lfisetp / lfiseti / lfisetd to adjust PID settings