Chapter 4. More information
Ë The sbind command here binds all of the spectra into the Xamine visualization program. SpecTcl
spectra need not be visible to Xamine, this command ensures they will be.
Ì Unless told to do so, the GUI’s object browser will not reflect definitions that have been made
outside the gui. This command tells the gui’s object browser (widget .gui.b), to rebuild the object
tree.
Í By convention, most experiments use the environment variable DAQHOST to store the name of the
host on which Readout runs. This code sets daqsource to be the value of the DAQHOST
environment variable if it is defined, or to localhost if it is not. This establishes the system from
which data will be analyzed.
Î Connections are specified to remote data acquisition systems using URL notation. This command
sets url to be the url corresponding to the spectrodaq server buffer request socket for the host
daqsource.
Ï The SpecTcl attach command specifies the data source from which SpecTcl will process buffers. In
this case we specify that we will accpet buffers from a pipe to which the program spectcldaq in the
data acqusition system will be attached. spectcldaq accepts data from the specified source, sampling
event data, and dumps the data to its standard output (the other end of the pipe SpecTcl is taking
buffers from.
Ð Once SpecTcl is attached to a data source the start command starts processing data from that data
source.
4.2. Using the Readout GUI ReadoutShell
ReadoutShell provides a graphical user interface front end to the readout application. This front end
supports:
• Starts the readout program on an arbitrary host.
• Starting, stopping, pausing, resuming runs
• Setting run parameters such as the title, run number and scaler readout period.
• Enabling or disabling software to start or stop recording event data to disk for later detailed analysis.
• Performing timed runs, that is runs that have a fixed pre-determined run time.
• User programmable actions to be performed when run state transitions are performed, or the Readout
program started or restarted.
• Management of data sets and symbolic links so that event data can be treated as grouped with any
arbitrary associated data files, or as just a directory containing the event data.
In this section we will create a script to start up the ReadoutShell in such a way that our readout program,
~/experiment/readout/Readout will be started by it. We will ensure our readout runs on the host
41
Kommentare zu diesen Handbüchern