Using NCSL DAQ Software to Readout a CAEN V785 Peak-Sensing ADC

Timothy Hoagland

Ron Fox


Table of Contents
Preface
1. The electronics
1.1. A minimal Electronics Setup
2. Setting up the software
2.1. Readout software
2.1.1. Modifying the Readout Skeleton
2.1.2. Integrating your event segment with Readout
2.1.3. Making your Readout Executable
2.1.4. Testing the Readout Software
2.2. SpecTcl Histogramming Software
2.2.1. How to copy the SpecTcl skeleton
2.2.2. How to modify the skeleton to unpack events.
2.2.3. Building the tailored SpecTcl
2.2.4. Setting up SpecTcl Spectra
3. Testing and Running the Software.
4. More information
4.1. Scripting and desktop icons
4.1.1. Scripts and a desktop shortcut for SpecTcl
4.2. Using the Readout GUI ReadoutShell
4.3. Creating desktop icons
5. Complete program listings.
5.1. Readout Software
5.2. SpecTcl software
List of Figures
1-1. A simple electronics setup for the CAEN V785
1-2. Pulser Output Signal
1-3. Amplifier Output SIgnal
1-4. Amplified Signal with Logic pulse
1-5. Amplified Signal and Gate
2-1. The GUI window as it first appears.
2-2. The Gui with folders open to show parameter array elements
2-3. The Spectrum creation dialog box
2-4. 1-d Spectrum editor.
2-5. Created Spectra.
2-6. Initial Xamine Window
2-7. The Pane Geometry dialog
2-8. Spectrum Choice dialog
3-1. Online source host selection dialog
3-2. Sample Pulser Peak
List of Examples
2-1. Header for MyEventSegment
2-2. Implementation of CMyEventSegment
2-3. MyEventProcessor.h - header for the event processor.
2-4. Implementation of the MyEventProcessor class
4-1. SpecTcl startup script.
4-2. The spectcl.tcl SpecTcl startup script
4-3. Starting ReadoutShell ~/bin/startreadout
5-1. MyEventSegment.h
5-2. MyEventSegment.cpp
5-3. Skeleton.cpp
5-4. Makefile
5-5. startreadout script
5-6. MyEventProcessor.h
5-7. MyEventProcessor.cpp
5-8. MySpecTclApp.cpp
5-9. Makefile
5-10. startspectcl
5-11. SpecTcl Setup file setup.tcl