Unix, SPEC, Network
- Basic UNIX commands
- Basic SPEC commands
- Temporary NICE account
- Access to NICE from outside ESRF
- Saving your data on CD's
- Connecting a PC (e.g. notebook) to the network (on site only)
The workstation is a HP-UX10 and the software control for the experiment is throught the SPEC package (for a complete documentation, you may try SPEC help - onsite link only). Users who are unfamiliar with basic UNIX commands should consult UNIX help for Users (on site only). This may also act as an on-line help if you do not remember UNIX commands during your experiments.
Basic UNIX commands
cd dir_name | change to directory dir_name |
mkdir dir_name | create directory dir_name |
cp file1 file2 | copy file1 to file2 |
rm file | remove file |
emacs file | calls the emacs editor to modify file |
neidt file | calls the nedit editor to modify file |
lp -d a4bid27 printfile.ps | prints printfile.ps to a4bid327 |
Basic SPEC commands
The two applications are corresponding to two windows on the beamline workstation, entitled by the name of the application:
mv motor position | absolute move of motor to position |
mvr motor delta_position | relative of motor by delta_position |
umv motor position | like mv, but the position is written while moving |
timescan time | counts without changing motor positions for time, (default 1 s) |
ascan motor ini_pos fin_pos n time | linear scan of motor from ini_pos to fin_pos with n points, time s/point. motor will stay at fin_pos |
dscan motor d_min d_pos n time | like ascan, but scanning from x+d_min to x+d_pos , where x is the start position, to which motor returns also after scan |
The displayed spectrum can be plotted on the laser printer with
pplot.
A more complete list of commands can be found here .
A list of motors and settings can be found here .
Important: You can stop each scan be typing ^C. This should be done for example if you started scanning a motor to a unwanted position. dscan will return to the old position after ^C. An error message may occur telling you that the motor didn't reached its final position. In addition, a mismatch between the values of the motor position in SPEC and from the controller may occur. In this case, always answer the question to change the value with no , unless you are sure about what you are doing. In general, all motors have limit switches (hard limit) and/or soft limits controlled by the software, so that it should not be possible to destroy anything.