Note that there is the command move/mc that supports the
alignment of the monochromator motors.
e.g.:
* = wavelength() wavelength() = 1.2345
ON_LINE> * = mostab( "c") switches local display mode off ON_LINE> * = mostab( "i") switches to idle= ON_LINE> * = mostab( "n") switches echo mode off ON_LINE> * = mostab( "s1=-0.7") setpoint to 70%, left edge ON_LINE> * = mostab( "rs") read status Status messages: #2;IDLE# idle #4;NEWPEAK# peak search, 1. phase #10;GUESS# peak search, 2. phase #11;TRACKSP# track setpoint ON_LINE> * = mostab( "p" [, ns]) peak search This call returns after the peak-search is done. It returns the number of seconds that were needed to find the peak, a typical value: 7. The user may specify the maximum search time, def.: 15 s.
This function communicates with the SIS2900 monochromator stabiliser.
The status of the RS232 connection can be tested with:
> telnet hast11 3521 Trying 131.169.38.146... Connected to hast11. Escape character is '^]'. RS #10;GUESS#
The string 'RS' is supplied by the user. Be sure to use upper case letters. The terminal server and port number can be found by 'echo $MOSTAB_PORT'.