64 lines
2.6 KiB
HTML
64 lines
2.6 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Commands supporting SICS status displays</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>Commands For Supporting SICS Status Displays</H1>
|
|
<P>
|
|
The implementation of many status displays is greatly simplified by
|
|
letting the SICS server do some of the hard work. The operation of
|
|
these commands is usually invisible to users. Some even do not
|
|
generate output accessible to the user because they send uuencoded
|
|
information. This section documents these commands for completeness
|
|
and as a reference for status display client writers.
|
|
</P>
|
|
<h2>The Reflectometer AMOR</h2>
|
|
<p>
|
|
The reflectometer AMOR probably has the most extensive of such
|
|
modules. It does a lot of things. It is configured into SICS with the
|
|
MakeAmorStatus command. Let us assume that it is configured into the
|
|
system as amorstatus. This object supports the following commands:
|
|
<dl>
|
|
<dt>amorstatus interest
|
|
<dd>This registers this connection for receiving automatic
|
|
notifications. Automatic notifications send are:
|
|
<DL>
|
|
<dt>SCANSTART
|
|
<dd> At scan start a message <b>ScanClear</b> is sent followed by the
|
|
uuencoded new x-axis for the plot.
|
|
<dt>SCANPOINT
|
|
<dd>At each scan point the arrays of counts in both detector are sent
|
|
in uuencoded form labelled arrow_spinupup and arrow_spinuplo.
|
|
<DT>COUNTSTART
|
|
<DD>The start of counting on the histogram memory. Send a message
|
|
<b>TOFClear</b> and then the uuencoded time binning labelled
|
|
arrow_time.
|
|
<DT>FILELOADED
|
|
<DD>activated each time user defined model data is loaded into the
|
|
SICS server. This data gets send as arrow_name in uuencoded form. Both
|
|
x- and y-axis are sent in floating point.
|
|
</DL>
|
|
Please note that floating point data is transformed to fixed point by
|
|
multiplication of 65653 before transfer. The first number in each
|
|
uuencoded message is an integer describing the length of the data. In
|
|
case of double data such as fileloaded the y-data follows immediatetly
|
|
after the x-data. Also the approriate data is automatically sent after
|
|
the interest command.
|
|
<dt>amorstatus collapse
|
|
<dd>sums all counts in all detectors in time and sends the data back
|
|
as an uuencoded image. The first two numbers in the message define the
|
|
dimensions of the data.
|
|
<dt>amorstatus sample name x1 x2 y1 y2
|
|
<dd>Sums the detector counts on an area defined by the rectangle x1,
|
|
x2, y1, y2. The length of this is the time binning. The data is sent
|
|
back in uuencoded form labelled arrow_name.
|
|
<dt>amorstatus clear
|
|
<dd> Clears all user loaded data.
|
|
<dt>amorstatus load filename scale
|
|
<dd> loads user defined data for distribution to the status display
|
|
clients. The y data is scaled according to the scale factor provided.
|
|
</dl>
|
|
</p>
|
|
</BODY>
|
|
</HTML>
|