setup cdfvme_common
In a directory, say fdaq, have the following files:
crate0.crate
Their contents are as follows.
crate0.crate
Class: CDF.Crate Command Group: 0
[FRED]
[TESTCLOCK]
[DIRAC]
[CRATESUM]
[PFRED]
[TSCR]
[ADMEM]
std.testclock
sys.properties
system.cfg
In the Generic Data Acquistion Control window, go to File-Edit Config. In the new window that appears, you can change the location of boards and add/remove other boards from the crate. Changes you make will be reflected in the file crate0.crate. In our setup, we have the testclock board in slot 13 (base address 0x70000000) and the tdc board in slot 20. The tdc board isn't entered here because there are no software tests for it. We are using the fdaq software to control the testclock to send a clock and L1 accepts to the tdc board.
Under File-Preferences, make sure that both the Init Boards and Open Connection options are checked.
Now go to DAQ-Init System.
This should initialize all the boards in the crate. Next, go to Board Status-Testclock.
This will bring up a Testclock Status Page.
On the Main tab, check "Clock Back Plane Enable" and hit write. The cdf clock should now be enabled.
Next, go to the TSIE tab. Make sure "tsie backplane Enable" is checked. Load FIFOA with file: /home/maryh/fdaq/single.dat. The contents of this file are:
H200 "sync
After loading the file, hit "start tsie", this will send the single level 1 accept that was specified in the single.dat file.
That's it. To do more things, change the file single.dat. The manual Testclock V.7 in the shop has the details on what goes in here.
setup cdfvme_template
setup cdfvme_teststand
setup fision
setup fred
setup pfred
setup cratesum
setup dirac -j
setup testclock
setup tscr
setup fdaq v2
setup admemmod v1_1
setup jdk
alias fdaq='java -Xbootclasspath/p:${ROBIN_DIR}/classes -ss1m fdaq.fdaq'
std.testclock
sys.properties
system.cfg
[MVME]
Location: bilbo Server Name: bilbo.uchicago.edu IDtxt: FCC-DAQ1Class:
Slot: 13 Base Addr: 0x70000000 IDtxt: testclock Cfg File: std.te
stclock
7
false FIFO A
false FIFO B
false TSIE
false Software
false Taxi
false TSIE
true Clock Cable
false External Trigger
false Clock Backplane
#System Parameters
#Thu Mar 04 14:03:23 CST 2004
cdf.FontFace=TimesRoman
cdf.OpenConnection=true
cdf.InitBoards=true
fred.MyPref=true
cdf.FontSizeChange=-2
cdf.DisplayStderr=false
cdf.SysFontStyle=false
[VME_CRATES]
crate0.crate
Start the fdaq program with the command "fdaq", which is an alias set up in the previous commands. You'll get an error "Cannot Find Class admem.Admem", just ignore it.
H008 "L1 reject--don't know why need this, but all samples have it
H200 "sync
H004 "L1 accept -> buffer 0
H002 "L2 word
H008 "L1 reject--if I take this out, strange things happen