Note: This is for HAPPEX DAQ. If you want to cold start spectrometer DAQ see Spectrometer DAQ cold start.
Do the following at a shell prompt on adaql1
on
the apar
account. This does a kcoda, etc, for you:
> startcoda
The Runcontrol GUI will start up. Now click on the Connect button.
Wait 10 seconds, then click on Configure. A dialog box pops up and you must choose the configuration you want, which is presumably Prex.
List of Useful DAQ Configs All these can be used for the experiment. Ask the RC which is preferred at the moment. Happex -- Full config, all crates. HapNoQweak -- Full config minus the Qweak crate (it's less important and may have crashed) HapNoPvdis -- Full config minus the PVDIS crates (ditto) HapSimple -- Full config minus Qweak and minus PVDIS. Minimum needed for HAPPEX-3
Wait for configuration to finish (see messages in text box at lower left), then click Download.
Wait for that to finish. Now you can click Start Run to start a run (see section on Running CODA).
In another workspace, open up xterms for monitoring the ROCs by starting the ROC IT GUI:
> roc_it
Click on OPEN ALL. An xterm should open for each IOC.
If you are asked for a login name, use adaq
as the user.
The password is the same as in the counting house computers. Log in if necessary to adaql1
on the apar
account
Bring up a greenmonster terminal by typing
> greenmonster
On the GreenMonster gui, click on BMW tab
To check the current dithering status, click on
> Check Status
> Enable Modulation On
Ensure that the dithering is turned on by clicking
> Check Status
Log in if necessary to adaql1
on the apar
account
To check status of feedback system and polarized source, type at shell prompt:
> runbird
Help is available using the Help button at the bottom. Settings and numbers to expect can be found in the White Bound Shift Worker Folder.
To set/check status of HAPPEX ADCs and timing boads, type at shell prompt:
> greenmonster
Click on tabs at top to examine ADCs in different crates or timing.
If a run is in progress, end it. If you can't end it, close the CODA GUI window.
There should be xterms open for each roc in the ROCS workspace. In the desired xterm, click ENTER a few times to check communication to the IOC. Then type:
> reboot
The IOC will then proceed through its booting sequence. It is ready when either of these messages appear (e.g. for ROC23/halladaq6):
"ROC23" state now "booted"
Done executing startup script /adaqfs/halla/apar/vxworks/halladaq6.boot
In the runcontrol GUI,
click Abort
click Reset
click Download
Start a new run.
ROC | Description | Location | IP Address | Portserver |
TS1 | Trigger Supervisor | Counting Room | happex4 | hatsv9 port 3 |
ROC23 | CH Crate | Counting Room | halladaq6 | hatsv9 port 4 |
ROC26 | R-arm Detectors | R-HRS Det. Stack | happex7 | hatsv10 port 5 |
ROC25 | L-arm Detectors | L-HRS Det. Stack | hallavme14 | hatsv40 port 5 |
ROC28 | R-arm PVDIS | near R-HRS Fastbus | pvdis1 | hatsv10 port 4 |
ROC29 | L-arm PVDIS | near L-HRS Fastbus | pvdis2 | hatsv4 port 5 |
ROC24 | Happex Inj Crate | Injector Serv. Bldg. | halladaq19 | hatsv18 port 4 |
ROC31 | Qweak Injector Crate | Injector Serv. Bldg. | g0inj | hatsv18 port 5 |
Note: This is for HAPPEX DAQ. If you want to run CODA for spectrometer DAQ see Running CODA for spectrometer DAQ.
Log in, if necessary, to adaql1
as user apar
The Runcontrol GUI may be already running. If not, see section HAPPEX DAQ cold start. To start and stop runs, click on the buttons Start Run and End Run. Start Run is the same as the sequence Prestart, Go.
Be sure to enable the online data monitor before starting the run, if you wish to use it during the run.
In runControl, press Reset .
Click on Configuration tab, and select HapNoQweak
Click on Download tab.
If later on, ROC 31 is rebooted, and we want to go back to Happex configuration, then follow the set of instructions outlined above replacing instances of HapNoQweak with Happex .
HAPPEX online data monitor (PANGUIN) normally starts up at start of run. To disable this "background process" enter at a shell prompt:
> panguin off
To re-enable it enter:
> panguin on
These commands have no immediate effect on analysis, but govern whether or not analysis will start at the start of the next run.
To monitor data online, log into adaql1
with the apar
account and type at a shell prompt:
> gopan
> online -f happex_lite
> gopan
> pan
> online("panguin/happex_lite")
A fairly self-evident GUI will appear. Select various pages
of plots using the buttons on the left.
NOTE: Please be warned that the GUI might
crash for several reasons. Making it work again could simply be a matter of
closing the window and restarting it. If at any point the GUI stops working
and restarting does not work, then you you must do a
HAPPEX DAQ cold start.
The HAPPEX Prompt analysis is comparable to the Detector and Physics replay that is done with the Hall-A Analyzer.
adaql5
or adaql6
with
the apar
account. ADAQL1
> gopan
> prompt
runnumber
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
> gopan
> reprompt
runnumber
$ gopan
) e.g.
$ chaprint_text
prompt_output/*_224*
to print outputs from runs 2240 to 2249. In the HAC control window, press the "Alarm Handler" label in the tools launcher. When an alarm is triggered, the bottom "Alarm Handler" will flash, then you can press there to see where the problem is.
The machine to run HAC is hacsbc2
, the second
machine from
left. At the bottom of the screen is the Linux taskbar. The sixth
symbol is tools launcher. Pressing the arrowhead
opens a menu which has:
Pressing the "Menu_HallA" label launches a subscreen titled "Hall A Main Menu". One of the entries is labelled "Tools". Pressing on the "Tool" button opens the "Hall A General Tools" screen as follows, which is often referred to as the HAC window. The old version of HAC can be found at http://hallaweb.jlab.org/document/OPMAN/node179.html.
From the HAC control window, there is a P0 SET field for each spectrometer in which you can enter the desired momentum setting. To change to a lower momentum from a higher previous setting, you just need to enter the momentum value. To bring the momentum setting up, you need to recycle the magnets for Q2 and Q3 of either arm. That is increase the current of Q2/Q3 to 1600 A for the Left arm or 1400 for the Right arm, wait for 2 minutes after they reach max, then tune down the value to the desired setting. More detailed instructions are on the white board of the counting house. There's no need to recycle magnets for Q1, Dipole and Septum.
The septum currents are not any longer automatically determined by the controls software when you enter P0 (momentum in GeV) into the Hall A controls GUI. Independent of whether you have set P0 for the HRS, you will need to set the septa currents by hand, since we are running the septa 10% higher than their nominal setpoints. For the record, here are the formulas:
Right Septum set current = 92.58 * P0 (GeV/c)John LeRose provides up-do-date info in a detailed septum controls manual.
Left Septum set current = 94.22 * P0 (GeV/c)
The target temperature is displayed
on the target GUIs,tgtcharts running
on cryotarg
as well as on the camera monitors on the
shelves above
the computers. Look at the camera monitor labeled "Control
Rack", third top little monitor. It displays the temperatures
for the three loops on three white temperature controllers, with loop
1 at the top and loop 3 on the bottom. Ask the TO for help if you
can't find the temperature or it doesn't make sense.
Note: This is for spectrometer DAQ. If you want to cold start HAPPEX DAQ see HAPPEX DAQ cold start.
The spectrometer DAQs runs on the a-onl account. Right HRS runs on adaql2 and the Left HRS runs on adaql3.
Do the following at a shell prompt on adaql2
(adaql3) for the Right (Left)
HRS DAQ on the a-onl
account:
> startcoda
Run Type = LeftHRS or RightHRS.
Details about Hall A Spectrometer DAQ and trigger see Bob Michaels's guide.html and guide2.html.
HRS-DAQ CODA Configrations
LeftHRS Left spectrometer DAQ on adaql3
RightHRS Right spectrometer DAQ on adaql2
ROC | Description | IP Address | Portserver |
ROC1 | R-arm Lower Fastbus Crate | hallasfi1 | hatsv3 port 2 |
ROC2 | R-arm Upper Fastbus Crate | hallasfi2 | hatsv3 port 8 |
TS0 | R-arm VME/Scaler | hallavme2 | hatsv3 port 3 |
ROC3 | L-arm Lower Fastbus Crate | hallasfi3 | hatsv4 port 3 |
ROC4 | L-arm Upper Fastbus Crate | hallasfi4 | hatsv40 port 6 |
TS1 | L-arm VME/Scaler | hallavme4 | hatsv4 port 7 |
We will sometimes run the spectrometer DAQ for optics, alignment check, Q2 measurement, background studies, etc.
Here are the triggers on each HRS
T1 = HAPPEX Detector = Electron calorimeter above a threshold.
T2 = S0 detector = The "AND" of two PMTs.
T3 - T7 various things for PVDIS.
T8 = usually a 1024 Hz pulser
Recall, T9 - T12 (if exist) cannot be prescaled
For details about Hall A spectrometer DAQ including reboot procedure see Bob Michaels' guide.html and guide2.html.
Note: This is for spectrometer DAQ. If you want to run CODA for HAPPEX DAQ see Running CODA for HAPPEX DAQ.
Log in, if necessary, to adaql2 (adaql3)
for Right
(Left)
HRS as user a-onl
The Runcontrol GUI may be already running. If not, see section Spectrometer DAQ cold start. To start and stop runs, click on the buttons Start Run and End Run. Start Run is the same as the sequence Prestart, Go.
For more details about Hall A DAQ and trigger see Bob Michaels's guide.html and guide2.html.
Use hapc5
which is the PC on the top at the far
right of counting room console. Normally xscaler will be running, but
if not, log on as adaq, type "xscaler" and do what is commanded of you.
To start xscaler (though usually it is already running):
xscaler
You can find all trigger rates in Normalization page.
We will do infrequent spectrometer-DAQ runs for the following purposes:
Important: Use the checklist when switching between spectrometer and HAPPEX DAQs.
Instructions for online checks:
adaq
account and
type goonlana
This should take you to
~adaq/happexsp/onlana
. The "sp" means spectrometer DAQ.bobana
and use the script
.x onlana.C
. .x online.C+("detectorL")
L-HRS detector checkout (detectorR for R-HRS)
.x online.C+("opticsL")
optics data taking check
(etc ...)
Detector | Mainframe ID/Slot # | Card # | Channel # | HV (V) | Compton GSO | 2 | 11 | 1 | -1800 | Compton Finger | 2 | 11 | 7 | -2000 | Compton Finger | 2 | 11 | 8 | -1000 |
The screen should look like this:
Left Arm (HAPPEX det/S0):
Detector | Mainframe ID/Slot # | Card # | Channel # | HV (V) | S0 - Front End | 7 | 2 | 1 | -1700 | S0 - Back End | 7 | 2 | 7 | -1700 | HAPPEX Det | 7 | 2 | 9 | -1590 (Integrate Mode) | HAPPEX Det | 7 | 2 | 9 | -1900 (Counting Mode) |
The screen should look like this:
Right Arm Bottom:
Right Arm HV are no longer available through the Hall A Tools gui.
The VNC hvgui must be used to access that HV crate. See below:
The screen should look like this:
Right Arm (HAPPEX det/S0):
Detector | Mainframe ID/Slot # | Card # | Channel # | HV (V) | S0 - Front End | 14 | 1 | -1700 | S0 - Back End | 14 | 3 | -1700 | HAPPEX Det | 14 | 9 | -1200 (Integrate Mode) | HAPPEX Det | 14 | 9 | -1600 (Counting Mode) |
Detector | Mainframe ID/Slot # | Card # | Channel # | HV (V) | Lumi #2 | 15 | 1 | -625 | Lumi #3 | 15 | 2 | -790 | Lumi #5 | 15 | 4 | -780 | Lumi #6 | 15 | 5 | -880 | Lumi #7 | 15 | 6 | -690 | Lumi #8 | 15 | 7 | -615 | Lumi #4 | 15 | 10 | -1040 | Lumi #1 | 15 | 11 | -505 |
VDC status can be checked on the HAC control window (see below). High Voltages and Gas Flows are constantly being monitored.
Bring up the HAC control window (see below)
In the "VDC HV" section, set HV to 0
In the "Miscellaneous" section, click on the Crate Resets button.
In the "Hall A Slow Controls" window, press the "Reset" button associated with the tripped HV crate.
Go back to set HV values to 4.0 kV
Below is a sample of what the output looks like (from flipper).
[apar@adaql6 ~]$ flipper **************************************** Only run this program when the IHWP change has already been made. If not, please Ctrl-C out now! Current slugnumber = 4 Increment slugnumber? (Y/N) Y New slugnumber = 5 Current IHWP = OTU Desired Settings for IHWP = OUT Hall-A IA = 4.79 Hall-C IA = 5.00 PC Pos = 8.100 PC Neg = 6.610 RHWP = 1200 Current settings (to be changed) Hall-A IA = 4.79 Hall-C IA = 5.0 PC Pos = 8.575 PC Neg = 6.125 RHWP = 1200 Writing the current seetings to file /adaqfs/halla/apar/feedback/IHWP.IN for the next flip back. Performing Flip to IHWP = OUT settings Halfwave plate OUT, Slug 5 Done... Please verify the new setpoints in the HAPPEX Feedback Monitor.
Log in to adaql1
as user adaq
Type "bta"
In the HAC control window, press the "StripTool" label in tools launcher, which allows you to plot any EPICS variables versus time.
On hopefully all adaq computers the command print
should work. Type print filename
for a file named filename
and it will print out on the cha2hp printer in the back room. If you
want to print to another printer, type print filename
otherprinter
. If that doesn't work try the command line below.
rlpr -Pcha2hp -Hjlabprt file.ps
Printing from Mozilla:
Use
File->Print...
Choose to print to printer, not file
Click on Properties (or Configuration?) of printer
In the field for Print command
, enter:
/apps/bin/rlpr -Pcha2hp -Hjlabprt
(you should only have to do this once for each account) Click Print
Alternatively, you can have Mozilla print to a Postscript file, which you can then print from the command line.
cha2hp
from a CUE machine (e.g.
jlabl1
) using pdq
will also fail. This
is not a problem specific to
the counting house computers. Only lpr
and rlpr
will work with
this printer. As user adaq
on any adaq..
machine,
simply type
> halog
Entering text is easy and straightforward. After submitting the entry, the white text on blue background in the lower right corner of the window should read 'Entry complete', otherwise something is wrong.
Entering graphics: Click Grab Screen in the bottom button row of the halog window. The halog window will disappear, and the window the cursor is in will become the active window, its outline flashing. You can select any window by clicking in it on the left mouse button. You also can select an arbitrary part of the screen by holding down the left mouse button and dragging the cursor along. All the time a rectangle will flash that indicates the selected area. Releasing the mouse button will then cause this screen area to be included into the entry. It will show up as a thumbnail picture in the halog window, where you can discard it or accept it, or go for a second screen grab. The images are in GIF format.
For more details about HALOG see halog HOWTO and FAQ page.
spot++
and checking the rasterLog in to as adaq
on adaql4
or any
other adaq Linux computer.
Make sure CODA is running with beam on. Of course, that's the spectrometer DAQ, not the HAPPEX DAQ. You'll need some triggers (adjust prescale factors to get at least 50 Hz of something, if possible).
Type spot++
from any directory, after about 30
seconds, plots will pop up.
Hint: Type "spot help"
to learn more options.
Kent Paschke Last modified: Tues Sept 23, 13:30:55 EDT 2009