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
apar account. This does a kcoda, etc, for you:
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.
PREX -- Full config, all crates.
PrexNoQweak -- Full config minus the Qweak crate (it's less important and may have crashed)
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:
Click on OPEN ALL. An xterm should open for each IOC. If you are asked for a login name, use
adaqas the user. The password is the same as in the counting house computers.
Click on "Dithering" on the Online Data Monitor. If dithering is active, then the characteristic dithering plots should show some wiggles and should be updating every 8 minutes or so.
If you are not sure that dithering is active or if dithering is inactive, then call one of the dithering experts on call: Mindy(315-415-2084), John(978-337-1270), Ahmed(315-436-8047)
Log in if necessary to any of
adaql6-adaql10 machines on the
Bring up a greenmonster terminal by typing
> Toggle Kill Switch
Go to ROC23 terminal or log onto one as
telnet hatsv9 2004. If you cant log on, then it means that there is a terminal open for ROC23 already. Find it.
In the ROC23 terminal type
This will display a bunch of coil information. For coils 1-8, check that the
amplitude = 100mA, frequency=15 Hz,and # of periods = 50
If the coil parameters are other than these numbers, then call one of the experts listed above. If the coil parameters are as expected, then type
This will initiate dithering
Observe a non-flat bpm responses on the
Dihering section of the Online Data Monitor
greenmonsterup if it is not up already. See the section above for guidance on bringing
greenmonsterup, if need be.
> Toggle Kill Switch
Log in if necessary to
adaql1 on the
To check status of feedback system and polarized source, type at shell prompt:
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.
Further info about checking Feedback There have been several episodes of lost data because of a lack of vigilance on the charge asymmetry feedback. A typical problem is an incorrect lobeam cut. Do this to check: 1. Recent runs have a small charge asymmetry, less than 2 sigma. 2. Look at runbird and see if it's working. 3. "tail ~apar/feedback/feedback.log" shows recent and normal activity Call an expert if the results are unsatisfactory !
To set/check status of HAPPEX ADCs and timing boads, type at shell prompt:
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 or another workspace. (If not, type "setupxterms" on apar.) In the desired xterm, click ENTER a few times to check communication to the IOC. Then type:
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,
Start a new run.
|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||bbps1 port 5|
|ROC25||L-HRS Detectors||L-HRS Det. Stack||hallavme14||hatsv40 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
adaql5 as user
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.
To switch the configuration (in case you cannot reboot ROC31 quickly):
In runControl, press Reset .
Click on Configuration tab, and select PrexNoQweak
Click on Download tab.
If later on, ROC 31 is rebooted, and we want to go back to PREX configuration, then follow the set of instructions outlined above replacing instances of PrexNoQweak with PREX .
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
adaql5 with the
account and type at a shell prompt:
> online -f prex
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/PREX DAQ cold start.
The HAPPEX Prompt analysis is comparable to the Detector and Physics replay that is done with the Hall-A Analyzer.
adaql5, adaql2 or adaql3!!!
$ gopan) e.g.
to print outputs from runs 2240 to 2249.
$ chaprint_text prompt_output/*_224*
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
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 and Dipole.
From the HAC control window
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
Run Type = LeftHRS or RightHRS.
Alternative = LeftNoGem or RightNoGem (Must use RightNoGem at the moment).
HRS-DAQ CODA Configrations
LeftHRS or LeftNoGem Left spectrometer DAQ on adaql3
RightNoGem Right spectrometer DAQ on adaql2
|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 run the spectrometer DAQ occassionally to check Q2 and spot++.
Here are the triggers on each HRS
T1 = the S0 trigger
T5 = upper scintillator (above quartz)
T6 = lower quartz (for R-HRS only)
T8 = the usual 1024 Hz pulser
Recall, T9 - T12 (if exist) cannot be prescaled
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
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 HRS you can find all trigger rates in Normalization page. For PREX, there are 4 or 5 scalers on each spectrometer with obvious tab names.
Periodically there will be expert-driven runs with VDCs on and low current for the following purposes:
Instructions for Podd analysis:
|Detector||Mainframe ID/Slot #||Card #||Channel #||HV (V)|
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:
Info about PREX detectors from halog 313507 (but modified) The Voltage setting are for low current HRS DAQ measurements only. For integrating mode, the voltages are much lower - consult an expert for the latest settings. Hopefully the expert will update this file. Right Arm telnet method (deprecated) Use the "hvgui" instructions above !! The telnet method is a last resort which will render the HVgui unusable. From an online account telnet hatsv3 2005 Once the funky "VT100" emulator window comes up, you can navigate by typing "shift 5" to get to Card 5, "shift E" to get to Card 14 (14=E in octal), etc. You can navigate up and down channels using the up and down arrows. You can set a new voltage by typing the number in directly and hitting "enter". The keys "[" and "]"will enable or disable (turn on or turn off) individual channels.Updated 04/18/2010 by LRM Right Arm:
|Name||Card||Chan||Counting Mode(V)||Integrating Mode|
|upper Quartz (det2)||14||4||-2000||-950||-840|
|Name||Card||Chan||Counting Mode(V)||Integrating Mode|
|lower Quartz (det3)||2||4||-2000||-960||-880|
|Detector|| Mainframe ID |
|Card #||Channel #||Lead Running HV (V)|| Septum On |
| Septum Off |
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)
New slugnumber = 5
Current IHWP = OUT
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.
Important note about Feedback There have been several episodes of lost data because of a lack of vigilance on the charge asymmetry feedback. A typical problem is an incorrect lobeam cut. Do this to check: 1. Recent runs have a small charge asymmetry, less than 2 sigma. 2. Look at runbird and see if it's working. 3. "tail ~apar/feedback/feedback.log" shows recent and normal activity Call an expert if the results are unsatisfactory !
Log in to
adaql1 as user
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 filename for a file named
and it will print out on the cha2hp printer in the back room. If you
want to print to another printer, type
otherprinter. If that doesn't work try the command line below.
rlpr -Pcha2hp -Hjlabprt file.ps
Printing from Mozilla:
Choose to print to printer, not file
Click on Properties (or Configuration?) of printer
In the field for
Print command, enter:
(you should only have to do this once for each account)
/apps/bin/rlpr -Pcha2hp -Hjlabprt
Alternatively, you can have Mozilla print to a Postscript file, which you can then print from the command line.
cha2hpfrom a CUE machine (e.g.
pdqwill also fail. This is not a problem specific to the counting house computers. Only
rlprwill work with this printer.
adaq on any
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.
Log in to as
adaql4 or any
other adaq Linux computer.
Make sure CODA is running with beam on. Of course, that's the spectrometer DAQ, not the PREX DAQ. You'll need some triggers (adjust prescale factors to get at least 50 Hz of something, if possible).
If you ran the L-HRS DAQ, type
spot_L runNumber from any directory, after about 30
seconds, plots will pop up.
Recommend to stick with L-HRS DAQ, but if you did use R-HRS DAQ then type
You can get "strange printouts" of errors if you only type spot++ and the last run was for R-HRS, so it's clearer to do what is listed above than to use spot++. (note, this is because spot++ is actually spot_L).
"spot help" to learn more options.
Last modified: April 16, 2010 R. Michaels