220 lines
5.6 KiB
HTML
220 lines
5.6 KiB
HTML
<html>
|
|
<head>
|
|
<title> TOPSI Command Summary </title>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>TOPSI Command Summary</h1>
|
|
<hr size=4 width="66%">
|
|
<p>
|
|
<h2>Most Used Commands</h2>
|
|
<DL>
|
|
<DT><a href=drive.htm>drive</a> mot1 NewVal mot2 NewVal ....
|
|
<DD>Drives motors. Followed by pairs of motor names and new values.
|
|
<DT>scan clear
|
|
<DD> Clears current scan parameters.
|
|
<DT>scan list
|
|
<DD> lists current scan parameters.
|
|
<DT> scan var name start step
|
|
<DD> Defines a variable (motor) to be scanned. The name of the variable, a
|
|
start value and a stpe width need to be given. More then one scan variable
|
|
can be specified.
|
|
<DT> scan np num
|
|
<DD> Sets the number of scan points.
|
|
<DT> scan preset val
|
|
<DD> Sets the Preset value for the scan. Without a parameter, inquires the
|
|
current value.
|
|
<DT> scan mode val
|
|
<DD> Sets the count mode for the scan. Without a parameter, inquires the
|
|
current value. Possible values are Timer or Monitor.
|
|
<DT> scan run
|
|
<DD> Executes the scan.
|
|
<DT>cscan var center delta np preset
|
|
<DD> does a scan center scan for variable var around center. delta is the
|
|
step width to use, np is the number of points to collect at each side, preset
|
|
is the preset to use.
|
|
<DT> sscan var1 start end var2 start end .... np preset
|
|
<DD> simplified scan command. Scans variables var1, var2 .. from the
|
|
respective start values to the end values. Using np points and a preset of
|
|
preset.
|
|
<DT><a href=macro.htm>FileEval</a> filename
|
|
<DD>Runs the batch file specified as argument filename.
|
|
</DL>
|
|
</p>
|
|
|
|
<hr size=4 width="66%">
|
|
<h2>Driving</h2>
|
|
<p>
|
|
|
|
<DL>
|
|
<DT><a href=drive.htm>drive</a> mot1 NewVal mot2 NewVal ....
|
|
<DD>Drives motors. Followed by pairs of motor names and new values.
|
|
<DT>run mot1 NewVal mot2 NewVal ....
|
|
<DD> Runs motors.
|
|
</DL>
|
|
Known motors are: OmegaA, A1, TwoThetaM, A2, MonoX, MonoY, MonoChi, MonoPhi,
|
|
CurveM, Table, A3, TwoThetaD, A4.
|
|
</p>
|
|
|
|
<h2> Counting </h2>
|
|
<p>
|
|
<DL>
|
|
<DT>counter SetMode mode
|
|
<DD> Sets the mode of the counter. Possible parameters for mode are Timer
|
|
and Preset.
|
|
<DT>counter GetMode
|
|
<DD> Prints the current counting mode of the counter.
|
|
<DT>counter SetPreset val
|
|
<DD> Sets a new preset for the counter
|
|
<DT>counter GetPreset
|
|
<DD> Prints the current value of preset.
|
|
<DT>counter SetExponent val
|
|
<DD> Sets a new expoenent for the preset in monitor mode.
|
|
<DT>counter GetExponent
|
|
<DD> Prints the current value of exponent.
|
|
<DT> counter Count preset
|
|
<DD> Starts counting with the preset value specified.
|
|
<DT>counter GetCounts
|
|
<DD> Inquires the last counts measured.
|
|
<DT> counter GetMonitor n
|
|
<DD> Gets the last value measured in monitor n.
|
|
</DL>
|
|
</p>
|
|
|
|
|
|
<h2> <a href= topscan.htm>Scan</a> </h2>
|
|
<p>
|
|
<DL>
|
|
<DT>scan clear
|
|
<DD> Clears current scan parameters.
|
|
<DT>scan list
|
|
<DD> lists current scan parameters.
|
|
<DT> scan var name start step
|
|
<DD> Defines a variable (motor) to be scanned. The name of the variable, a
|
|
start value and a stpe width need to be given. More then one scan variable
|
|
can be specified.
|
|
<DT> scan NP num
|
|
<DD> Sets the number of scan points.
|
|
<DT> scan Preset val
|
|
<DD> Sets the Preset value for the scan. Without a parameter, inquires the
|
|
current value.
|
|
<DT> scan Mode val
|
|
<DD> Sets the count mode for the scan. Without a parameter, inquires the
|
|
current value. Possible values are Timer or Monitor.
|
|
<DT> scan run
|
|
<DD> Executes the scan.
|
|
<DT>cscan var center delta np preset
|
|
<DD> does a scan center scan for variable var around center. delta is the
|
|
step width to use, np is the number of points to collect at each side, preset
|
|
is the preset to use.
|
|
<DT> sscan var1 start end var2 start end .... np preset
|
|
<DD> simplified scan command. Scans variables var1, var2 .. from the
|
|
respective start values to the end values. Using np points and a preset of
|
|
preset.
|
|
</DL>
|
|
</p>
|
|
|
|
<h2>Rünbuffer</h2>
|
|
<p>
|
|
<DL>
|
|
<DT><a href =buffer.htm> Buf</a> new name
|
|
<DD>New buffer name
|
|
<DT>Buf copy name1 name2
|
|
<DD> copies buffers.
|
|
<DT>Buf del name
|
|
<DD> deletes buffer.
|
|
</DL>
|
|
Buffers created with Buf new name are installed as command name and understand:
|
|
|
|
<DL>
|
|
<DT>NAME append bla bla .......
|
|
<DD>Append text to buffer
|
|
<DT>NAME del iLine
|
|
<DD> Deletes line.
|
|
<DT> NAME ins iLine bla bla ....
|
|
<DD>Inserts text after line.
|
|
<DT>NAME print
|
|
<DD>prints contents of buffer to screen.
|
|
<DT>NAME save file
|
|
<DD> Saves buffer to file.
|
|
<DT>NAME read file
|
|
<DD> Read buffer contents from file.
|
|
<DT>NAME run
|
|
<DD>Executes contents of buffer.
|
|
</DL>
|
|
There can be a stack of Rünbuffers.
|
|
|
|
<DL>
|
|
<DT>RuLi add buffer
|
|
<DD>Adds an buffer to the stack.
|
|
<DT>RuLi list
|
|
<DD> Lists the stack.
|
|
<DT>RuLi del line
|
|
<DD> Deletetes buffer from stack.
|
|
<DD>RuLi ins iLine name
|
|
<DD> Inserts name after iLine.
|
|
<DT> RuLi run
|
|
<DD> Executes Stack.
|
|
<DT> RuLi batch
|
|
<DD> Executes stack permanently. New buffers may be added.
|
|
</DL>
|
|
|
|
|
|
|
|
<h2> General commands </h2>
|
|
<p>
|
|
<DL>
|
|
<DT><a href=drive.htm>Success</a>
|
|
<DD> wait for the last operation to finish.
|
|
<DT><a href=system.htm>wait</a> time
|
|
<DD> wait for time to pass....
|
|
<DT><a href=system.htm>Dir</a>
|
|
<DD> lists all objects in the system.
|
|
<DT><a href=config.htm>config</a> Rights username password
|
|
<DD> changes authorisation to that of the user identified by username,
|
|
password.
|
|
<DT><a href=macro.htm>FileEval</a> filename
|
|
<DD> executes batch file filename.
|
|
</DL>
|
|
</p>
|
|
|
|
|
|
<h2> LogBook</h2>
|
|
<p>
|
|
<DL>
|
|
<DT><a href=logbook.htm>LogBook</a> file name
|
|
<DD> sets log file name
|
|
<DT> LogBook on
|
|
<DD> switches logging on
|
|
<DT>LogBook off
|
|
<DD> closes LogBook
|
|
<DT>LogBook
|
|
<DD> lists current logging status
|
|
</DL>
|
|
</p>
|
|
|
|
|
|
<h2> Variables</h2>
|
|
<p>
|
|
Each <a href=sanscom.htm>variable</a>
|
|
can be inquired by just typing its name. It can be set by
|
|
typing the name followed by the new value. Currently available variables
|
|
are:
|
|
<UL>
|
|
<LI>Title
|
|
<LI>User
|
|
<LI>comment1
|
|
<LI>comment2
|
|
<LI>comment3
|
|
<LI>User
|
|
<LI>adress
|
|
<LI>phone
|
|
<LI>email
|
|
<LI>sample
|
|
</UL>
|
|
</p>
|
|
|
|
|
|
</body>
|
|
</html>
|