Lucretia - Floodland Flight Simulator for ATF2 Glen White SLAC ATF2 Project Meeting Dec 2007.

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
Chapter One The Essence of UNIX.
CSCI 530 Lab Firewalls. Overview Firewalls Capabilities Limitations What are we limiting with a firewall? General Network Security Strategies Packet Filtering.
Network-Attached Storage
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Terri Lahey LCLS FAC: Update on Security Issues 12 Nov 2008 SLAC National Accelerator Laboratory 1 Update on Security Issues LCLS.
Guide To UNIX Using Linux Third Edition
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 2 Installing Windows Server 2008.
APACHE SERVER By Innovationframes.com »
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Overview of Atmosphere.
Understanding Active Directory
Course 201 – Administration, Content Inspection and SSL VPN
Customized cloud platform for computing on your terms !
Microsoft Visual SourceSafe Very popular Mainly used by Windows developers Cornerstone of many development teams Provides essential version control functions.
Glen White SLAC Nov  I think my ideas on what the “flight simulator” concept should be is not compatible with the current plans for the ATF2.
Digital Certificates Made Easy Sam Lutgring Director of Informational Technology Services Calhoun Intermediate School District.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Imperial College Tracker Slow Control & Monitoring.
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Overview of Atmosphere.
Controls for High-Availability Magnet PS’s for ATF2 Glen White SLAC September
COMP1321 Digital Infrastructure Richard Henson February 2014.
Final Year Project Presentation by Daire O’Neill 4EE.
TANGO on embedded devices: the Bimorph Mirror application case Fulvio Billè Roberto Borghes, Roberto Pugliese, Lawrence Iviani Instrumentation & Measurement.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Feb Material copied from the IOC Application Developer's.
QuikTrac 5.5, a validated Motorola Software Solution, allows you to take your Host ERP screens and extend them out to fixed or mobile devices including.
TL101A – Introduction To OA LodgeMaster. Learning Objectives Become familiar with the capabilities of the OA LodgeMaster system. Learn how to use the.
T. Okugi and M. WoodleyDecember 21, th ATF2 Project Meeting Summary of Session on Hardware/Devices for Commissioning.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
NT SECURITY Introduction Security features of an operating system revolve around the principles of “Availability,” “Integrity,” and Confidentiality. For.
ATF2 Mover Software 19 June 2008 Janice Nelson, Doug McCormick (SLAC) Glen White (LAL/SLAC) Justin May (no longer at SLAC)
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Controls & Monitoring Overview J. Leaver 03/06/2009.
Connecting LabVIEW to EPICS network
Jefferson Lab Report Karen S. White 11/14/00. Overview  Status of Jefferson Lab Control System  Work In Progress  Transitioning to Operations.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
Configuring and Running the OPC.NET Generic Clients 1.
Channel Access Security 2006 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 2 Channel Access Security  The IOC Application.
Active Directory Domain Services (AD DS). Identity and Access (IDA) – An IDA infrastructure should: Store information about users, groups, computers and.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
COMP1321 Digital Infrastructure Richard Henson March 2016.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Lucretia Status Glen White LCWS2011 Granada, Sept
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Overview of Atmosphere.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Managed by UT-Battelle for the Department of Energy LabVIEW Channel Access Implementaion Alexander Zhukov SNS.
Lucretia2AML Steve Molloy 3 rd April, 2008 ( Updated 19 th June, 2008)
Flight Simulator for ATF2
Operating System Structures
ATF/ATF2 Control System
Tools and Services Workshop Overview of Atmosphere
Virtualization overview
microsoft dynamics ax training in dubai (msdynamicsaxtraining.com)
HAPS Controls Glen White ATF2 Software Review Workshop, LAL, June 2008
Networking for Home and Small Businesses – Chapter 2
The Client Server Model
Radoslaw Jedynak, PhD Poland, Technical University of Radom
TL101A – Introduction To OA LodgeMaster
Networking for Home and Small Businesses – Chapter 2
Augmented Reality: Internet of Things
Augmented Reality: Internet of Things
Presentation transcript:

Lucretia - Floodland Flight Simulator for ATF2 Glen White SLAC ATF2 Project Meeting Dec 2007

