- made fixes to hkl
- Introduced a help system - introduced a module for handling automatic updates of files during long measurements - Added a circular buffer and handling facilities to varlog - Upgraded documentation SKIPPED: psi/faverage.h psi/nxamor.tex psi/pimotor.h psi/pimotor.tex
This commit is contained in:
34
doc/manager/helpman.htm
Normal file
34
doc/manager/helpman.htm
Normal file
@ -0,0 +1,34 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>The SICS Online Help System</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>The SICS Online Help System</H1>
|
||||
<P>
|
||||
SICS has a simple built in help system. Help text is stored in simple
|
||||
ASCII text files which are printed to the client on demand. The help
|
||||
system can search for help files in several directories. Typically one
|
||||
would want one directory with general SICS help files and another one
|
||||
with instrument specific help files. If help is invoked without any
|
||||
options, a default help file is printed. This file is supposed to
|
||||
contain a directory of available help topics together with a brief
|
||||
description. The normal usage is: help topicname . The help system
|
||||
will then search for a file named topicname.txt in its help
|
||||
directories.
|
||||
</P>
|
||||
<p>
|
||||
A SICS manager will need to configure this help system. A new
|
||||
directory can be added to the list of directories to search with the
|
||||
command:
|
||||
<pre>
|
||||
help configure adddir dirname
|
||||
</pre>
|
||||
The default help file can be specified with:
|
||||
<pre>
|
||||
help configure defaultfile filename
|
||||
</pre>
|
||||
Each of these command given without a parameter print the current
|
||||
settings.
|
||||
</P>
|
||||
</BODY>
|
||||
</HTML>
|
@ -19,6 +19,7 @@ Go to:
|
||||
<li> A discussion of SICS <a href = var.htm> variables</a>.
|
||||
<li> Advice about <a href=hwini.htm> hardware </a> configuration.
|
||||
<li> A description of <a href = command.htm> command </a> initialisation.
|
||||
<li> Managing the SICS <a href="helpman.htm"> help </a> system.
|
||||
</ul>
|
||||
</p>
|
||||
<!latex-on>
|
||||
|
@ -46,6 +46,7 @@ which is described elsewhere.
|
||||
%html var.htm 1
|
||||
%html hwini.htm 1
|
||||
%html command.htm 1
|
||||
%html helpman.htm 2
|
||||
%html special.htm 1
|
||||
%html serial.htm 2
|
||||
%html status.htm 2
|
||||
@ -54,6 +55,8 @@ which is described elsewhere.
|
||||
%html alias.htm 2
|
||||
%html cron.htm 2
|
||||
%html rs232.htm 2
|
||||
%html nxscript.htm 2
|
||||
%html nxupdate.htm 2
|
||||
%html ../user/trouble.htm 1
|
||||
%html move.htm 1
|
||||
\end{document}
|
||||
|
71
doc/manager/nxupdate.htm
Normal file
71
doc/manager/nxupdate.htm
Normal file
@ -0,0 +1,71 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Automatic Updating of NeXus Files</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>Automatic Updating of NeXus Files</H1>
|
||||
<P>
|
||||
Some instruments perform measurements for quite long counting
|
||||
times. In such cases it is advisable to save the data measured so far
|
||||
to file in order to protect against hardware or software failures. To
|
||||
this purpose an automatic file upgrade manager is provided. On
|
||||
installation the automatic update object is connected wth a counting
|
||||
device through the the callback interface. This makes sure that the
|
||||
update manager is automatically notified when counting starts or
|
||||
finishes.
|
||||
</P>
|
||||
<h2>Prerequisites for Using the Automatic Update Manager</h2>
|
||||
<p>
|
||||
In order to use automatic updating, three programs must be
|
||||
provided. Each of these programs can be a script which uses the
|
||||
nxscript facility. It can also be a SICS command.
|
||||
<dl>
|
||||
<dt>startScript
|
||||
<dd>This program is supposed to write the static part of the file. It
|
||||
is called once when the file is created.
|
||||
<dt>updateScript
|
||||
<dd>This program is supposed to create and update the variable data
|
||||
elements in the NeXus file. This is called frequently.
|
||||
<dt>linkScript
|
||||
<dd>This program is supposed to create the links within the NeXus
|
||||
file. This is called once after startcript and updateScript have been
|
||||
run.
|
||||
</dl>
|
||||
</p>
|
||||
<h2>Installing Automatic Update</h2>
|
||||
<p>
|
||||
An automatic update object is installed into SICS with:
|
||||
<pre>
|
||||
updatefactory name countername
|
||||
</pre>
|
||||
name is a placeholder for the name under which SICS knows the
|
||||
automatic update object. name is available as a SICS command later on.
|
||||
countername is a placeholder for a counter
|
||||
object (counter or HM) which triggers automatic updating of NeXus
|
||||
files. This object has to support both the countable and callback
|
||||
interfaces of SICS. Suitable SICS objects include counter and
|
||||
histogram memory objects.
|
||||
</p>
|
||||
<h2>Configuring Automatic Update</h2>
|
||||
<p>
|
||||
The SICS command created with updatefactory (see above) supports a few
|
||||
parameters which allow for the configuration of the whole
|
||||
process. Parameters follow the normal SICS syntax. Futhermore there is
|
||||
a subcommand list, which lists all configuration
|
||||
parameters. Supported parameters are:
|
||||
<dl>
|
||||
<dt>startScript
|
||||
<dd>The program supposed to write the static part of the file.
|
||||
<dt>updateScript
|
||||
<dd>The program supposed to create and update the variable data
|
||||
elements in the NeXus file.
|
||||
<dt>linkScript
|
||||
<dd>This program supposed to create the links within the NeXus
|
||||
file.
|
||||
<dt>updateintervall
|
||||
<dd>The time intervall in seconds between updates. The defualt is
|
||||
1200, eg. 20 minutes.
|
||||
</dl>
|
||||
</p>
|
||||
</BODY>
|
||||
</HTML>
|
@ -15,6 +15,8 @@ This section describes a few commands which need not be known to SICS users.
|
||||
<li> <a href="cron.htm">Reoccuring tasks</a>.
|
||||
<li> Direct access to <a href="rs232.htm">RS232 controllers</a> through
|
||||
the terminal server.
|
||||
<li>Scripting the content of<a href="nxscript.htm"> NeXus</a> files.
|
||||
<li>Automatic <a href="nxupdate.htm">update</a> of files during long counting operations.
|
||||
</uL>
|
||||
<!latex-on>
|
||||
</P>
|
||||
|
Reference in New Issue
Block a user