FESA 3.0 für Klassenentwickler: Erfahrungen und Erkenntnisse; Allgemeine Diskussion der Gerätemodellentwicklung 19.11.2018.

Slides:



Advertisements
Similar presentations
Introduction to C++ An object-oriented language Unit - 01.
Advertisements

PHP 5 + MySQL 5 A Perfect 10. Adam Trachtenberg PHP 5 + MySQL 5 = A Perfect mysqli extension i is for improved! All new MySQL extension for PHP.
Simulation executable (simv)
Feb 2007WSN Training: First Steps in nesC Programming1 First Steps in TinyOS and nesC Programming Topics  Timer Application: MyApp  Application directory.
1 Lab 3 Objectives  Case study: “Hello world” program on motes  Write you first program on mote.
DESIGN AND IMPLEMENTATION OF SOFTWARE COMPONENTS FOR A REMOTE LABORATORY J. Fernandez, J. Crespo, R. Barber, J. Carretero University Carlos III of Madrid.
Objects and Classes First Programming Concepts. 14/10/2004Lecture 1a: Introduction 2 Fundamental Concepts object class method parameter data type.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
The TIMING System … …as used in the PS accelerators.
Technical aspects of OpenRTM-aist Geoffrey Biggs Intelligent Systems Research Institute National Institute of Advanced Industrial Science and Technology.
W. Sliwinski – eLTC – 7March08 1 LSA & Safety – Integration of RBAC and MCS in the LHC control system.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
FAIR Accelerator Controls Strategy
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced E 2 Studio Topics.
Multiplexing in FESA. Alexander Schwinn 2 Overview Part I- The concept Part II- Before execution Part III- Setting a new Voltage to the Hardware Part.
Simio User Code Appendix - User Code.
FESA FRONT-END SOFTWARE ARCHITECTURE [FESA] Michel Arruat, Leandro Fernandez, Stephen Jackson, Frank Locci, Jean-Luc Nougaret, Maciej Peryt, Anastasiya.
How to write a MSGQ Transport (MQT) Overview Nov 29, 2005 Todd Mullanix.
FECOS the best people make cosylab Matej Miha Rok
Module 12: Configuring and Managing Storage Technologies
1 FESA architecture v.1.0 Framework Configuration & Data-entry Tool 5 th December 2003.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
Proposals 4 parts Virtual Accelerator Open CBCM Data Base Cycle Server Quick Fix.
FESA Overview Leandro Fernandez On behalf of the FESA Team 6/22/2010FESA Overview1.
1. Presentation Agenda  Identify Java Card Technology  Identify Elements of Java Card applications  Communicating with a Java Card Applet  Java Card.
Event Sources and Realtime Actions
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Windows Communication Foundation and Web Services
Progress Apama Fundamentals
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
WebSphere Diego Leone.
Virtualization.
The FESA Development Guideline
Module 9: Preparing to Administer a Server
TANGO Harmonization Meeting (Edinburgh)
Introduction to Kernel
Essentials of UrbanCode Deploy v6.1 QQ147
INF230 Basics in C# Programming
Managing The Internet of Things
Timing Review FESA Requirements with respect to the current Timing implementation FESA Team FE section TimingReview FESA Requirements.
Data Virtualization Demoette… ADO.NET Client
Data Transport for Online & Offline Processing
SCADA for Remote Industrial Plant
Data Virtualization Tutorial… CORS and CIS
Project Background Project Title
Review: Two Programming Paradigms
Deploying and Configuring SSIS Packages
Introduction to Operating System (OS)
Data-Types.
FESA evolution and the vision for Front-End Software
Link Aggregation Simulator Version 1
Use of Multiple Devices
INTAKE OF NEW PORTFOLIO AND INVOICES
More Model Elements.
Exploring the Power of EPDM Tasks - Working with and Developing Tasks in EPDM By: Marc Young XLM Solutions
Objectives In this lesson you will learn about: Need for servlets
Lecture Topics: 11/1 General Operating System Concepts Processes
Analysis models and design models
Lecture Set 11 Creating and Using Classes
Introduction C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell.
Technical Capabilities
Implementation of EIDE Gateway using ACES Callouts
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Midterm Review Brian Kocoloski
How & When The Kernel Runs
5. 3 Coding with Denotations
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Module 9: Preparing to Administer a Server
Presentation transcript:

FESA 3.0 für Klassenentwickler: Erfahrungen und Erkenntnisse; Allgemeine Diskussion der Gerätemodellentwicklung 19.11.2018

Topics FESA Class development Basic Concept RealTime Functionality Server Functionality Class development Questions MX in DevAcc MX in FESA 19.11.2018

Basic Concept Basic Concept RealTime Functionality Server Functionality 19.11.2018 3

Basic Concept = Here I can put my own stuff = This is provided by FESA Generically created FESA class code Event (RealTime) external Timing Hardware User specific internal Timer class internal between classes Event (Server) Get Set Subscriber Unsubscribe RT Scheduler Server Interface C++ Code, provided by the class developer Hardware Device Hardware Device Hardware Device 19.11.2018

RealTime Functionality Basic Concept RealTime Functionality Server Functionality 19.11.2018 5

