Author: Marc Mengel, Fermilab
This document will attempt to describe the normal usage of the Recycler BPM Calibration Application.
It assumes you have a working knowledge of the ACNET Console system (i.e. how to log on, start a console session, and find applications in the index page, etc.)
NOTE: to make this document print well, the graphics screen images here are presented as negated images, so the following colors are swapped:
and lets you choose between three major modes of operation:BPM Calibration Main
♦New Calibration Run♦ ♦Retrieve Old Run♦ ♦View BPM History♦
Choosing "New Calibration Run" on the main screen takes you to a screen
to let you choose options about the test you run. For most normal cases, you will want to simply choose "Bunched" for the "Waveform" type and hit "Start", but there are several options you may want to choose:Run Calibration
House Range: -<RBPM10 >+-<RBPM31 >+ Waveform: -<Fake >+ Levels: -<All >+ Progress: < > ♦Start♦ ♦Dismiss♦
Set both selections to the same house to test just that house.
NOTE: The "Fake" waveform, if chosen, does not actually run a calibration test; instead data is filled in to the tables for graphing as if a test had been run.
Once you hit ♦Start♦, an Abort button will come up to let you abort the test if you need to for any reason, and the Progress: slider will move as the test progresses.
When the test is completed, the "View Results" screen will come up, and a graphics window with 2 graphs will be displayed.
The View results screen
and accompanying graphics screenView Results Date: 05-DEC-2003 12:05:00 Note: THURSDAY RUN Graph: -
+ Level: - + Data: -<H Raw Ratio>+ HRange: -<R:HP100 >+ -<R:HP518 >+ VRange: -1 1 Save in List Bad ♦Spreadsheet♦ ♦Screen♦ ♦Database♦ ♦Email♦ ♦Email♦ ♦Dismiss♦
Data column names are 3 characters (just like the column headings in the database):
Level Type Ratio ----- ---- ----- l(ow) r(aw) 1(:1) m(ed) s(caled) 2(:1) h(igh) i(ntensity) e(rror)Files are saved in userb:[pic.excel] on the console Vaxcluster by default.
This is the normal display to spot bad BPMS (i.e. VP303 in the preceding graphs). There should be a row of blue squares between the lower yellow lines, and a row of white diamnonds between the upper yellow lines. Both should have error-bar lines not much wider than the yellow acceptable-range lines
This shows the actual position of our test data, if you want a physical number to show how far away from where it should be the BPM is reading.
this shows the intensity value.
If the BPM has equal gain between the A and B channels, it will have a red diamond at 0, and white square at 1, showing the (A-B)/(A+B) and A/B values, respectively. For example R:HP108 in the graph
If the BPM has fixed, but uneven gain ratio between the A and B channels, there will be a spread of colored diamonds near 0, and a white box somewhat above or below 1 indicating the (constant) A/B ratio. For example R:HP112 in the graph.
If the BPM has varying gain ratio between A and B, you would get a spread of colored boxes near 1, (but so far we've never seen this).
Note: changing the ranges for Histograms currently doesn't work.
lets you pick results previously saved to the database, and review the graphs, save the data as a spreadsheet, etc. First you get a screen with the list of saved items, which you can scroll through using the scrollbar, and select one by clicking on it.Retrieve Old Run
Run Date Note4 05-NOV-2003 12:00:00 TEST RUN 8 05-NOV-2003 14:05:03 ANOTHER TEST♦Load♦ ♦Delete♦ ♦Dismiss♦
Pressing the ♦Load♦ button will load the selected data, and take you to the Results screen as if you had just run that test.
Pressing the ♦Dismiss♦ button will take you back to the main screen as if nothing had happened.
Pressing ♦Delete♦ lets you delete an old run from the database.
lets you pick a BPM to review the previous values read in calibrating that BPM, and to look for trends in changes in the values associated with that BPM.Retrieve BPM History
BPM: -<Horiz>+ -<R:HP100 >+ ♦Get History♦ ♦Dismiss♦
You pick either horizontal or vertical, and pick the BPM from that list.
Clicking the ♦Get History♦ button gets you a trimmed down Results screen, and lets you select various graphs for that item.
NOTE: A given BPM's history will only valid data for Horizontal or Vertical graphs, but not both.
Currently the BPM Calibration application uses two tables in the "appdb" database:
appdb.mengel.BPM_Calibration_Run_Info ( run_number int not null, date smalldatetime not null, note char(30) not null, ) appdb.mengel.BPM_Calibration_Values ( bpm_name char(8) not null, run_number int not null, lr1 real not null, mr1 real not null, hr1 real not null, lr2 real not null, mr2 real not null, hr2 real not null, ls1 real not null, ms1 real not null, hs1 real not null, ls2 real not null, ms2 real not null, hs2 real not null, li1 real not null, mi1 real not null, hi1 real not null, li2 real not null, mi2 real not null, hi2 real not null, le1 real not null, me1 real not null, he1 real not null, le2 real not null, me2 real not null, he2 real not null, )Data feild names are 3 characters (just like the column headings in the spreadsheet save format):
Level Type Ratio ----- ---- ----- l(ow) r(aw) 1(:1) m(ed) s(caled) 2(:1) h(igh) i(ntensity) e(rror)
CNS55> isql/server=ADBS/user="your_username" Password: 1> use appdb 2> go 1> select * from appdb.mengel.BPM_Calibration_Run_Info 2> go run_number date note ----------- -------------------------- ------------------------------ 4 Nov 5 2003 12:00PM TEST BEFORE CHOIR 8 Nov 5 2003 3:23PM FIRST AFTERNOON RUN MI50 11 Nov 6 2003 4:11PM YA AFTERNOON RUN 17 Nov 20 2003 4:18PM TEST LISTEN MODE 18 Nov 20 2003 4:22PM TEST FULL RR RUN 19 Nov 20 2003 4:34PM EVERYBODYS STUCK AGAIN... 20 Feb 27 2004 10:14AM MI60 W/ PROTONS 21 Feb 27 2004 10:59AM 22 Feb 27 2004 10:59AM FULL RING NO BEAM (9 rows affected) 1>quit CNS55>Here we've connected to the database, and just dumped out the run information table. But there are lots of possibilities. Here are some sample queries: