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 adaql5
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.
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:
> 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. 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 apar
account
Bring up a greenmonster terminal by typing
> greenmonster
Click on
> 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
> initBMW
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
> bmwClient_script
This will initiate dithering
Observe a non-flat bpm responses on the Dihering
section of the Online Data Monitor
greenmonster
up if it is not up already. See the section above for guidance on bringing greenmonster
up, if need be.
Click on
> Toggle Kill Switch
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.
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:
> 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 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:
> 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
Crate Location | Outlet | Crate/Portserver |
Injector | 1 | g0inj |
Injector | 2 | happex |
Injector | 3 | hatsv18 |
Right Arm | 8 | happex |
Left Arm | 4 | happex |
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 | 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 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.
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 apar
account and type at a shell prompt:
> gopan
> online -f prex
> gopan
> pan
> online("panguin/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.
adaql6
or adaql7
with
the apar
account. adaql5, adaql2 or adaql3!!!
> 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 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 a-onl
account:
> startcoda
Run Type = LeftHRS or RightHRS.
Alternative = LeftNoGem or RightNoGem (Must use RightNoGem at the moment).
Details about Hall A Spectrometer DAQ and trigger see Bob Michaels's guide.html and guide2.html.
HRS-DAQ CODA Configrations
LeftHRS or LeftNoGem Left spectrometer DAQ on adaql3
RightNoGem 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 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
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.
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) |
Compton GSO | 2 | 11 | 1 | -1800 |
Compton Finger | 2 | 11 | 7 | -2000 |
Compton Finger | 2 | 11 | 8 | -1000 |
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 Thick C12(V) | Integrating Mode Lead(V) |
upper Quartz (det2) | 14 | 4 | -2000 | -950 | -840 |
lowerQuartz (det1) | 14 | 6 | -2000 | -1000 | -890 |
A_TQuartz | 14 | 8 | -2000 | -1200 | -1000 |
upperScint | 9 | 6 | -1400 | off | off |
lowerScint | 9 | 5 | -1400 | off | off |
s0A | 15 | 0 | -1650 | off | off |
s0B | 15 | 1 | -1650 | off | off |
Name | Card | Chan | Counting Mode(V) | Integrating Mode Thick C12(V) | Integrating Mode Lead(V) |
lower Quartz (det3) | 2 | 4 | -2000 | -960 | -880 |
upperQuartz (det4) | 2 | 2 | -2000 | -900 | -780 |
A_TQuartz | 2 | 0 | -2000 | -1200 | -900 |
upperScint | 2 | 10 | -1400 | off | off |
lowerScint | 1 | 2 | -1400 | off | off |
s0A | 13 | 8 | -1550 | off | off |
s0B | 13 | 9 | -1550 | off | off |
Detector | Mainframe ID Slot # | Card # | Channel # | Lead Running HV (V) | Septum On Thick C12(V) | Septum Off Thick C12(V) |
Lumi #1 | 15 | 4 | -600 | -1170 | -900 | |
Lumi #2 | 15 | 5 | -580 | -1120 | -990 | |
Lumi #3 | 15 | 6 | -580 | -1000 | -1900 | |
Lumi #4 | 15 | 7 | -810 | -1865 | -1800 | |
Lumi #5 | 15 | 8 | -700 | -1480 | -1280 | |
Lumi #6 | 15 | 9 | -700 | -1600 | -1500 | |
Lumi #7 | 15 | 10 | -560 | -900 | -1130 | |
Lumi #8 | 15 | 11 | -530 | -1030 | -920 |
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 = 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 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 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 spot_R runNumber
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).
Hint: Type "spot help"
to learn more options.
Q2
and Q3
Last modified: April 16, 2010 R. Michaels