
Chapter 3. Testing and Running the Software.
Now let’s put all the pieces together and test the system end-to-end. We will:
• Start SpecTcl
• Reload our spectrum and window definition files into SpecTcl
• Connect SpecTcl to the online system so that it will analyze data taken from our Readout program.
• Start the Readout Program
• Start a run in Readout
• Check that we see counts in our spectra in SpecTcl
First lets start SpecTcl and recover the definitions we made earlier. With your working directory set
~/experiment/spectcl, start SpecTcl by typing: ./SpecTcl
Once all of the SpecTcl windows pop up, reload the spectrum configuration using: File−→Restore... on
the GUI window. Next load the window definition file for Xamine by clicking: Window−→Read
Configuration.... You should now have an array of spectra in the Xamine window, four rows, by eight
columns, as before.
Now lets hook SpecTcl to the online system. SpecTcl has a concept of data sources. A data source is a
source of event data that SpecTcl can histogram. The Data Source menu on the SpecTcl Gui provides a
selection of data source types. Click the Data Source−→Online (spectrodaq)... menu item on the Gui
window. This will bring up the dialog shown in the following figure.
Figure 3-1. Online source host selection dialog
The NSCL Data acquisition system is a distributed system. It is therefore possible to histogram data on a
system other than the one the Readout runs on. In most real experiments at the NSCL, we do exactly that.
In this case, we will run SpecTcl and the readout program on the same system. Therefore the default host
localhost is correct. Simply click the Ok button to connect to the online system.
37
Comentários a estes Manuais