CRG - two-axis diffractometer D1B

The D1B-CRG is a high intensity powder diffractometer with an 128° PSD. It has always been in very high demand for real time experiments, and for very small samples because of its high efficiency position sensitive detector (PSD). Run as a CRG-A instrument by a CNRS / CSIC team, it is available 50% of the time for scheduled ILL experiments.

Back to ILL Homepage
www > Instruments & Support > Instruments & groups > D1B > More about D1B > Data Acquisition

Data Acquisition

More about D1B : Data Acquisition

This page describes the principal points to run easily the acquisition programs on D1B

MAD is the most general data acquisition program used on many instruments at ILL and specially on the instrument D1B which is controlled by a Linux workstation (d1b.ill.fr). A Silicon Graphic workstation (d1bsgi.ill.fr)  and a PC computer are available in the cabin of the instrument their are dedicated to retrieve, analyze and export the data. Powerful Rietveld refinement and friendly user graphical programs are running on the PC and SGI workstation.


Running MAD program

The user must be logged on the Username d1b with password d1bd1b; it is impossible to run MAD from other Username. You can login in the Username D1B from any terminal of the computer and any terminal on terminal server.

After the login messages, the user must have the prompt d1b{d1b}>, you can then run MAD by typing: d1b{d1b}> mad <CR>

After the introduction messages, you must have the prompt : MAD> and you can input commands.

List of the most used commands on D1B under MAD

HELP,   PAR,  CHECK, XBU, REP Nrep, READ, POSI, MOVE, SCAN, ACQ, NACQ, WAIT, EXIT.

For more details for each command type help command.


Reading , Positioning , Scanning Angles , Acquisition and DTI Commands

The following commands are used to read and move the 5 motors available on D1B i.e. 2theta, omega, chi, phi and translation (chi and phi are used with the Eulerian cradle).

Reading Motors

ROM   or  POM   or  READ OME  : read encoder of Omega
RCH   or  PCH   or  READ CHI  : read encoder of Chi
RPH   or  PPH   or  READ PHI  : read encoder of Phi
RTH   or  PTH   or  READ THETA :read encoder of 2Theta
RT1   or  PT1   or  READ T1  read encoder of Phi
PPP   or  READ ALL read encoders of 2Theta Omega Chi and Phi

Positioning Motors

POM   Value: move Omega to Value ( Exp: POM 30 <CR>; =>Position omega at 30 deg.)
PCH   Value: move Chi to Value
PPH   Value: move Phi to Value
PT1   Value: move T1 to Value

Moving Motors

MOM   Value: move Omega of Value ( Exp: MOM 10 <CR>; =>move omega of 10 deg.)
MCH   Value: move Chi of Value
MPH   Value: move Phi of Value
MT1   Value: move T1 of Value

Scanning Angles

The scans can be on one angle or two angles

  • Simple Scan of one angle
SANG (ANG=OM, PHI or CHI ) StartValue StopValue StepValue (Cons) (Code) (Save) or
SCAN ANGLE (ANGLE=OMEGA,PHI or CHI) StartValue StopValue StepValue (Cons) (Code) (Save)
StartValue: start value of the scan (in deg.)
StopValue: stop value of the scan (in deg.)
StartValue: step value of the scan (in deg.)
Cons: The requested value on MONITOR (Code=0) or TIME (Code=1)
Code: 0 for MONITOR and 1 for TIME
Save = Save On Disks (0=No, 1=Yes)(1 is default)

If Cons and Code are undefined, default values ( see PAR SPS) are taken.

Example:
MAD> SOM 10 20 0.5 (Scan omega from 10 to 20 in step of 0.5 deg. by using default values of MONITOR or TIME)
  • Imbricated Scans of two angles

SCAN ANGLES  Start Value Angle1  StopValueAngle1  StepAngle1  StartValueAngle2  StopValueAngle2  StepAngle2 (Cons)(Code)(Save)

ANGLES can be CHPH forScan CHI in PHI or PHCH forScan PHI in CHI or
HOM for Scan CHI in OME
 

