Running your experiment

last modified 01-10-2009 10:58

Useful Commands to run your experiment

 

All SPEC session are running on the id31term2 terminal (right one) in the control hutch.

There are two users' specific SPEC sessions.

SPEC (purple window) : commands for the diffractometer control

SAMPLE ENVIRONMENT (green window) : commands for cryostream, cryostat and hot blower control.

The OPTICS (blue window) session is for beamline alignment purpose. In principle, users do not have to deal with it.

 

To control the diffractometer, in the SPEC purple window:

To open shutter:             shopen (also works in the Sample environment and Optics windows)

To close shutter:            shclose (also works in the Sample environment and Optics windows)

To create data file:         newfile your_exp_number_filename.dat (all your scans will be recorded in here)

To check data file name: was

To do a single scan:       stscan tth start end [degrees/min] [sampling_time/ms]

To count at present position: ct time (in sec)

To spin / stop the spinner:          spinit spinner / spinstop spinner

To wait some time:         sleep(time) (in sec)

To see data:                  pls (default = detector 4, last scan recorded)

To see data with            pls +cnch +fdata/data_file +nnscan +b.00x  (more options: channel, file, binsize

Move 2theta to an angle: xsmv tth angle

Move by an angle:                      xsmvr tth angle

Precision move:                         smv tth angle (precision) (tries)[defaults = 0.001 20] )

Move a motor:                            umv name_of_the_motor mm (or degrees)

Relative move:                           umvr mm (or degrees)

To execute a series of scans:     do ch1111.scan

To stop:                                     ^C

To make a macro file:                 log into lid311 and edit ch1111.scan there (using emax or nedit), or type "emacs your_exp_number.scan" from the purple window (in emacs, ^X^C to save, ^X^C to exit).

To look at present motor positions           wa

To look at motor position and limits         wm motor_name (e.g. wm tth)

*Data can also be seen using the pls command from an xterm window on diffract31. Syntax is”

pls filename nscan nch (nch=4-12 for det 0-8 / 13-14-15 for T blower-crystream-cryostat / 17 for monitor).

 

To control the sample environment:

Cryostream, cryostat and hot blower can be

- either directly from the Sample environment session (green window)

newstreamsetpoint setpoint (in K) [rampspeed (in K/hour)]

newstream cool

lakesetpoint setpoint (in K)

blower_setpoint setpoint (in C)

- either from the Spec session (purple window) or from a command file. In this case, make sure the Sample environment session is in remote mode. Type remote in the Sample environment session

streamsetpoint setpoint (in K) rampspeed (in K/hour)]

rse lakesetpoint setpoint (in K)

rse blower_setpoint setpoint (in C)

If temperatures are not correctly written in the datafile, check that the Sample Environment session is in remote mode. If temperatures are not updated in the datafile, even if the Sample environment session is in remote mode, type:

blower_enable/stream_enable/lake_enable (depending on the sample environment used) in the Sample environment session (and put it back in remote mode)

 


European Synchrotron Radiation Facility