Difference between revisions of "Active Collimator"

From GlueXWiki
Jump to: navigation, search
(High Speed DAQ for the Active Collimator)
Line 12: Line 12:
  
 
== High Speed DAQ for the Active Collimator ==
 
== High Speed DAQ for the Active Collimator ==
 +
 +
=== Basic Information ===
 +
 +
 +
=== List of EPICS PVs ===
 +
 +
Here are the waveform records with size of '''8192''', N9 are inner and N10 are outer:
 +
<code>iochdcol:BPM:N9:raw_XP</code>
 +
<code>iochdcol:BPM:N9:raw_XM</code>
 +
<code>iochdcol:BPM:N9:raw_YP</code>
 +
<code>iochdcol:BPM:N9:raw_YM</code>
 +
<code>iochdcol:BPM:N10:raw_XP</code>
 +
<code>iochdcol:BPM:N10:raw_XM</code>
 +
<code>iochdcol:BPM:N10:raw_YP</code>
 +
<code>iochdcol:BPM:N10:raw_YM</code>
 +
 +
These are the 16-bit count readings for individual plates that are always available and filtered down to ~1Hz (same order as above):
 +
<code>IOCHDCOL:VMICADC1_1</code>
 +
<code>IOCHDCOL:VMICADC2_1</code>
 +
<code>IOCHDCOL:VMICADC3_1</code>
 +
<code>IOCHDCOL:VMICADC4_1</code>
 +
<code>IOCHDCOL:VMICADC1_2</code>
 +
<code>IOCHDCOL:VMICADC2_2</code>
 +
<code>IOCHDCOL:VMICADC3_2</code>
 +
<code>IOCHDCOL:VMICADC4_2</code>
 +
 +
And the gains:
 +
<code>IPMHDACI_GainSub</code>
 +
<code>IPMHDACI_GAINXP</code>
 +
<code>IPMHDACI_GAINXM</code>
 +
<code>IPMHDACI_GAINYP</code>
 +
<code>IPMHDACI_GAINYM</code>
 +
<code>IPMHDACO_GainSub</code>
 +
<code>IPMHDACO_GAINXP</code>
 +
<code>IPMHDACO_GAINXM</code>
 +
<code>IPMHDACO_GAINYP</code>
 +
<code>IPMHDACO_GAINYM</code>
 +
 +
=== High Speed DAQ ===
 +
 +
While high speed data are always served by the PXI EPICS IOC, another EPICS IOC server is set up on '''gluon29.jlab.org:26060''' to write the data to <code>/gluonraid1/Users/PXI</code> directory on demand.
 +
 +
The control of High Speed DAQ is in the [[Solenoid_EPICS_Screen#Voltages | Voltage Taps/PXI 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.
 +
If not, one need to restart the '''pxiroot''' EPICS IOC:
 +
 +
; Reboot through CSS GUI:
 +
 +
# In the '''Main Action Bar''', click '''Status of IOCs'''
 +
# In the '''IOC Status''' screen, click the '''Solenoid PXI Interface''' and choose '''View Status of IOC for Solenoid PXI Interface'''
 +
# In the '''IOC Diagnostics for Solenoid PXI''' screen, click '''Hard Reboot''' to restart the IOC.
 +
# Verify that the all the connections to the IOC are reestablished after the reboot: no pink boxes in the PXI screen.
 +
 +
; Reboot using command lines;
 +
 +
# Log onto '''gluon29''' using '''hdsys''' account
 +
# <code>telnet localhost 26060</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 High Speed Data ===
 +
 +
; From [[Solenoid_EPICS_Screen#Voltages | Voltage Taps/PXI 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 the solenoid directory: <code>cd ~\solenoid</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:16, 17 October 2014

Notes from meetings with Accelerator Group

High Speed DAQ for the Active Collimator

Basic Information

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

High Speed DAQ

While high speed data are always served by the PXI EPICS IOC, another EPICS IOC server is set up on gluon29.jlab.org:26060 to write the data to /gluonraid1/Users/PXI directory on demand.

The control of High Speed DAQ is in the Voltage Taps/PXI 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. If not, one need to restart the pxiroot EPICS IOC:

Reboot through CSS GUI
  1. In the Main Action Bar, click Status of IOCs
  2. In the IOC Status screen, click the Solenoid PXI Interface and choose View Status of IOC for Solenoid PXI Interface
  3. In the IOC Diagnostics for Solenoid PXI screen, click Hard Reboot to restart the IOC.
  4. Verify that the all the connections to the IOC are reestablished after the reboot: no pink boxes in the PXI screen.
Reboot using command lines;
  1. Log onto gluon29 using hdsys account
  2. telnet localhost 26060
  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 High Speed Data

From Voltage Taps/PXI 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 the solenoid directory: cd ~\solenoid
  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.