Difference between revisions of "Active Collimator"

From GlueXWiki
Jump to: navigation, search
(High Speed ROOT File Writer)
(High Speed DAQ for the Active Collimator)
Line 13: Line 13:
 
== High Speed DAQ for the Active Collimator ==
 
== High Speed DAQ for the Active Collimator ==
  
=== Basic Information ===
+
=== High Speed ROOT File Writer ===
  
 +
An EPICS IOC server is set up on '''gluon29.jlab.org:26064''' to write the raw waveform data to <code>/gluonraid1/Users/ac</code> directory on demand.
 +
 +
The control of this High Speed DAQ can be found in Hall-D's EPICS GUI:
 +
# Open CSS EPICS Control following [https://hdops.jlab.org/wiki/index.php/Slow_Controls_Shift#EPICS_Control_Screens instructions]
 +
# From '''Main Action Bar''', open '''Active Collimator''' GUI.
 +
# Start or Stop the '''High Speed ROOT File''' by clicking the button underneath the title.
 +
# Once started, make sure the a new ROOT file is created and the File Size is increasing.
 +
 +
In very rare occasions, e.g. some one rebooted the AC DAQ server, the writer IOC needs to be restarted
 +
 +
; Reboot using command lines:
 +
 +
# Log onto '''gluon29''' using '''hdsys''' account
 +
# <code>telnet localhost 26064</code>
 +
# Restart the IOC by keyboard combination '''Ctrl'''+'''X'''
 +
# Exit the IOC proServer by keyboard combination '''Ctrl'''+''']'''
 +
# Exit the telnet by typing <code>quit</code>
 +
 +
=== Analyze the Raw Data ===
 +
 +
; From Active Collimator GUI:
 +
# Click the '''Analyzer''' button in the PXI Fast DAQ section.
 +
 +
; From a Linux terminal:
 +
# log onto a gluon machine, e.g. '''gluon30.jlab.org''', using account '''hdops''': <code>ssh -X hdops@gluon30</code>
 +
# enter acanalyzer directory: <code>cd ~\acanalyzer</code>
 +
# start the analyzer script:  <code>./run</code>
 +
# in the analyzer, open a collection of raw data files or a processed ROOT file and start the analysis.
  
 
=== List of EPICS PVs ===
 
=== List of EPICS PVs ===
Line 49: Line 77:
 
*<code>IPMHDACO_GAINYP</code>
 
*<code>IPMHDACO_GAINYP</code>
 
*<code>IPMHDACO_GAINYM</code>
 
*<code>IPMHDACO_GAINYM</code>
 
=== High Speed ROOT File Writer ===
 
 
An EPICS IOC server is set up on '''gluon29.jlab.org:26064''' to write the raw waveform data to <code>/gluonraid1/Users/ac</code> directory on demand.
 
 
The control of this High Speed DAQ can be found in Hall-D's EPICS GUI:
 
# Open CSS EPICS Control following [https://hdops.jlab.org/wiki/index.php/Slow_Controls_Shift#EPICS_Control_Screens instructions]
 
# From '''Main Action Bar''', open '''Active Collimator''' GUI.
 
# Start or Stop the '''High Speed ROOT File''' by clicking the button underneath the title.
 
# Once started, make sure the a new ROOT file is created and the File Size is increasing.
 
 
In very rare occasions, e.g. some one rebooted the AC DAQ server, the writer IOC needs to be restarted
 
 
; Reboot using command lines:
 
 
# Log onto '''gluon29''' using '''hdsys''' account
 
# <code>telnet localhost 26064</code>
 
# Restart the IOC by keyboard combination '''Ctrl'''+'''X'''
 
# Exit the IOC proServer by keyboard combination '''Ctrl'''+''']'''
 
# Exit the telnet by typing <code>quit</code>
 
 
=== Analyze the Raw Data ===
 
 
; From Active Collimator GUI:
 
# Click the '''Analyzer''' button in the PXI Fast DAQ section.
 
 
; From a Linux terminal:
 
# log onto a gluon machine, e.g. '''gluon30.jlab.org''', using account '''hdops''': <code>ssh -X hdops@gluon30</code>
 
# enter acanalyzer directory: <code>cd ~\acanalyzer</code>
 
# start the analyzer script:  <code>./run</code>
 
# in the analyzer, open a collection of raw data files or a processed ROOT file and start the analysis.
 

Revision as of 12:07, 20 October 2014

Notes from meetings with Accelerator Group

High Speed DAQ for the Active Collimator

High Speed ROOT File Writer

An EPICS IOC server is set up on gluon29.jlab.org:26064 to write the raw waveform data to /gluonraid1/Users/ac directory on demand.

The control of this High Speed DAQ can be found in Hall-D's EPICS GUI:

  1. Open CSS EPICS Control following instructions
  2. From Main Action Bar, open Active Collimator GUI.
  3. Start or Stop the High Speed ROOT File by clicking the button underneath the title.
  4. Once started, make sure the a new ROOT file is created and the File Size is increasing.

In very rare occasions, e.g. some one rebooted the AC DAQ server, the writer IOC needs to be restarted

Reboot using command lines
  1. Log onto gluon29 using hdsys account
  2. telnet localhost 26064
  3. Restart the IOC by keyboard combination Ctrl+X
  4. Exit the IOC proServer by keyboard combination Ctrl+]
  5. Exit the telnet by typing quit

Analyze the Raw Data

From Active Collimator GUI
  1. Click the Analyzer button in the PXI Fast DAQ section.
From a Linux terminal
  1. log onto a gluon machine, e.g. gluon30.jlab.org, using account hdops: ssh -X hdops@gluon30
  2. enter acanalyzer directory: cd ~\acanalyzer
  3. start the analyzer script: ./run
  4. in the analyzer, open a collection of raw data files or a processed ROOT file and start the analysis.

List of EPICS PVs

Here are the waveform records with size of 8192, N9 are inner and N10 are outer:

  • iochdcol:BPM:N9:raw_XP
  • iochdcol:BPM:N9:raw_XM
  • iochdcol:BPM:N9:raw_YP
  • iochdcol:BPM:N9:raw_YM
  • iochdcol:BPM:N10:raw_XP
  • iochdcol:BPM:N10:raw_XM
  • iochdcol:BPM:N10:raw_YP
  • iochdcol:BPM:N10:raw_YM

These are the 16-bit count readings for individual plates that are always available and filtered down to ~1Hz (same order as above):

  • IOCHDCOL:VMICADC1_1
  • IOCHDCOL:VMICADC2_1
  • IOCHDCOL:VMICADC3_1
  • IOCHDCOL:VMICADC4_1
  • IOCHDCOL:VMICADC1_2
  • IOCHDCOL:VMICADC2_2
  • IOCHDCOL:VMICADC3_2
  • IOCHDCOL:VMICADC4_2

And the gains:

  • IPMHDACI_GainSub
  • IPMHDACI_GAINXP
  • IPMHDACI_GAINXM
  • IPMHDACI_GAINYP
  • IPMHDACI_GAINYM
  • IPMHDACO_GainSub
  • IPMHDACO_GAINXP
  • IPMHDACO_GAINXM
  • IPMHDACO_GAINYP
  • IPMHDACO_GAINYM