This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC0000661, the State of Michigan.

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.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
XAL Recent Development
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Paul Chu FRIB Controls Group Leader (Acting)
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Computers Are Your Future © 2008Prentice-Hall, Inc.
Tutorial 11: Connecting to External Data
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Database Infrastructure for Application Development Designing tables and relations (Oracle Designer) Creating and maintaining database tables d0om - ORACLE.
Dataface API Essentials Steve Hannah Web Lite Solutions Corp.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Teaching and Learning with Technology  Allyn and Bacon 2002 Administrative Software Chapter 5 Teaching and Learning with Technology.
October 30, 2008 Extensible Workflow Management for Simmod ESUG32, Frankfurt, Oct 30, 2008 Alexander Scharnweber (DLR) October 30, 2008 Slide 1 > Extensible.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
MagicInfo Pro Server Software All control, content, and scheduling is performed within the MagicInfo Pro Server software previously installed. Before.
Winrunner Usage - Best Practices S.A.Christopher.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms.
 Saundra Speed  Mariela Esparza  Kevin Escalante.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
XML Registries Source: Java TM API for XML Registries Specification.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
An Overview of XAL XAL - A High-Level Control Application Framework Christopher K. Allen Los Alamos National Laboratory KEK - February 18, 2005.
Paul Chu Lattice Database.  Learning MySQL  Model DB prototyped Include part of the Lattice DB (Device Settings) Converted from SLAC/LCLS MACHINE_MODEL.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
12/3/2015J-PARC1 High Level Physics Applications XAL – An Accelerator Hierarchy Day 1: Accelerator View from the Physicist.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
Paul Chu XAL for 10/14/ XAL for SLAC/LCLS Paul Chu.
2/20/2016J-PARC1 Virtual Accelerator An Accelerator Simulator.
EPICS and LabVIEW Tony Vento, National Instruments
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Software Tools for the ATLAS Superconducting Accelerator Maria Power Principal Engineer Accelerator Control Systems Argonne National Laboratory Workshop.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Industrial Control Engineering Session 1 Introduction  What is RADE  Technology  Palette  Tools  Template  Combined Example  How to get RADE 
ESS Integrated Control System Software Core Components S.Gysin
Development of Commissioning Software for CSNS Weibin Liu on behalf of CSNS AP Group Yuwen An, Mingyang Huang, Mingtao Li, Yong Li, Zhiping Li, Yudong.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
V 0.1Slide 1 Security - User Account How to maintain user account ? Access Control Other Information Configuration  maintain user group and access rights.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
GO! with Microsoft Office 2016
GO! with Microsoft Access 2016
Web Application Architectures
Web Application Architectures
A Virtual Implementation of VELA (CLARA)
Web Application Architectures
Presentation transcript:

This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan and Michigan State University. Michigan State University designs and establishes FRIB as a DOE Office of Science National User Facility in support of the mission of the Office of Nuclear Physics. Dylan Maxwell Software Engineer FRIB configuration OpenXAL with DISCS DB

 Online Model Model Schema Model API/Service Model Manager App  PVLogger/SCORE PVLogger/SCORE database schema PVLogger/SCORE API/Service PVLogger App SCORE App Outline P. Chu, Feb 2014, Slide 2

Model (Physics) Schema (1) D. Maxwell, OpenXAL Workshop, March 2014, Slide 3

Element  The element table is for all modeling elements’ layout data, i.e. without element settings. Beamline Sequence  An accelerator is divided into multiple segments, for beam tuning, physics applications or other purposes. Lattice  The lattice table is for saving general lattice information. Model  The model table saves general information for models. Details: Model (Physics) Schema (2) D. Maxwell, OpenXAL Workshop, March 2014, Slide 4

 Adding more Model API as applications need Java API REST API  Test data (FRIB Linac Segment 1) for both lattice and model entered in database via Java API  Prototype Model Service J2EE web service Web interface for data editing »Use REST API »Similar to Excel data template »JavaFX based GUI Same GUI code for desktop and Web Model Service P. Chu, Feb 2014, Slide 5

 Model GUI to replace MPX (XAL), Machine Simulator (Open XAL) and Model Manager (LCLS XAL)  Real-time model display  Database model display/save  Support design, live, “what-if” models  Future Comparison between any 2 models Lattice optimization  Content JavaFX based, embedded in Open XAL GUI Framework Model Manager App P. Chu, Feb 2014, Slide 6 β x for FRIB LS1 design