Acquisitions Commands

 

  • Unique Acquisition Command.

The ACQ command takes one frame of data at the current instrument position.

ACQ (Cons) (PrestCode) (Save)
Cons= The requested value on MONITOR (Code=0) or TIME (Code=1): default is given by PAR SPS.
Code: 0 for MONITOR and 1 for TIME (in MILISECONS.) default is given by PAR SPS.
Save = Save On Disks 1=Yes, 0=No (default is No)
Example:
MAD> ACQ 3000 0 1 <CR>; Count 3000 on monitor and save data.
MAD> ACQ 200000 1 1 <CR>; Count 200 sec and save data.
MAD> ACQ <CR>; Count using MAD SPS parameters and don't save.

Saving a data gives one data file associated to a NUMOR and containing one frame of data.

 

  • Multiple Acquisition Command.

The NACQ command takes N frames of data at the current instrument position.

NACQ  (Cons) (PrestCode) (Save) (Nrep)
Cons= The requested value on MONITOR (Code=0) or TIME (Code=1): default is given by PAR SPS.
Code: 0 for MONITOR and 1 for TIME (in Sec.) default is given by PAR SPS.
Nrep= Number of acquisition in the same machine positions ( default=100).
Save = Store Data. Always Yes=1
Example:
MAD> NACQ 2000 0 15 <CR>; Count 2000 on monitor for 15 spectra and save data. 
MAD> NACQ 300000 1 10 <CR>; Count 300 secs on time for 10 spectra and save data.
 

Commands File XBU

A sequence of MAD commands can be executed sequentially from a file by using XBU command. In this mode each command must be complete and on one line. XBU command can itself be included in the command file to execute another command file. The syntax of a command file can be checked with the command CHECK.

XBU  (Filename) (NREP)

An example of an XBU command file test1.lis is:

PAR MCO Experiment number 1    =>Put commentary
PAR SPS 300 1                  =>Put default counts; 300 s in Time
PTE 100                         =>Put temperature at 100K
WAIT 60                         =>Wait 60 sec.
POM 180                         =>Position omega at 180
PCH 90                          =>Position Chi at 90
SCAN PHI  100 160 10           =>Scan in Phi
XBU test2.lis                   =>Execute commands in file test2.lis

The default filename for XBU if not specified is COMAND.LIS and NREP is 1.
MAD>CHECK

To top

Parameters Commands

The experimental parameters of MAD can be read and modified from the program MAD or by the using the program PARAME. After the prompt MAD>, a parameterXXX can be modified by typing PAR XXX.

MAD> PAR  XXX  Values <CR>

To read the parameter XXX, type only

MAD> PAR  XXX <CR>
The following parameters are the most used on D1B.
CRY 2 Values            => Cryostat parameter
                               =0 no cryostat or furna
                               =1 cryostat or furnace
                            Temperature regulation parameter
                               =0 no regulation
                               =3 Dagleish DTI
                                              
DISP up to 15 values     => Defines the selected detectors to display during the scan.
MCO max 72 characters    => Commentary.
MOU 3 values             => Terminal printout option 0/1/2, Limits on Theta Banana's position.
MUT 2*6 characters       => User name and Local contact.
SPS 2 values             => Default Preset Value and Preset Code (0=Monitor, =1 Time).
TRA 1 value              => Translation table multiplication factor.
VOL 1 value              => Reads digital voltmeter 0=No, 1=Yes. If yes 5 channels can be defined.
WAV 1 value              => Wavelength value.
ZER 4 values             => Instrument angle offsets.

Example:
MAD> PAR MCO <CR>                       => read the commentary.
MAD> PAR MCO Experiment test <CR>       => put commentary: Experiment test.
MAD> PAR SPS 300 1                      => Put default counts; 300s in Time
MAD> PAR DISP 7 10 250 300 320 0 <CR>   => The 5 detectors numbered 7,10,250,300 and 320 will be displayed.

To top