How to use the macintosh in the test-stand
This is a brutal guide on how to use the macintosh in the test-stand to test DFBs.
First of all, you better get confident with French, because I have never been able
to change the language of that machine; if you can, you are very welcome to do it.
Unfortunately I do not have any pictures (so far) because the mac is not connected to
What kinds of test you can do
- Constant Pulse
- Pattern test
- Charge threshold
The most important test is Constant pulse, because it checks all the components
(both digital and analog) of the DFB.
The pattern test is useful only to test the digital part of the board.
The charge threshold can be done on one board at a time.
- You should use the VSC board in slot 5 of the crate in the test-stand: this allows
the communication between the mac and the crate.
- reguarding the DFBs, you can put up to 14 from slot 8 on, no matter where you put them and how many at a time.
- Before starting the program on the mac, make sure the Wiener crate is on.
Start the program
If, instead, the connection window does not appear, it probably means that the program was turned on when the crate was still off.
- Click on the Apple on the top left
- Click "Applications recentes"
- Choose DFBPPC &rarr this should pop up a connection window
Do you want direct connection to the hardware?
- click on connect
In this case, the program will not recognize the boards when you turn it on.
In order to reload the DFB configuration, do the following:
- Click on VME on the top bar &rarr a pop up window will appear
- Choose Find Interface
- Choose PCI Bit3 from the list
Perform the test
You need to have the main control window open, which has the title
DFB Global Calibration Control
if you do not see it, you can open it this way:
- click on DFB in the top panel
- choose Show main control window
The DFB Global Calibration Control window has 4 important sections:
At this point, we are ready to make the tests.
- DFB selection, which shows which DFBs are in the Wiener crate;
- Calibration sequence, where you start and stop a calibration;
- Prepare, where you set which type of calibration you want;
- Statistics, where you click to have the histograms
a window with 16 DFBs shouls appear, where the only meaningful ones are the ones in
which you really have a DFB in the crate.
- choose Pattern test from the Calibration sequence section
- check Hide Histograms from the Statistics section
- click on Start calibration from the Calibratio sequence section
- click on Book Histograms from the Statistics section
Click on Apple R to refresh or Apple E and Apple U.
You should see in the horizontal axis 64 channels per DFB.
This is the most important test.
The way to make it is exactly like Pattern test, but you have to choose Constant pulse from the menu in the Prepare section.
One other thing that is very worth doing is to increase the amplitude of the pulses in case
you see some noisy channels in this test.
Here is the how-to:
- Click on DFB in the top panel
- choose Show graphic control window
- click on the Calib Gene box &rarr a new window will appear
- Set -20 mV in the two sections
Odd Pulser Dac
Even Pulser Dac
- click on Start Calibration in the Calibration sequence again
The steps are the same as Pattern test, but you have to choose Charge threshold in the menu in the Prepare section.
Reprogram an Altera component
If you need to replace an Altera component here at SLAC (i.e. Lupe does it for you), you need to reprogram
the board in the macintosh; it is very easy (still, do not attempt to do it if you did not talk to Dominique or
- make sure there is ONLY that DFB in the crate (together with the VSC, of course)
- click on VSC in the top panel
- choose Altera
- choose Ander# &rarr where you have to choose the right number instead of #
- a pop up window appears, go to the top directory
- choose BABAR &rarr Altera &rarr JAM &rarr Ander64.JAM
- your job should be done if it does not give you any errors
Quit and turn off
To quit program, just type Apple Q.
To turn off, it is trivial if you speak French, otherwise:
- click on Special in the top panel
- then Eteindre
Last modified: Tue Mar 27 16:39:30 PDT 2007