GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 I&T Online Status and Plans Ric Claus R. Claus 1 GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 Online Team • Ric Claus • Selim Tuvi • With much help from: – Curt Brune (FSW) – Mike Huffer (ELX) R. Claus 2 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project Current Subsystem Contacts • 4.1.4 - TKR (4 systems) – Zhigang Wang • 4.1.5 - CAL (2 systems) – Byron Leas • 4.1.6 - ACD (3 systems) – Connie Houchens • 4.1.7 - ELX (2 systems) – Gunther Haller • 4.1.9.6 - I&T/IFCT (1 system) – Larry Wai • 4.1.9.9 - I&T/SVAC (1 system) – Eduardo do Couto e Silva • 4.1.B - IOC (1 system) – Scott Williams R. Claus 3 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project EM-1 Test-stand Composition • Windows 2000 – Workstation • VxWorks – Embedded system • SCL – Test Executive for scripting and hardware access • LabVIEW – Command/Response GUI tool • FITS – Persistent data file format • MS Access – Persistent local database – Contains configuration data for various testing scenarios – Stores test report data • Visualization Tool – Hippo, Root, IDL, etc – TBD R. Claus 4 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project Test-stand Architecture Electronics Subsystem Subsystem/ System Under Test Interfaces Interfaces Embedded System (Hardware and Real-time software) Integration & Test Ethernet Online Workstation Ethernet (Hardware and Software) Instrument Operations Coordination R. Claus 5 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project EM1 EGSE Hardware Configuration Detector (or simulator) Back door debug RS-232 GCFE / GTFE CPU GCRC / GTRC LAT-COMM: Cmd/Resp. LAT-COMM: GLT Central Database Online Workstation Digital I/O Analog I/O DC Power GPIB Instrument Subsystem/simulator R. Claus GPIB VME Chassis Main Dataflow LAN Ethernet LAN Ethernet WAN TEM Ethernet Router and Firewall Electronics/Online 6 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project ACD EGSE Hardware Configuration Detector (or simulator) Back door debug RS-232 CPU GAFE LAT-COMM: AEM & GLT Central Database Online Workstation Digital I/O Analog I/O DC Power GPIB Instrument Subsystem/simulator R. Claus GPIB VME Chassis Main Dataflow LAN Ethernet LAN Ethernet WAN GARC Ethernet Router and Firewall Electronics/Online 7 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project EM-1 EGSE Software Configuration Embedded System Sensor Interface Hardware Workstation SCL viewer SCL Compiler SCL Database SCL RTE Scripts & Rules Downlink Interface Data Visualization SCL Software Messaging Bus Hardware Driver SCL RTE Command & Response GUI (LabVIEW) Telemetry Server Telemetry Client Local Database (MS Access) SCL Database Data Acquisition & Decom (DataIO) Archiver Local Area Network R. Claus 8 GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 Current Status (deployed) • SCL 3.2 systems with CAL TEM command/response and data taking • TKR TEM register definition • ACD AEM register definition • GLT for triggering • LabVIEW connecting to NT SCL only • Example scripts and GUI screens R. Claus 9 GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 TEM Browser LabVIEW display R. Claus 10 GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 AEM Browser LabVIEW display R. Claus 11 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project ODBC example script O$odbcTest local gccc_layer_mask_0 local dbId, temRecId local bcastCCCRecId, bcastCCC GCCC bcastCCC temRecId = 100 set current database to 0 r1.dbConnection = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\Documents and Settings\Administrator\Desktop\TEMDOCS\db1.mdb" --r1.dbConnection = "DRIVER={MySql}; server=columba; db=test" r1.dbExecute = "SELECT tem.configuration, layer_mask_0 FROM scenario, tem, gccc WHERE (((scenario.confId)=[tem].[confid] And (scenario.confId)=[gccc].[confid] And (scenario.confId)=1))" r1.dbMoveFirst = 1 repeat while r1.dbEof = 0 msg "config = ", r1.configuration msg "layer_mask_0 = ", r1.layer_mask_0 gccc_layer_mask_0 = r1.layer_mask_0 msg "gccc_layer_mask_0 = ", gccc_layer_mask_0 r1.dbMoveNext = 1 end repeat r1.dbClose = 1 -- Close the record set r1.dbConnection = 0 -- Close the connection dbId = O$SetDb(2) bcastCCCRecId = O$AllCCC(temRecId) bcastCCC = O$Id2Ref(bcastCCCRecId) bcastCCC.LAYER_MASK_0 = gccc_layer_mask_0 msg "bcastCCC.LAYER_MASK_0 = ", bcastCCC.LAYER_MASK_0 end O$odbcTest R. Claus 12 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project What’s in progress • LabVIEW VxWorks SCL connection – Just about complete • Pseudo-AEM implemented in a LAT-COMM card – Anticipate deployment first week of June R. Claus 13 I&T Face-to-Face Online Presentation – May 30, 2002 GLAST LAT Project Near term plans • Run control – For coordination of data-taking • FITS data files • Visualization tool – Selection and integration • Supplementary test equipment support – GPIB – Industry Packs digital and analog I/O Subsystem input requested to achieve the proper mix of types Would like to keep the number of types of supplementary equipment small to manage the work load R. Claus 14 GLAST LAT Project I&T Face-to-Face Online Presentation – May 30, 2002 Wrap-up • Delivery of initial 16 test-stand workstations complete – Online holds on to two configured spares • Discussions in progress with subsystems on script, database and GUI screen creation and tuning – Online to collect completed subsystem contributions • Weekly Online meeting scheduled to facilitate feedback (in both directions) • Adaptation to changing electronics prompts new releases • Code Versioning System set up • Build and distribution mechanisms set up • Created Web site and forum for information exchange and system updates: http://www-glast.slac.stanford.edu/LAT/INT/ONLINE/Default.htm • Documentation updates in progress R. Claus 15