66 lines
3.8 KiB
HTML
66 lines
3.8 KiB
HTML
<html>
|
|
<head>
|
|
<title> SICS counter handling </title>
|
|
</head>
|
|
<body>
|
|
<h1>SICS counter handling</h1>
|
|
<hr size=4 width="66%">
|
|
<p>
|
|
A counter in SICS is a controller which operates single neutron
|
|
counting tubes and monitors.
|
|
|
|
A counter can operate in one out of two modes: counting until a timer has
|
|
passed,
|
|
for example: count for 20 seconds. Counting in this context means that the noutrons coming in during these 20 seconds are summed together. This mode is called timer mode. In the other
|
|
mode, counting is continued until a specified neutron 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.
|
|
|
|
Again, in SICS the counter is an object which understands a set of
|
|
commands:
|
|
<ul>
|
|
<li> <b> countername setpreset <i>val</i> </b> sets the counting preset to val.
|
|
<li> <b> countername getpreset </b> prints the current preset value.
|
|
<li> <b> countername preset <i>val</i></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 <i>val</i> </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 <i>val</i> </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 <i>mode val</i></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 <i>val</i> </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 <i>n</i> </b> prints the counts gathered in the monitor number n in the last run.
|
|
<li> <b> countername count <i>preset</i> </b> starts counting in the current mode and the given 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 <i>m</i></b> retrieves the value of the threshold set for the monitor number m.
|
|
<li><b>countername setthreshold <i>m val</i></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?)
|
|
<li><b>countername send <i>arg1 arg2 arg3 ...</i></b> sends everything behind
|
|
send to the counter controller and returns the reply of the counter
|
|
box. The command set to use after send is the command set documented
|
|
for the counter box elsewhere. Through this feature it is possible to
|
|
diretclly configure certain variables of the counter controller from
|
|
within SICS.
|
|
</ul>
|
|
</p>
|
|
</body>
|
|
</html>
|