294214d9b99cfbed02a2ff149e7a569d.ppt
- Количество слайдов: 23
VLT Control Software …and beyond ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 1
Agenda This presentation will give: • An introduction to the structure of the VLT control SW • from the perspective of teams developing an instrument We will see an overview of: • The Where, the What and the Why • The big picture and the philosophy. • The main elements of the VLT Common Software and Instrumentation Software frameworks. What are the basic services provided? • How can you find information, examples and help? ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 2
Where is the VLTSW used? • All ESO optical telescopes and their instruments are based on the VLT Common Software and on the VLT Instrumentation Software • • VLT Unit Telescopes VLTI facilities VLT Auxiliary Telescopes VISTA VST 3. 6 NTT……. ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 3
What is the VLTSW? The VLTSW is the implementation of a common infrastructure for the development of control applications. It consists of several layers: • On the lower levels are APIs for the communication infrastructure and common general services • At the higher level we have complete software frameworks Purpose of a framework is to: • provide a programming model • provide common paradigm abstractions • mask heterogeneity • satisfy performance, reliability and security requirements ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 4
Why the VLTSW? An infrastructure framework is the key to the separation between Functional and Technical Architecture • Application developers care for the Functional Architecture: • Responsibilities, interfaces and primary relationships and interactions between subsystems • Physics and algorithms • Hardware deployment and distribution • The Technical Architecture is provided by the infrastructure team: • Communication mechanisms, networking, general services • Software deployment and activation • Programming model ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 5
What are the advantages? If everybody uses a common framework: • The architecture, design and implementation are uniform across systems • This: • Allows centralizing support • Makes maintenance easier • Ensure compatibility of technical interfaces • Allows to reuse resources and skills on different projects • Allows to propagate improvements automatically by distributing centralized changes. ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 6
Can we quantifying the advantages • Can we measure the impact of adopting the VLTSW as a common infrastructure? • Very difficult: all numbers are debatable • But we have some good examples ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 7
Size of Instrumentation code reduced A. Longinotti, M. Kiekebush – 2008 ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 8
Instrumentation Sw development time A. Longinotti – 2002 ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 9
Size of Telescope Control Software reduced UT VISTA: 2/3 less ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 10
WSF code generation A state machine model driven toolkit based on ESO VLT Software L. Andolfato – 2008 Project Applications based on WSF Average states Average per transitions per applications application Average lines % Hand-crafted of code per application PRIMA 12 21 72 24004 21. 24 APE 12 36 105 35020 25. 08 NGC 4 17 34 16021 17. 31 DL 1 26 68 24391 18. 55 L. Andolfato, 2008 ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 11
VLTSW Architecture • Basic control architecture: • Real Time on VME LCUs • Coordination on Linux workstations • Middleware with almost identical APIs: • CCS on the workstation • LCC on the LCUs ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 12
Middleware services CCS and LCC both provide: • On-line database • Message system • Scan system • Time System • Logging System • Error and Alarm System CCS provides: • Event handling framework (EVH) • Portable user interface toolkit • Engineering User Interfaces LCC provides: • Motor control • Drivers (LCC) • CCD support ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 13
Application frameworks • LCU Server Framework (LSF) Allows implementing object oriented LCU applications with a standardized architecture based on C code templates. • Workstation Software Framework (WSF) Allows implementing C++ workstation applications based on a finite state machine model • INS Common Software The core topic of this workshop. Allows implementing a complete Instrumentation Control Software (both LCU and Workstation sides) configuring code templates. ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 14
Building blocks The VLTSW includes other essential building blocks: • Telescope Control Software (TCS) The basic Telescope Control Software implementation, used as starting point from which all concrete instances of TCS inherit. • Interferometer Supervisory Software (ISS) The Interferometer Supervisor Software is the central control instance of the VLTI facility. It forms the central interface of VLTI to the instruments and users • High-level Operation Software (HOS) General purpose tools, allowing both technical and scientific staff to ease the definition and execution of sequences of commands, intended to control the telescopes and instruments. • Software Engineering tools ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 15
Current core technologies • Platforms: • Workstation: PC with Linux OS • LCU (real time): VME with Vx. Works OS • IO typically on the LCU backplane • Languages: • C for real time applications (LCU) • C++ for high level coordination (WS) • Tcl/Tk for scripting and GUIs • Middleware: • CCS and LCC based on HP RTAP, further developed inhouse ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 16
History and evolution • • Development started ~15 years ago 1 new release per year Now the interfaces are extremely stable Workstation part migrated from Solaris to HP UX to Linux Middleware initially based on RTAP (HP commercial SCADA system) later on re-implemented in-house High level frameworks introduced in steps (EVH, LSF, WSF, INS) New standard devices introduced in steps (controllers, CCDs, sensors) Some components in 2008 and 2009: WSF, NGS, NTTCD, Can. RMC, CLIP ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 17
Future developments • The VLT/VLTI is going to be in operation probably for another 20 years • Many instruments are still being implemented or are in the conceptual or design phase • Software for the VLT will then be developed still for many years to come, as demonstrated by your interest in this workshop. • At the same time, ESO is involved in other projects: ALMA and the E-ELT How will the VLTSW evolve in this context? ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 18
The VLTSW roadmap • Giving an answer to this question is extremely difficult. • There are very many parameters to take into account and advantages and disadvantages of each option need to be carefully weighted • Here at ESO we have started a couple of months ago a process of analysis of these parameters • It will still take some months before we will have been able to reach a concrete result: A VLTSW Roadmap in the era of ALMA and E-ELT ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 19
Some of the parameters in the game • The current VLTSW can satisfy the requirements for new instruments (as far as we know and with few exceptions) • Some software and hardware technologies are becoming obsolete and will have to be replaced. • Some recent technologies promise to make new development more efficient and of higher quality • Replacing what works has a cost and a risk to be weighted • Refactoring based on the past experience should allow to simplify and improve the current architecture and design • Sharing new developments with other projects (E-ELT) should allow early testing and sharing of resources ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 20
Examples of technologies Some examples of technologies that will be discussed: • Devices and IO in the field: field busses vs. LCUs? • Programming languages (Java? Lab. VIEW? ) • Model driven development and code generation? • More extensive usage of PLCs (for example safety PLCs)? We will have a chance of discussing more these and other aspects in the final open session of this workshop. Think about these issues during the workshop and provide you feedback ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 21
Where to find information? • This workshop will provide you with links and references • The documentation for the exercise is a concise but complete tutorial for selftraining • The documentation for all VLTSW packages is available online: http: //www. eso. org/projects/vlt/sw-dev/wwwdoc/VLT 2008/dockit. html • Read the first document in the first binder! The “Overview” provides a general view on the process of writing software for the VLT project. • Read the documents in the INS section • Read the “Guidelines for the Development of VLT Application Software”: ftp: //ftp. eso. org/pub/vlt/pub/add-doc/JAN 2006/VLT-MAN-ESO-17210 -0667. pdf • Forums, discussions and FAQs: • Forums: http: //www. eso. org/phorum/index. php? 9 • Ask your contact person for support!!! ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 22
Questions (& Answers) ESO - G. Chiozzi ESO Instrumentation Software Workshop 2008 - 23
294214d9b99cfbed02a2ff149e7a569d.ppt