\documentclass[12pt,a4paper]{article} %%\usepackage[dvips]{graphics} %%\usepackage{epsf} \setlength{\textheight}{24cm} \setlength{\textwidth}{16cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\topmargin}{0cm} \setlength{\oddsidemargin}{0cm} \setlength{\evensidemargin}{0cm} \setlength{\hoffset}{0cm} \setlength{\marginparwidth}{0cm} \parskip .5cm \begin{document} \begin{center} \begin{huge} Saving EL734 Motor Parameters on Unix \end{huge} 16-October-1998\\ \end{center} EL734 motor controllers occasionally loose their built in parameters. Therefore it is necessary to save their parameters and to have a way to load them to the motor controller when need arises. This can be done with David Maden's EL734\_test program. This program has now been made available on DigitalUnix. For each SICS instrument motor parameters are stored at two independent locations: \begin{itemize} \item In the motor directory of the instrument account. For example: /home/DMC/motor \item On lnsa10 in the lnslib account in a motor/instrument directory. For example: /data/lnslib/motor/dmc \end{itemize} In each of these directories there is an instrument specific shell script which does the job. It has a name such as instrumentmotor, for example dmcmotor . This shell script expects one argument which must be one of the keywords load or save. With the option save specified motor parameters are read from the controller and stored into files. With the option load the stored motor parameters are loaded into the motor controller. Thus the procedure for saving and restoring motor parameters becomes: \begin{enumerate} \item change to the directory with the motor parameters (/home/INSTRUMENT/motor or /data/lnslib/motor/instrument). \item type: instrumentmotor save for saving motor parameters to disk. \item type instrumentmotor load for loading motor parameters to the controller. \end{enumerate} \begin{Large} It is the instrument scientists responsability to save motor parameters to disk after changes to both locations. \end{Large} In order to make this more interesting, files at lnsa10 are write protected. In order to overwrite those you need to use the unix command chmod. Saving motor parameters generates files with names like motNUM1@NUM2.par with NUM1, NUM2 being numbers. This means: motor number NUM1 at EL734 motor controller at Macintosh channel NUM2. These files can be edited when you know what you are doing. The command syntax is described in the El734 motor controller manual. \end{document}