Beamline Motors & SPEC Commands
All the data are on the network drive which can be accessed from any of the beamline computers. However, user data transfer should be done through computer sec12dt02. It has multiple USB ports to use. User can copy his/her whole data folder like "Z:\2018_1\zuoApr6" . Do NOT delete data / folders. Beamline staff regularly backup user's data which can be retrieved later.
The software Spec, which has been used for many diffraction beamlines, has been implemented for 12ID-B
and serves as a kind of higher-level language, which provides programming and minor plotting capability.
12ID-B specific |
Macro name | Purpose |
Usage | Note [units] |
Yes | takeshot | Take SAXS/WAXS images |
takeshot filename exposuretime takeshot filename exposuretime Nshot takeshot filename exposuretime Nshot Period Example: takeshot bsa 1.0 30 3.0 collecting thirty images for sample bsa with exposure time of 1.0 sec and period of 3.0 sec. within the 3.0 sec period time, only 1.o sec for data collection, the rest 2.0 sec is sleep time. |
exposuretime: second Nshot: number of shots Period: second filename: should be readable but short |
No | umv | Move a motor to an absolute position |
umv motorname absoluteposition Example: umv sth 20.5 move motor sth to postion 20.5 |
absoluteposition: mm "Ctrl"+"c" combined key can abort the move |
No | umvr | move a motor by certain distance relative current position | umvr motorname relativeposition Example: umvr sav 1.5 move moter sav +1.5 mm relative to the currrent sav position |
relativepoisiton: mm |
Yes | centering | GISAXS sample align |
Align a sample angle and height to X-ray beam Example: centering automatically align the sample |
|
Yes | shopen | Open the fast shutter |
shopen shopen time |
time: second |
Yes | shclose | Close the fast shutter |
shclose |
|
No | lup | line up |
lup motorname relativeleft relativeright Nshot expt Example: lup sth -2.0 3.0 40 0.1 scan sth motor in position range [- 2.0 +3.0] relative to current sth position; measure for 40 positions, exposure time of 0.1 sec at each pos |
|
No | ct | Count |
ct seconds |
|
No | te | Current temperature |
te |
|
No | att_on; att_off | attenuator on / off |
Users can press buttons instead of typing commands on SPEC. It works only when SPEC runs on server mode.
When SPEC is running, start specGUI using these steps:
Notes:
Here is the correct way to make a new user data directory:
In the given example, the window will make a user directory of: 2018_Data/2018_1/zuoApr22
The spec log file will be "xz05102018"
You will also see some print-out information in the SPEC window about making the new directory.
Note: If you cannot see your collected images/data, it could be caused by wrong data directory. You can make a new user data directory and see if it solves the problem. Normally, the data transfer and converting programs will follow the new user directory and you don't have to do anything on that.