GLAST Large Area Telescope: LAT All Hands Meeting I&T/Online Ric Claus

advertisement
GLAST LAT Project
All Hands Meeting – May 11, 2005
GLAST Large Area Telescope:
LAT All Hands Meeting
Gamma-ray Large
Area Space
Telescope
I&T/Online
May 11, 2005
Ric Claus
I&T/Online Manager
SLAC
Lester Miller, Alicia Kavelaars
Jim Panetta, Selim Tuvi
I&T/Online Team
SLAC/Stanford
R. Claus
1
All Hands Meeting – May 11, 2005
GLAST LAT Project
Outline
• LATTE is a platform independent framework in which to run
application (test) scripts
• Data products are collected and archived in central storage
• Tools are provided to monitor on-line activity, as well as to
diagnose results off-line
• LATTE-5: what’s coming
R. Claus
2
All Hands Meeting – May 11, 2005
GLAST LAT Project
LAT Test Executive
•
•
LATTE provides a scripting environment
Applications (test scripts) use it to exercise functions of a simulator
or real hardware
Local Area Network
Operating system
Operating system
Test Executive
Dispatcher
Script
Functions
Computers
•
Hardware (LAT)
LATTE and application scripts are written using:
– Python: An open source scripting language
– Qt: A multiplatform GUI building toolkit
– XML: A tag-based syntax standard for describing structured data
R. Claus
3
All Hands Meeting – May 11, 2005
GLAST LAT Project
Functions on Simulator or Hardware
• Read/Write LAT hardware registers
– self.LAT.TEM[0].CONFIGURATION = 0x80000000L
– cfg = self.LAT.TEM[4].CONFIGURATION
• Issue LAT hardware commands
– self.LAT.AEM.RESET = 1
• Configure LAT “on-board” software
– Set filter parameters
• Send Science Data to host
• Coming in near future:
– Spacecraft flight-like interface (VSC)
– Flight-like commanding and telemetry
– Flight-like configuration
R. Claus
4
All Hands Meeting – May 11, 2005
GLAST LAT Project
User Script: Tracker Noise & Gain example
Setup:
Configure tracker
Configure trigger: charge injection
Threshold
increasing
Charge
inject
Analysis:
Fit each efficiency vs. threshold
to error function
Extract a noise and gain from
fit mean and width
Cleanup:
Produce reports
Decide status
R. Claus
Efficiency
Algorithm:
Charge inject constant amount
Step through increases in
accept threshold
Threshold
PASS!
5
All Hands Meeting – May 11, 2005
GLAST LAT Project
User Script Example: Configuring the hardware
• Echoes LAT’s hardware hierarchy
– XML
– Common format with FSW
– Can be parsed by tools written outside I&T/Online
– Sets registers
Calorimeter example
<?xml version='1.0' encoding='UTF-8'?>
<LATdoc name=‘CAL Schema'>
<schema>
<GLAT>
<GTEM ID='0'>
<GCCC ID='0-3'>
<GCRC ID='0-3'>
<GCFE ID='0-11'/>
registers
</GCRC>
</GCCC>
<GTIC/>
</GTEM>
</GLAT>
</schema>
</LATdoc>
R. Claus
GTEM
GCCC
GTIC
GCRC
registers
registers
GCFE
registers
6
GLAST LAT Project
All Hands Meeting – May 11, 2005
Host Script Example: Screenshot
This is what it looks like while running in LATTE:
LATTE
RunControl
GUI (Qt)
Script
Plots
HippoDraw
Inspector
R. Claus
7
GLAST LAT Project
All Hands Meeting – May 11, 2005
Host Script example: Report
Produces a Report output (html):
Status return
Links to
associated
files
Embedded plot
Picture from
HippoDraw
R. Claus
8
All Hands Meeting – May 11, 2005
GLAST LAT Project
Data Transfer Overview
Shift and Run logs
I&T
(Cleanroom, et al)
Analysis &
Permanent Storage
W
A
N
L
A
N
Monitoring
Firewall
Central Storage
Web E-Logbook
Databases
LATTE
Pipeline
Trending
LAT
E-Logbook
R. Claus
Scripted analysis
9
All Hands Meeting – May 11, 2005
GLAST LAT Project
Operations record: E-logbooks
•
Online Database that maintains I&T activities
– Multiple workstation access
– Outside of the firewall access
– Transfer to Oracle: Web E-log
– Backed up daily
– System Configuration snapshots
– EGSE Validation expiration warning system
R. Claus
•
•
•
Shift and run records accessible from Web
Can set up queries to list runs with certain properties
Data is read-only
10
GLAST LAT Project
All Hands Meeting – May 11, 2005
Mate/Demate and MMR E-Logbook example
Mate/Demate
Material Mix Record
R. Claus
11
All Hands Meeting – May 11, 2005
GLAST LAT Project
Monitoring of Housekeeping
•
•
Logs data to central Oracle
database
Issues alerts
– Pages, e-mail, etc.
•
Web viewable
– ISOC trending tools
Hippodraw
Cable
temperatures
Red limit
Yellow limit
R. Claus
12
GLAST LAT Project
All Hands Meeting – May 11, 2005
GLAST Online Single Event Display (GOSED)
• Data from:
– File
– Real-time from instrument
R. Claus
13
All Hands Meeting – May 11, 2005
GLAST LAT Project
LDFdump: LAT Data Format event dumper
Datagram type/identity
Datagram length
Event type/identity
Event status
Event length
Event summary
=
=
=
=
=
=
OSW:
LATp header
source
destination
respond
protocol
parity
Contribution length
Packet error
Packet sequence
Summary
eventSequence
eventNumber
tag
calStrobe
TACK
readout4
zeroSuppress
marker
error
diagnostic
trgParityError
OSW:
OSWtime:
Event timestamp
Event timestamp
PPC timebase
Extended event no.
0x201f1010
0x00000130= 304
0x104f0010
0x0000 = 0
0x0128 = 296 Bytes
0xaa000000
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
0x8040
0x20
0x00
1
0
0
32 Bytes
0x0
0
0xaa000000
2 = 0x00000002 = ((eventNumber << 2) | tag)
0
2
0
1
0
1
0
0
0
0
=
=
=
=
UTC:
Sat Mar 26 16:20:53 2005 + 935000038 nS
local: Sat Mar 26 08:20:53 2005 + 935000038 nS
0x0000000d5e124969
0x00000002 = 2
Diagnostic tool
R. Claus
GEM:
ROI vector
= 0x0000
TKR vector
= 0x0000
CAL HE vector
= 0x0000
CAL LE vector
= 0x0001
Condition summary = 0x04 = CAL_LE
Missed (deadZone) = 0x00
CNO vector
= 0x0000
Veto list:
XZP, XZM
= 0x0000, 0x0000
YZP, YZM
= 0x0000, 0x0000
XY
= 0x00000000
NA, RBN
= 0x0000, 0x0000
Live time
= 0x0024f84a = 2422858
Prescaled
= 0x00000000 = 0
Discarded
= 0x00000000 = 0
Condition arrival:
raw
= 0x3fff83ff
external
= 0x1f = 31
cno
= 0x1f = 31
calHE
= 0x1f = 31
calLE
= 0x00 = 0
tkr
= 0x1f = 31
roi
= 0x1f = 31
Trigger time
= 0x017f284a = 25110602
One PPS time:
seconds, timebase = 0x56, 0x17d2602 = 86, 24978946
Delta window open time = 0xffff = 65535
Delta event time = 0xffff = 65535
TEM 0:
CAL:
Log Accepts
= 0x61005000
Number of Log Accepts = 12
Data:
+ADC
+ADC
tower GCCC layer column
value
range
0
2
x3
0
3285 = 0xcd5
0
0
2
x3
1
1044 = 0x414
0
0
2
x3
2
796 = 0x31c
0
0
2
x3
4
819 = 0x333
0
0
2
x3
5
859 = 0x35b
0
0
1
y2
2
548 = 0x224
0
0
1
y3
0
844 = 0x34c
0
0
1
y3
1
2612 = 0xa34
0
0
1
y3
2
1628 = 0x65c
1
0
1
y3
3
3732 = 0xe94
0
0
1
y3
4
1172 = 0x494
0
0
1
y3
5
544 = 0x220
0
-ADC
-ADC
value
range
4072 = 0xfe8
0
1017 = 0x3f9
0
937 = 0x3a9
0
747 = 0x2eb
0
773 = 0x305
0
621 = 0x26d
0
961 = 0x3c1
0
3389 = 0xd3d
0
2218 = 0x8aa
1
738 = 0x2e2
1
1128 = 0x468
0
601 = 0x259
0
14
All Hands Meeting – May 11, 2005
GLAST LAT Project
LATTE ‘5’
•
•
LATTE ‘4’:
– Used to test LAT hardware components
– Currently used by subsystems and I&T
LATTE ‘5’:
– Will provide flight-like interaction with the LAT
– Requires flight-like interfaces
• Provided by the Virtual Space Craft (VSC), and others
– Requires Flight Software
– Scripts based on Command and Telemetry Database mnemonics
– Transferred messages are CCSDS packets
– Preserving LATTE 4 components and tools, as appropriate
– Additional tools planned:
• On-the-fly commanding
• CCSDS packet diagnostics
• Hardware configuration with FSW’s LATc
• On-board software configuration with FSW’s CFG
• etc.
– Transfer existing test scripts into flight paradigm
– Complete October ‘05
R. Claus
15
All Hands Meeting – May 11, 2005
GLAST LAT Project
Summary
• LATTE is a platform independent Test Executive written in
Python with GUIs created with Qt
– Application scripts use the same tools
• LATTE provides a framework in which to run application
scripts
• Data products are collected and archived in central storage
• Tools are provided to monitor online activity, as well as to
diagnose results off-line
• Developing LATTE 5 for testing the full-up LAT
R. Claus
16
Download