RealTime Functionality = Here I can put my own stuff = This is provided by FESA Class XSD Schema C++ source code FESA libraries and headers class design file (xml-file) TimerEvtSource  MyEvent MyEvent  MyRTAction generates make binary-file MyRTAction { std::cout << „Hello World “ << DeviceName << std::endl; } generates execute Device XSD Schema Instantiation file (xml-file , data for specific device) DeviceName = KGB123 TimerWaitTime = 1000ms Instantiation file (xml-file , data for specific device) DeviceName = KGB123 TimerWaitTime = 1000ms Console Instantiation file (xml-file , data for specific device) DeviceName = „KGB123“ MyEvent_wait = 1000ms is used by > --- Fesa class started --- > Hello World KGB123 19.11.2018

RealTime Functionality = Here I can put my own stuff = This is provided by FESA Class XSD Schema FESA libraries and headers class design file (xml-file) TimerEvtSource  MyEvent MyEvent  MyRTAction TimingEventSource Lab Specific events, triggered by TimingSystem TimerEventSource Periodic event production in predefined intervals OnDemandEventSource Server side is able to trigger RTActions via this source Possibility to subscribe to other Fesa-classes and launch events on incoming notifications. OnSubscriptionEventSource Custom-event-source Allows to implement user specific event source 19.11.2018

Server Functionality Basic Concept RealTime Functionality 19.11.2018 8

Server Functionality = Here I can put my own stuff = This is provided by FESA Class XSD Schema C++ source code FESA libraries and headers generates class design file (xml-file) Property: MyProperty Field(string): MyField make binary-file generates MyProperty-Get: { return MyField + DeviceName ;} execute Device XSD Schema Instantiation file (xml-file , data for specific device) DeviceName = „KGB123“ MyField_InitValue = „Hello World “ FEC - Console Instantiation file (xml-file , data for specific device) DeviceName = „KGB123“ MyField_InitValue = „Hello World “ Instantiation file (xml-file , data for specific device) DeviceName = „KGB123“ MyField_InitValue = „Hello World “ is used by > --- Fesa class started --- Client PC Console get < getDeviceHandle < get MyProperty > Hello World KGB123 19.11.2018

Server Functionality RDA Middleware FESA Server FEC - Console > --- Fesa class started --- Client PC Console get < getDeviceHandle < get MyProperty > Hello World KGB123 Client Application 19.11.2018

Topics FESA Class development Basic Concept RealTime Functionality Server Functionality Class development Questions MX in DevAcc MX in FESA 19.11.2018

Questions (1) How to … … develop a FESA class in general? … handle power-on procedure? … specify device variants? … use timing events? … realize the internal states of RT-actions? … include external constants? 19.11.2018

Questions (2) Exemplary implementation of a device of the existing control system Requirements Takes part in the timing Can be used in a multiplexed way Functionality needs real-time behavior Inheritance? Equipment-model MX 19.11.2018

MX in DevAcc Pulsed magnet-power supply Device variants Unipolar / Bipolar Inverter Switchable load … Power on/off takes time 19.11.2018

MX in DevAcc (2) Providing reference-values Three different Properties Field in Teslameter (Real) Current in Ampère (Real) Voltage for D/A-Converter in Millivolt (Int) Polynomial constants for conversion Property to read summarized information (MAGNINFO vs. ACQUISITION) 19.11.2018 15

Good to know: FESA-Vocabulary DevAcc FESA Properties USRs Server Actions EQMs Real-time Actions Virtual Accelerator Multiplexing Context* * cycleName / cycleId 19.11.2018

MX in FESA: HowTo FESA-Development-Guideline Development with Eclipse Design C++ Code Design Deploy-Unit Configuration of Instantiation file Test and simulate 19.11.2018

MX in FESA: Design Usage of the GSI Template Properties Custom-Types Fields Server-Actions Introduction of new elements s.a. Events Scheduling-Units 19.11.2018

MX in FESA: Design (Template) Unmodified GSI-Template 19.11.2018

MX in FESA: Design (Properties) 19.11.2018

MX in FESA: Design (Data) 19.11.2018

MX in FESA: Design (Types) Possible Elements Bit-enum 16 Bit-enum 32 Constant Constant-UInt (hist.) Enum State-enum Struct 19.11.2018

MX in FESA: Design (Actions) 19.11.2018

MX in FESA: Design (Events) 19.11.2018

MX in FESA: Design(Summary) Custom- vs. Default-Actions Configuration-Field Device variants Constants from DB Long power-up procedure Notified Property Low priority of RT-Action (Instantiation File) 19.11.2018

MX-Gerätemodell in FESA: C++ Code Common State-machine Value conversion RealTime Read / write file Switching device on / off Server default onDemand events 19.11.2018

MX-Gerätemodell in FESA: C++ Code 19.11.2018

MX-Gerätemodell in FESA: C++ Code 19.11.2018

MX-Gerätemodell in FESA: Deploy 19.11.2018

MX-Gerätemodell in FESA: Instance 19.11.2018

MX-Gerätemodell in FESA: Instance 19.11.2018

MX-Gerätemodell in FESA: Instance 19.11.2018

MX-Gerätemodell in FESA: Instances Init values Modify XML-file with constants from DB Connect concrete events with logical Set timing domain Specifying device instances 19.11.2018

MX-Gerätemodell in FESA: Test Configure timing simulation for testing Specify timing domain Create different event-sequences Build up super cycle Start binary with option –SIM Notice: Once timing is used, the binary won‘t run without the simulator 19.11.2018

Thank you for your attention! 19.11.2018