Solenoid expert pxi

From Hall D Ops Wiki
Revision as of 22:26, 14 August 2014 by Yqiang (Talk | contribs) (Analyze High Speed Data)

Jump to: navigation, search

Basic Information

A PXI system is built and configured to monitor the vital signals of the Hall-D super-conducting magnet to ensure its safe operation, particularly to detector the turn-to-turn short faults. Currently, the system contains 4 ADC modules which can sample up to 32 channels simultaneously at a maximum rate of 250 kHz. A LabVIEW RT program is automatically loaded and executed when the system is booted as a stand alone turn-key system. Through its Ethernet connection, the system hosts an EPICS server so that the measurements can be easily accessed and archived remotely. It also serves as an Ethernet device to the magnet control system based on PLC to provides various readings including current, field and voltages.

A technical note is available on GlueX DocDB - doc-2016

Information for the period of solenoid commissioning can be found here

Configuration

  • hostname: halld-pxi.jlab.org
  • ip address: 129.57.26.123

List of EPICS PVs

Control PVs
    • HallD-PXI:Control:Start: start DAQ
    • HallD-PXI:Control:Stop: stop DAQ
    • HallD-PXI:Control:Quit: quit the LabVIEW-RT program
    • HallD-PXI:Control:Zero: take 1-minuite data to calculate offsets of all channels
    • HallD-PXI:Control:Reset: reset offsets of all channels
    • HallD-PXI:Control:ForceAlarm: force the turn-to-turn alarm to be true
Status PVs
    • HallD-PXI:Status:Beat: heart beat, updating at 1Hz
    • HallD-PXI:Status:Status: indicator of current machine status
    • HallD-PXI:Status:State: state bit: 0 not running, 1 initialization, 2 running, 3-7 other running
    • HallD-PXI:Status:Error: error bit of the LabVIEW-RT program
    • HallD-PXI:Status:Message: error message of the LabVIEW-RT program
    • HallD-PXI:Status:CPU: CPU usage of the PXI system
    • HallD-PXI:Status:Interval: Time interval between two EPICS updates
    • HallD-PXI:Status:Jitter: Jitter of time intervals
    • HallD-PXI:Status:FIFO: Buffer depth for local data writing, depleted when reaches 1
    • HallD-PXI:Status:Alarm: turn-to-turn short alarm bit

How-To

Check PXI Status

From the EPICS Main GUI, open the Voltage Taps/PXI screen. The PXI status and control can be found at the bottom left of the screen. Make sure the PXI is in DAQ Running state and the Heart Beat LED is blinking.

Reboot PXI Chassis

Option I - local power cycling
  1. Climb the ladder and reach the top of the magnet where the PXI system is located.
  2. Reboot the PXI by pushing the power button in the front panel.
Option II - using remote PDU
  1. The power to the PXI system is distributed by a CyberPower PDU unit, the PXI can be rebooted using the PDU's web interface.
  2. Go to http://halldcppdu01.jlab.org (IP: 129.57.26.124).
  3. log in using user name halld and corresponding password (ask Yi[1] for password).
  4. In the left panel, click Outlet Control
  5. Check the #1 box, then choose Reboot in the pull down menu for the Select Task.
  6. Click Apply button to reboot the PXI
  7. One will be directed back to the Outlet Status page, and will see the status of PXI change to OFF then ON.

High Speed DAQ

The control of High Speed DAQ is in the same section of PXI control. 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:

  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.

Analyze High Speed Data

From EPICS GUI Solenoid_Shift#Voltages
  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.