Initial revision
This commit is contained in:
59
doc/user/counter.htm
Normal file
59
doc/user/counter.htm
Normal file
@ -0,0 +1,59 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> SICS counter handling </title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>SICS counter handling</h1>
|
||||
<hr size=4 width="66%">
|
||||
<p>
|
||||
This section deals with the SICS interface to single counters.
|
||||
Where the SICS counter concept may include several monitors per
|
||||
counter. A counter is, again, a named object which takes commands.
|
||||
A word or two has to be lost about the SICS handling of preset values for counters.
|
||||
Two modes of operation have to be distinguished: counting until a timer has passed,
|
||||
for example: count for 20 seconds. This mode is called timer mode. In the other
|
||||
mode, counting is continued until a control monitor has reached a certain
|
||||
preset value. This mode is called Monitor mode. The preset values in Monitor
|
||||
mode are usually very large. Therefore the counter has an exponent data variable.
|
||||
Values given as preset are effectively 10 to the power of this exponent. For
|
||||
instance if the preset is 25 and the exponent is 6, then counting will be
|
||||
continued until the monitor has reached 25 million. Note, that this scheme with
|
||||
the exponent is only in operation in Monitor mode.
|
||||
|
||||
The commands understood are:<ul>
|
||||
<li> <b> countername SetPreset val </b> sets the counting preset to val.
|
||||
<li> <b> countername GetPreset </b> prints the current preset value.
|
||||
<li> <b> countername preset val</b> With a parameter sets the preset, without inquires the preset value. This is a duplicate of getpreset and setpreset which has been provided for consistency with other commands.
|
||||
<li> <b> countername SetExponent val </b> sets the exponent for the counting
|
||||
preset in monitor mode to val.
|
||||
<li> <b> countername GetExponent </b> prints the current exponent used
|
||||
in monitor mode.
|
||||
<li> <b> countername SetMode val </b> sets the counting mode to val. Possible values are Timer for timer mode operation and Monitor for waiting for a monitor to reach a certain value.
|
||||
<li> <b> countername GetMode </b> prints the current mode.
|
||||
<li> <b> countername mode val</b> With a parameter sets the mode,
|
||||
without inquires the mode value. This is a duplicate of getmode and
|
||||
setmode which has been provided for consistency with other
|
||||
commands. Possible values for val are either monitor or timer.
|
||||
<li> <b> countername SetExponent val </b> sets the exponent for the counting
|
||||
preset in monitor mode to val.
|
||||
<li> <b> countername GetCounts </b> prints the counts gathered in the last run.
|
||||
<li> <b> countername GetMonitor n </b> prints the counts gathered in the monitor number n in the last run.
|
||||
<li> <b> countername Count preset </b> starts counting in the current mode and the the preset preset.
|
||||
<li> <b> countername status </b> prints a message containing the preset and
|
||||
the current monitor or time value. Can be used to monitor the progress of
|
||||
the counting operation.
|
||||
<li> <b> countername gettime </b> Retrieves the actual time the counter
|
||||
counted for. This excludes time where there was no beam or counting was
|
||||
paused.
|
||||
<li><b>countername getthreshold m</b> retrieves the value of the threshold
|
||||
set for the monitor number m.
|
||||
<li><b>countername setthreshold m val</b> sets the threshold for monitor m
|
||||
to val. WARNING: this also makes monitor m the active monitor for evaluating
|
||||
the threshold. Though the EL7373 counterbox does not allow to select the
|
||||
monitor to use as control monitor in monitor mode, it allows to choose
|
||||
the monitor used for pausing the count when the count rate is below the
|
||||
threshold (Who on earth designed this?)
|
||||
</ul>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user