Initial revision
This commit is contained in:
165
doc/user/dmco.htm
Normal file
165
doc/user/dmco.htm
Normal file
@ -0,0 +1,165 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> DMC Command Summary </title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>DMC Command Summary</h1>
|
||||
<hr size=4 width="66%">
|
||||
<p>
|
||||
<h2>Most Used Commands</h2>
|
||||
<DL>
|
||||
<DT><a href=drive.htm>drive</a> a4 value
|
||||
<DD>Drives the detector to a new 2 Theta value. Be careful and watch out for
|
||||
rubbish trying to block the detectore pass through the experiment hall.
|
||||
<DT>drive lambda value.
|
||||
<DD>Drives the wavelength to a new value. The whole instrument is going to
|
||||
move. Add 10 extra levels of care to the above when doing this.
|
||||
<DT> <a href=dmcdev.htm>count</a> mode preset
|
||||
<DD> Counts in mode with a preset value of preset. Stores data automatically.
|
||||
<DT> Repeat num mode preset
|
||||
<DD> Calls count num times.
|
||||
<DT><a href=macro.htm>FileEval</a> filename
|
||||
<DD> Runs a batch file with the specified 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><a href=histogram.htm>banana</a> CountMode [NewVal]
|
||||
<DD>Without a parameter displays the current counting mode. With parameter sets
|
||||
the count mode. Possible values are Timer for waiting for time or Monitor for
|
||||
waiting for a monitor.
|
||||
<DT>banana preset [NewVal]
|
||||
<DD> Without a parameter displays the current preset for either time or monitor.
|
||||
With a parameter sets the preset.
|
||||
<DT>banana count
|
||||
<DD> Starts counting.
|
||||
<DT><a href=dmcdev.htm>StoreData</a>
|
||||
<DD> Writes the current state of DMC to a NeXus file.
|
||||
<DT> <a href=dmcdev.htm>count</a> mode preset
|
||||
<DD> Counts in mode with a preset of preset. Stores data automatically.
|
||||
<DT> Repeat num mode preset
|
||||
<DD> Calls count num times.
|
||||
</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> Log Files</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=dmcdev.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
|
||||
<LI>sample_mur
|
||||
</UL>
|
||||
</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user