160 likes | 179 Views
iPhone Apps for EPICS. EPICS Meeting @ PSI, October 06, 2011 Tom Pelaia (ORNL) Matthias Clausen (DESY). Apps for iPhone. Applications for remote diagnostic Support apps for on call shift iPhone vs Android vs web apps Android: Form follows function Every form might be different
E N D
iPhone Apps for EPICS EPICS Meeting @ PSI, October 06, 2011 Tom Pelaia (ORNL) Matthias Clausen (DESY)
Apps for iPhone • Applications for remote diagnostic • Support apps for on call shift • iPhone vs Android vs web apps • Android: Form follows functionEvery form might be different • iPhone: Function follows formIf you know how to operate one app you know how to handle all of them Similar approach like for CSS (same look and feel for apps) • Web apps: Good for basic information.Management/ Treatment of data more easy in local apps
List of existing iPhone Apps • CA Probe (by Tom Pelaia) • Alarm Table (Univ. HH/ DESY) • Archive Viewer (Univ. HH/ DESY) • Barcode2WebService
CA Probe • See second presentation from Tom Pelaia
Alarm Table – Linking with other Apps Link to app Safari http:// Alarm Table Details View
Alarm Table – Linking with other Apps Archive Viewer CA Probe
Alarm Table • Connect to web service • Web service provides list of current active alarms for a (configurable) list of JMS topics • Web service is a headless CSS applicationSame basic implementation like the CSS alarm table • Get overview of current list of alarms • Get detailed information about an individual channel • Connect to other apps like CA Probe or Archive Reader for more detailled information
Archive Viewer Double click -> zoom in
Archive Viewer Configuration • Using default http communication with Channel archiver • Ongoing work to improve zoom in andout in graphic plot
Barcode2WebService • Generic Application • Scan Barcode • Send number to web service • Receive self describing XML file which configures the table (with links) to be displayed on the iPhone • Links can be http links or links to other apps • The result of a link can be yet another XML file describing the next table • … and so on (nesting limited to 10 level) • To be published soon
Barcode2WebService • Use Case: • Scan barcodefromequipment • Send requestto web service • Getequipmentdatafromdatabase • Getchannelnamefromdatabase • Call CA Probe or Archive Viewer • Getpurchasingcontractdata • Get stock information • Getmaintenancemanualfromdatabase (pdf)
Links in-between apps and web pages Web page Archive viewer CA Probe Dynamic links Alarm Table Barcode2 WebService
From the Web-Page – via iTunes – to your iPhone ! Apps are published through the DESY development license which needs to be renewed every year!
DESY Status: • Two busy maintenance weeks until 17th of October • New equipment to control • New releases of: • IOC redundancy • Profibus support • SNLexec • CSS 1.4.1 (DESY internal) • First version of new MySql archiver going into production • Redundant on Sun Cluster • Redundant NetApp disk server