andrew starritt 1 richard farnsworth 1 chris myers 2 michael d’silva 2

1
Andrew Starritt Andrew Starritt 1 1 Richard Farnsworth Richard Farnsworth 1 1 Chris Myers Chris Myers 2 2 Michael D’Silva Michael D’Silva 2 2 Control Systems EPICS to MySQL flange for Control Systems EPICS to MySQL flange for Internet Applications Internet Applications 1. 1. Australian Synchrotron Clayton, Vic. Australia Australian Synchrotron Clayton, Vic. Australia 2. 2. Victorian eResearch Strategic Initiative, Vic. Victorian eResearch Strategic Initiative, Vic. Australia Australia PCA loadings plots show clear separation. References A technique for delivering EPICS Process Variables (PVs) to web enabled applications has been collaboratively developed by the Australian Synchrotron Controls team and a local e‑research initiative the Victorian eResearch Strategic Initiative (VeRSI). EPICS PVs are collated by a program called the “EPICS to MySQL Flange" (EMF) which acts as a gateway and passes the PV values and selected metadata to a MySQL database. This database contains current values and optional short term historical records which then allows standard web based applications, in our case Asynchronous JavaScript and XML (AJAX) web applications. The EMF supports a Historical Backfill from the EPICS archive, throttling, i.e. minimum updates and dead banding, and finally image processing, useful for taking arrays and waveforms), and converting to standard image formats stored in the MySQL database. Original Facility Status Monitor (FSM) program Original Facility Status Monitor (FSM) program Web based FSM https://vbl.synchrotron.org.au/fsm/ Web based FSM https://vbl.synchrotron.org.au/fsm/ Example Specification: Overview Abstract Currently run with ~1500 PVs – have tested up ~20000 PVs. Can maintain and/or backfill archive PV data. Configured by parameter files. Can generate JPEG image from waveform record. Three instances of the EMF program run in in parallel. Together with MySQL program make optimum use of 4 core CPU. Update dead-banding (cf ADEL/MDEL) can be set per PV. PV name aliasing also possible. THP106

Upload: patty

Post on 15-Jan-2016

37 views

Category:

Documents


4 download

DESCRIPTION

Control Systems EPICS to MySQL flange for Internet Applications. Andrew Starritt 1 Richard Farnsworth 1 Chris Myers 2 Michael D’Silva 2. Australian Synchrotron Clayton, Vic. Australia Victorian eResearch Strategic Initiative, Vic. Australia. Abstract. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Andrew  Starritt  1   Richard Farnsworth  1   Chris Myers  2   Michael D’Silva  2

Andrew Starritt Andrew Starritt 11 Richard Farnsworth Richard Farnsworth 11 Chris Myers Chris Myers 22 Michael Michael D’Silva D’Silva 22

Control Systems EPICS to MySQL flange for Internet Control Systems EPICS to MySQL flange for Internet ApplicationsApplications

1.1. Australian Synchrotron Clayton, Vic. AustraliaAustralian Synchrotron Clayton, Vic. Australia2.2. Victorian eResearch Strategic Initiative, Vic. AustraliaVictorian eResearch Strategic Initiative, Vic. Australia

PCA loadings plots show clear separation.

References

A technique for delivering EPICS Process Variables (PVs) to web enabled applications has been collaboratively developed by the Australian Synchrotron Controls team and a local e‑research initiative the Victorian eResearch Strategic Initiative (VeRSI). EPICS PVs are collated by a program called the “EPICS to MySQL Flange" (EMF) which acts as a gateway and passes the PV values and selected metadata to a MySQL database. This database contains current values and optional short term historical records which then allows standard web based applications, in our case Asynchronous JavaScript and XML (AJAX) web applications. The EMF supports a Historical Backfill from the EPICS archive, throttling, i.e. minimum updates and dead banding, and finally image processing, useful for taking arrays and waveforms), and converting to standard image formats stored in the MySQL database.

Original Facility Status Monitor (FSM) program Web based FSM Original Facility Status Monitor (FSM) program Web based FSM https://vbl.synchrotron.org.au/fsm/ https://vbl.synchrotron.org.au/fsm/

Example

Specification:

Overview

Abstract

Currently run with ~1500 PVs – have tested up ~20000 PVs.Can maintain and/or backfill archive PV data.Configured by parameter files. Can generate JPEG image from waveform record.

Three instances of the EMF program run in in parallel. Together with MySQL program make optimum use of 4 core CPU.Update dead-banding (cf ADEL/MDEL) can be set per PV.PV name aliasing also possible.

THP106