Model DB and Tools  Model Service  Model Web App  Model Manager  Source Repositories D. Maxwell, OpenXAL Workshop, March 2014, Slide 7

 Architecture overview Most physics applications only need to save PV data Each application defines own PV logging list(s) »An “app_type” in schema to identify the applications “Physics PV List” »All magnets, RF, diagnostics »Can be SCORE “Save World” list PVLogger Services »Logging can run on multiple servers »Periodic logging Automated machine snapshots All data saved in RDB All data access via APIs API support Online Model replay General Purpose PV Logging P. Chu, Feb 2014, Slide 8

 Database schemas for PVLogger and SCORE merged PVLogger/SCORE Database Schema [1] P. Chu, Feb 2014, Slide 9 Mach_snapshot: - golden_ind: flag to show if this is the “default” snapshot - userid: computer account who takes the snapshot Mach_snapshot_type: - snapshot_per: snapshot period - snapshot_retent: how long should this snapshot be kept - svc_id: service ID this mach_snapshot_type attached to - app_type: application ID which logs the PVs Mach_snapshot_sgnl: - sgnl_timestp: date and time from this PV record - nanosecs: the nanoseconds from this PV timestamp Sgnl_rec: - system_id: the system this signal belongs. eg. LS1 TO STRIPPER - sub_system_id: the sub system this signal belongs. Eg. BPM, magnet - device_id

 Database schemas for PVLogger and SCORE merged PVLogger/SCORE Database Schema [2] P. Chu, Feb 2014, Slide 10 Sgnl_rec: - system_id: the system this signal belongs, e.g. LS1 TO STRIPPER - sub_system_id: the sub system this signal belongs, e.g. BPM, magnet - device_id: device ID - related_sgnl_id: for some devices, there is a pair of signals, set point and readback. This is the signal id coupled with the sgnl_id - readback_ind: the flag to show if this is a readback signal. - active_ind: the flag to show if this is an active signal. - use_rb_ind: used for SCORE.

 SCORE was a standalone application with no published API  Due to database schema change, the Open XAL API for PVLogger has to be modified accordingly Modify the existing API as little as possible For the existing classes, create new extended classes to extend for additional APIs. For the new tables, we add new corresponding API class However, we do modify some existing API. e.g. The API for saving and retrieving ChannelSnapshot »Two DB columns instead of one to save the entire PV timestamp in MySQL »Saving and retrieving API modified, e.g. the insert and fetch method PVLogger/SCORE API Modification P. Chu, Feb 2014, Slide 11

 The JSON-RPC based service can run right out of box without any modification PVLogger/SCORE Service P. Chu, Feb 2014, Slide 12 PVLogger app showing running services

 New functions for PVLogger – batch uploading from Excel  Can browse saved PV data PVLogger and SCORE Applications [1] P. Chu, Feb 2014, Slide 13 Configure PV list The selected PV must have already been in the DB Upload PV list from a spreadsheet. It should include the set point PV name, readback PV name, system, sub system, device

PVLogger and SCORE Applications [2] P. Chu, Feb 2014, Slide 14 Select a logger group, all the connected PVs could be logged periodically or on demand. Display the existing PV data in DB. selected by group and time range.

 SCORE PVLogger and SCORE Applications[3] P. Chu, Feb 2014, Slide 15 Select PVs filtered by system and subsystem All PVs are displayed in pairs if related PV exist. It takes snapshots on demand. Using the PVLogger JSON- RPC service which supports both on-demand and periodical logging Define PV list Identify period, retention time, service id Log PVs periodically

PVLogger  Source Repository D. Maxwell, OpenXAL Workshop, March 2014, Slide 16