EPICS Developments at the Australian Synchrotron Contributors: Richard Farnsworth, Andrew C Starritt (Controls Team) Chris Myers & Mike DeSilva (Versi)

Slides:



Advertisements
Similar presentations
Control System Studio (CSS)
Advertisements

CLS Process Variable Database By: Diony Medrano. CLS PV Database - Topics Background Design Constraints Design and Implementation Benefits and Future.
Multi-DNC Data Collection/Monitoring
LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
The Web Warrior Guide to Web Design Technologies
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
By: Chris Hayes. Facebook Today, Facebook is the most commonly used social networking site for people to connect with one another online. People of all.
Technical Tips and Tricks for User Support Mike Gardner
Time Series Analyst An Internet Based Application for Viewing and Analyzing Environmental Time Series Jeffery S. Horsburgh Utah State University David.
Basic concept Technologies we have used The Design Problems, challenges & solutions Educational Gain.
Exploring the iPhone SDK Toyin Adedokun & Daniel Laughlin.
Multiple Tiers in Action
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Development of mobile applications using PhoneGap and HTML 5
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Computer and Internet Basics.
EPICS Qt Update Paul Martin 1. Australian Synchrotron 3GeV, 216m circumference synchrotron 8 Beamlines 12 Software Engineers IMBL – Worlds Widest Beam.
Introduction to Skype A. Name -. Applies to Skype for home and small business accounts.
Construction of efficient PDP scheme for Distributed Cloud Storage. By Manognya Reddy Kondam.
INTRODUCTION TO WEB DATABASE PROGRAMMING
1 Remote Management of Wireless Gateway Student Name: Dinesh D N (BITS ID: 2004HZ12158) MphasiS Technologies Ltd, Bangalore March 2006.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer.
Web Application Beamline Control Module Very Sensitive Elemental and Structural Probe Employing Radiation from a Synchrotron (VESPERS) The VESPERS beamline.
LOD Surveillance System Jamie Creech Software Engineer.
Website Presentation Written By Mark Brady. Website Advantages Company services can be activated from the customers home, or literally anywhere. Users.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
Indo-US Workshop, June23-25, 2003 Building Digital Libraries for Communities using Kepler Framework M. Zubair Old Dominion University.
Imaging Node Meeting Atlas II Status and Plans August 2, 2006.
Chapter 3.  The characteristics and purpose of: ◦ Intranets ◦ Internet ◦ Extranets.
Tutorial 7 Designing a Multimedia Web Site
A Device and Service Description Framework for Discovering and Reasoning in Autonomous P2P Environment N. Shimizu Keio university.
Asynchronous Interactive Design of Web Applications: Real-time SIP Message Monitoring System using AJAX Student: Yan-Hsiang Wang Advisor: Dr. Quincy Wu.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Accelerator Physics SNS EPICS Integration with Web-based Technologies Presentation by Madhan Sundaram.
EEDEED Tuesday, May 18, VBA & Process Variables  System Overview  Setup (What installations are needed)  What are Process Variables and what.
Utah’s Indicator-Based Information System for Public Health (IBIS-PH) Utah Department of Health Office of Public Health Assessment Lois M. Haggard, Ph.D.,
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
CS779 Term Project Steve Shoyer Section 5 December 9, 2006 Week 6.
DataFlow Diagram – Level 0
A Remote Collaboration Environment for Protein Crystallography HEPiX-HEPNT Conference, 8 Oct 1999 Nicholas Sauter, Stanford Synchrotron Radiation Laboratory.
Connecting LabVIEW to EPICS network
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
Mike Mulhearn & Drew Hobbs IMAGE ICON.  Paints icons from images  Images can be JPEG, JPG, GIF, PNG, BMP, WBMP  Images may also be created from a URL,
SPK – 4 Golomazov Artem in my life. Hello! My name is Artem and I’d like to tell you about Information Technology by using Information Technology! It.
Current Status of Web Application for RIBF Accelerator
Mobile Device Security Management Leyna Belinsky.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
A Web Based Job Submission System for a Physics Computing Cluster David Jones IOP Particle Physics 2004 Birmingham 1.
1 Building Web-base SIP Analyzer with Ajax Approach Yan-Hsiang Wang & Dr. Quincy Wu National Chi Nan University Graduate Institute of CSIE
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
Web Programming Language
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Database System Concepts and Architecture
Web App vs Mobile App.
Chapter 16: Distributed System Structures
Database Driven Websites
M-Commerce Wireless Markup Language (WML) By Prof T.R. Vaidyanathan.
Mobile Content Sharing Utilizing the Home Infrastructure
Introduction to World Wide Web
JavaScript CS 4640 Programming Languages for Web Applications
Presentation transcript:

