package require s800
s800::Initialize ?host? ?port?
s800::OnBegin
s800::OnEnd
$DAQHOME/bin/ReadoutShell -host=localhost -path=$DAQHOME/bin/dummyrdo -nomonitor
ReadoutCallouts.tcl package that allows ReadoutGUI to control the S800 readout software, get data from the s800 event builder and insert it into NSCLDAQ rings.
See COMMANDS below for a description of each command and where it should be used. See EXAMPLES below as well for a sample ReadoutCallouts.tcl file. The final entry in the SYNOPSIS section above describes how to invoke the ReadoutGUI in the context of an S800 experiment.
Initializes the s800 package. This involves setting up a connection to the S800 Readout program, adding a status line to the ReadoutGUI that shows the status of its readout GUI. It also removes the
button as the S800 readout program does not support pausing runs.Exit handlers are also created to ensure that everthing gets cleaned up on most exits.
The optional host
and
port
parameters are the host on
which the s800 readout program is running and the port
on which it is listening for a control connection. These
have the correct default values.
Should be called from your OnBegin
proc in your ReadoutCallouts.tcl
file. This does what's needed to start the S800
readout program taking data. If necessary, the pipeline
that takes data from the S800 eventbuilder and inserts
those data into an NSCLDAQ ring is started.
Should be called from your OnBegin
function to end the run in the S800.