Main INDEX
Monthly INDEX
PREV
NEXT
User name adaq
Log entry time 18:38:47 on December 18, 1999
Entry number 31456
keyword=rscaler to check rates
(Bob Michaels)
A new tool exists to check scalers. On adaq account on
SunOS type "rscaler 1421 1424" to get a printout like below.
To judge if there are trigger problems, some hints: 1) only
compare same physical conditions; 2) take a look at the run
time and statistical significance; 3) look at ratio of trigger
rate to beam current.
Note, a negative beam current is due to the X10 V-to-F counting
beyond 32-bits, which I think happens in roughly 1 hour at high
currents. Not a disaster. We update scalers in the CODA file
once per 2 sec, presumably one sees the X10 ramping up.
Source is /home/adaq/scaler/rscaler/rscaler.c. If you compile,
put exec into /home/adaq/bin/SunOS. You might have to type "rehash"
the first time you use this.
Runs that dont end normally (CODA crash) dont show up in list.
=========== example printout (minus the dots) ========================
Scaler results from run 1420 to run 1424
Run....Time......Current.....T1......T2/T1......T3.........T4/T3
.......(min)....(relative)...(Hz)....(ratio)....(Hz)......(ratio)
1421...55.45...-492329.2....923.01...0.50864...25104.03....0.09093
1422....3.99....811907.8....60.32...8.31216...25614.59.....0.09162
1423...33.82....793525.2....60.20...8.26741...25067.48.....0.09199
1424....1.00....812021.2....60.90...8.04106...101716.39....0.05998