EPICS Developments at the Australian Synchrotron Contributors: Richard Farnsworth, Andrew C Starritt (Controls Team) Chris Myers & Mike DeSilva (Versi) Presented by Nicholas Hobbs Epics to MySQL The “Flange” for control system to internet applications

Epics to MySQL As have most other facilities, we developed an application we called the Facility Status Monitor (FSM*). Originally intended it to be a stand alone application that would be used throughout the facility and beamlines. It shows beam current, lifetime, operating status and messages, shutter status and a few other variables Proved quite popular Needed a web version * Not to be confused with the Flying Spaghetti Monster

Internal Facility Status Monitor

What we did and didn’t want (Requirements) The FSM should use the “corporate” colour scheme and contain a summary of all that an Accelerator Physicist, Operator or Beamline Scientist wants to know at any instant in time We did not want to distribute a video signal around the facility We wanted to publish data on the Web, internally and externally We wanted the ability to build arbitrary web applications in the future

Introducing the “FLANGE” First we took the original program, “cut the head off” and made it talk to an SQL database It was a good first start, but not very general

Introducing the “FLANGE” First we took the original program, “cut the head off” and made it talk to an SQL database It was a good first start, but not very general Enter the FLANGE. A Flange is a mechanical device for joining two differing pipes or similar together. Our FLANGE uses channel access one end and writes EPICS data, and metadata such as enumeration type, connection state, update times, element count, data type, alarm severity, precision, engineering units and high/low operating range to a mySQL database

Introducing the “FLANGE” First we took the original program, “cut the head off” and made it talk to an SQL database It was a good first start, but not very general Enter the FLANGE. A Flange is a mechanical device for joining two differing pipes or similar together. Our FLANGE uses channel access one end and writes EPICS data, and metadata such as enumeration type, connection state, update times, element count, data type, alarm severity, precision, engineering units and high/low operating range to a mySQL database Everything we do with the flange is from a parameter file It runs natively on windows, but is now in production under WINE It uses a subset of our GUI framework

The Database The Flange writes to a MySQL database It supports arbitrary amounts of historical data – often at lower resolutions than the EPICs archiver (we use the SNS maintained archiver) * It reads from an EPICS gateway (for the usual throttling security and load reasons) *

The Database The Flange writes to a MySQL database It supports arbitrary amounts of historical data – often at lower resolutions than the EPICs archiver (we use the SNS maintained archiver) * It reads from an EPICS gateway (for the usual throttling, security and load reasons) We have 1551 PV’s at the moment (We have tested up to 20,000) Including some very special functions  Historical backfill for Shutters with data for 8 days  Historical data for FSM graphs for 1 day  Specials for images and BMP to Jpegs conversions etc *

AJAX and Php We then access the MySQL database with AJAX (Asynchronous JavaScript and XML) to create web applications. What does it look like?

Web view of the Facility Status Monitor

Other things it can do - 1 We can pass anything through to MySQL – within limits Have tried 20,000 PV’s, but it takes a hit – so we have slightly “paralleled” it. Using a four core machine, we made it possible to run four instances of the FLANGE writing to a single SQL database and reading from a single Channel access archive and gateway. This spreads the load over the four cores and allows time lags to be introduced, thus spreading the load. Performance was very good on our web servers.

Other things it can do - 2 Image processing: It can take an array from EPICS waveform derived from a camera image and uses it to convert to a JPG to be stored in the SQL database This is how we get the beam image.

Other things it can do - 3 EDM to PHP applications We have a script that converts EDM screens to AJAX applications using the My-SQL database for data. It runs in multiple ways: It can run in real-time on the EDM directly, or can pre-process This allows many of our Scientists to monitor status from home

Converted EDM GUI from Protein Crystallography Beamline

Converted EDM GUI from the Linear Accelerator

Other things it can do - 4 Because we are using AJAX, we don’t have to be limited to ordinary web pages. For example we have mobile phone friendly pages (WML)

Database Schema for My SQL database

Web page generated from Scratch

Australian Synchrotron Thank you for your attention A paper is available with more information.

For more information and software: Richard Farnsworth Andrew Starritt ftp://ftp.synchrotron.org.au/pub/EPICS09/