Changes to DAQ tests

Download Report

Transcript Changes to DAQ tests

SctRodDaq
• Calibration mode
–
–
–
–
GUI improvements
Error reporting
New & improved tests
Information for offline
• Physics mode
14 Feb 2006
Alan Barr, UCL
1
Modify various
parameters
on-the-fly
TIM module GUI
view or modify
registers
New “DAQ crate view”
14 Feb 2006
Alan Barr, UCL
2
To err is … inevitable
• All data errors are reported by SctApi
(SctApiCrateServerX.out file)
• In case of a scan stall it is now much easier
to find out what the cause of the problem is
• Errors reported clearly in RawScanResult
output
– ROD-triggered scans and TIM-triggered scans
• DSP code also does error-counting per link
– not currently read out
14 Feb 2006
Alan Barr, UCL
3
Error report on stall
14 Feb 2006
Alan Barr, UCL
4
Errors calculated
from “absent
events”
14 Feb 2006
Alan Barr, UCL
5
RxThreshold
• Optical cross-talk
– Config register modified (for the duration
of this scan) so that adjacent fibres send
different data
• If optical cross-talk is present
it should now be visible
• Analysis
Chip
05
813
CalMode
2
1
Compression
2
1
TrimRange
2
1
– More robust analysis
• Looks for valid headers (111010) rather than just ‘any
combination of clean binary data’
– ‘Rise time’ of VCSEL amplitude calculated (number
clocks between 25% and 75% max signal)
– Long rise time ‘linked with infant mortality’
14 Feb 2006
Alan Barr, UCL
6
max
best
min
“Normal” link
Worst-case link
14 Feb 2006
Alan Barr, UCL
max,
min &
best!
7
Tim Triggers
• Fixed Frequency Trigger Veto in place
– We cannot run synchronous calibration
scans with FFT!
– “SynchTriggerNoise” test now uses
TIMs pseudo-randomised triggers
• [For those in the know it’s the randomiser
version 2]
– Check is made for FFTV application
– Warning message if FFTV has been
applied during scan  statistics sent to
MRS
14 Feb 2006
Alan Barr, UCL
8
Synch Double Triggers
• Uses TIM sequencer to send pairs of L1A’s
separated by a time interval which is
scanned
• The pairs are initiated by randomiser 2
– Otherwise FFTV would
• Analysis same as for “normal” double trigger
noise
– Look for optical/electrical pick-up on second
trigger at T ~ L1 pipeline depth
Δt
Δt
Δt
Δt
Triggers
t
14 Feb 2006
Alan Barr, UCL
9
General analysis
improvements
• Scan options are recorded in book-keeping
data and are reproduced in test result
– Much easier to work out from data exactly
how the test was performed
• Options such as “Full” / “Tim” / “Ope” etc.
• Distinguishes e.g. DoubleTriggerNoise (TIM=0) from
SynchDoubleTriggerNoise (Tim=1)
• Visible in summaries too
– Part way towards fully-configurable scans
14 Feb 2006
Alan Barr, UCL
10
Tim external trigger
• Trigger to TIM from LEMO
– Tested with cosmics trigger from TRT
– “Full mode” scan  all three time bins
– Analysis & display understand how to
interpret different time bins
• Combine all information into single plot
14 Feb 2006
Alan Barr, UCL
11
Full Scan - PreTriggerNoise
10 bins
30 bins
Time bin t-1
Time bin t
Time bin t+1
14 Feb 2006
• Scan delay in steps of
3*bunch crossings
• Histogram all 3 time bins
• Combine information in
analysis
Alan Barr, UCL
12
Calibration Information flow
Displays
Results of Scan &
Tests produced by
SctRodDaq
(Raw, Fits, Analysed)
Reads +
interprets
Text summaries
(Assembly DB)
Bad channels, Noise,
Noise Occ to COOL
via CDI
Archiving to file
14 Feb 2006
Replacement of text summaries by IS summaries in
progress – should improve GUI performance
Alan Barr, UCL
13
Physics Mode
• Physics mode “proven”
– Large system with 6 pc’s, dozens of processes
• Not yet routine
– Still at “expert level”
– Need to do some “by hand” work on transition
• Combined testing done with TRT DAQ
– Data output as text from eventDecoder
– No online test of Athena or Monitoring as yet
• Though should be possible in principle
• Several new features already made to Atlantis on request
14 Feb 2006
Alan Barr, UCL
14
Physics running
TRT LTP
SCT LTP
Events
TIM
Triggers
Scintillators
ROD
ROD
ROD
ROD histogramming
during physics running
not yet fully available
SBC
14 Feb 2006
Alan Barr, UCL
ROS
To …
Event display
Monitoring
Analysis PC,
GUI
15
Known shortcomings
• Complete test with DIM (new DCS
interface) still to be done
• Transition between physics mode and
calibration mode needs smoothing
• Some details of ROD firmware still
being investigated
– XXX more here XXX
14 Feb 2006
Alan Barr, UCL
16
Improvements on the cards
• Sorting out previous shortcomings!
• Fully configurable scans
– Set scan points, options etc in advance via GUI
• Increased speed for raw scans
– Needs on-rod compression of histogram data
– In binaries but not used in current release
• Readout of DSP’s errorInfo scans
– Full info about errors by link and by type
• Dynamic removal of modules on error
• Perhaps randomiser in DAQ scans?
14 Feb 2006
Alan Barr, UCL
17