Flight Simulator Requirements Safe, controlled access to ATF2 hardware controls from a familiar programming environment. Allow easy offsite development –Portable core software –Easy interface –Easy transition from simulated to control system environments (and reverse) Allow multiple tracking/simulation environments –Lucretia, MAD, SAD, PLACET –Common data structures in AML

Floodland Module for Lucretia that extends core functionality to provide Flight Simulator software. Based on Matlab GUI and event-driven callback infrastructure. Compilable, although more flexible if implemented in Matlab environment. Talks to EPICS CA through “labCA” client (built on EZCA), as used by many other Accelerator facilities using MML: very well tested and robust. Uses native Matlab udp socket server/client software provided by the Instrument Control Toolbox. –CA access security protocol –Synchronisation with other toolboxes (SAD, PLACET, MAD)

Lucretia – Floodland Flight Simulator Lucretia + AML ATF2 Model Non-EPICS IOCsEPICS IOCsEPICS “soft” IOC Access Server SAD/MAD/PLACET Server User Software Lucretia + Floodland Matlab Data Structures And Functions labCA (Matlab EPICS CA Client) User Software

Flight Simulator Installation on ATF2 Control System EPICS CHANNEL ACCESS “Trusted” Host FS Installation “Test” Host FS Installation Trusted (Host,User) Full r+w access to all EPICS CA records Initially only runs Access Sever App When trust tested user apps -> migrate here Test (Host,User) Default: no r or w access to any CA records Runs user apps (beam dynamics algorithms) Requests CA access privs from Access Server

Access Security All EPICS records have an ASG (Access Security Group) field. –Gives read/write access to those records to usernames + hostnames defined in access security database file. Two ASG’s defined in database –Hostname+username of “trusted” installation –Hostname+username of “test” installation Default settings for all records on IOC boot is to give r+w permissions to “trusted” and no access to any other hostname and username. “trusted” can change the ASG field of any record to allow (only) “test” read or read+write access to that record. Flight Simulator software can start in 3 modes internally determined through hostname, username and MAC address information: –“trusted mode” which runs Access Security Server on a control room PC and any trusted algorithms –“test mode” which runs user code on a different control room PC –“simulation mode” which runs standalone on a users own computer (runs local simulated versions of EPICS IOCs) and cannot connect to ATF2 CA.

Example EPICS Access Control Database File UAG(control) {whitegr} UAG(user1) {Glen} HAG(control-host) {whitelp2} HAG(user1-host) {whitelp1}. ASG(DEFAULT) { RULE(1,NONE) { UAG(user1) HAG(user1-host) } RULE(1,WRITE) { UAG(control) HAG(control-host) }. ASG(user1-read) { RULE(1,READ) { UAG(user1) HAG(user1-host) } RULE(1,WRITE) { UAG(control) HAG(control-host) }. ASG(user1-write) { RULE(1,WRITE) { UAG(user1) HAG(user1-host) } RULE(1,WRITE) { UAG(control) HAG(control-host) }

Lucretia – Floodland Data Structures INSTR and FL added structures for Floodland Mirror in AML GIRDER.S.Element.Offset.Mover.MoverPos.MoverSetPt.MoverStep PS.Element.SetPt.Ampl.Step.dAmpl BEAMLINE (Fully instantiated beamline). FL.PV.HwInfo INSTR.Element.Class.Data WF KLYSTRON

Lucretia – Floodland Functions Changing PS’s and Movers same functionality as in Lucretia –Change PS(i).SetPt / GIRDER{i}.MoverSetPT then: –PSTrim( PS LIST ) –MoverTrim( GIRDER LIST ) Unique Floodland functions include –Floodland keeps data structures synced with EPICS or can force at any time with “FlUpdate” command –AccessRequest( INSTR | PS | GIRDER List) –FlSave/FlLoad: ATF2 lattice + model data to/from.mat and.aml Floodland server allows access to “test” installation to alter data structures or use functions from outside Matlab (SAD/PLACET).

Software Flow Multi-seed simulation Flight Simulator (“sim”) Event-driven algorithm Flight Simulator (“test”) User Algorithm Flight Simulator (“trusted”) Production Algorithm

Demonstration… “ And what if I gave you the key To the doors of your design… “ - “Torch”, Floodland, Sisters of Mercy.