SNS Control System Slide 1, 4/19/2002 Converting Applications to R3.14 June 2003,

Slides:



Advertisements
Similar presentations
Multithreading Overview Multithreading Models Threading Issues
Advertisements

NGAS – The Next Generation Archive System Jens Knudstrup NGAS The Next Generation Archive System.
Control System Studio (CSS)
Make This work with EPICS! 2006
Channel Access Enhancements J. Hill. R3.14 Enhancements Large array support in the portable server –nearly complete –a priority for SNS Port syntax for.
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
JCA 2.0 Eric. Boucher – APS EPICS Collaboration Meeting - June 18-20, 2003.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Ether_ip - EPICS EtherNet/IP support for ControlLogix Kay-Uwe Kasemir, LANL Nov
EtherIP Driver Kay Kasemir, July 2009.
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
Wind River VxWorks Presentation
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
AreaDetector: Recent Additions and Future Plans Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
SC84, Epics C# Library Written by Christoph Seiler Presented by Dirk Zimoch.
Controls Murali Shankar Luofeng Li Mike Zelazny Archiver Appliance Report Fall 2012.
Controls for High-Availability Magnet PS’s for ATF2 Glen White SLAC September
ICS – Software Engineering Group 1 Cross Compiling vxWorks on Linux EPICS Collaboration Meeting l May 2002 at BESSY, Germany May 2002 at BESSY,
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
Introduction 1-1 Introduction to Virtual Machines From “Virtual Machines” Smith and Nair Chapter 1.
Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
ICS – Software Engineering Group 1 GeneralTime Proposal Status at SNS and Ideas for EPICS base David Thompson Sheng Peng Kay-Uwe Kasemir.
SNS Integrated Control System MBUF Problems and solutions on VxWorks Dave Thompson and cast of many.
1 1999/Ph 514: IOC Development Environment EPICS IOC Development Environment Marty Kraimer APS.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut EPICS V4 Archiver Service and Matlab client Timo Korhonen.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
NetWorker Wizard (Keystone) Developers Tom FrencelRock Brown Wenlu MaGeorge Shioyama Aditya Kapoor June 30, 2005.
Spring 2003 EPICS Collaboration Controls Group CZAR 2.0 (in development) Christopher A. Larrieu Chris Slominski.
1 EPICS Bus Errors & Power PC u VME Bus Error can generate a Machine Check Exception (MCE) u The WRS mv2700 BSP doesn’t have code to do this u Write cycles.
Disk Layout/Productization Proposal Ron Rechenmacher and Geoff Savage.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
EPICS sequencer update Greg White / William Lupton / EPICS ‘99 SLAC, May 27, 1999.
R. Keitel, TRIUMF, Vancouver Epics Collaboration Meeting, Argonne 16-June-2006 Converting from edd/dm to edm.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
EPICS DIAMOND EPICS Meeting, EPICS base 3.14 OSI: Operating System Independent Support Marty Kraimer.
1 EPICS EPICS Base 3.13 and 3.14 Status and License IHEP August 2002 Marty Kraimer and Andrew Johnson.
Channel Archiver Oct 2000 Kay-Uwe Kasemir, LANL. Channel Archiver Generic archiving system for EPICS Stores independent “Channels” = any Process Variable.
BROOKHAVEN SCIENCE ASSOCIATES U.S. Department of Energy Office of Basic Energy Sciences Funded under contract: DE-AC02-98CH10886 EPICS/RTEMS at NSLS S.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
EPICS Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
WIFI design Guide based PW620-I b/g ----Hardware section Orin.Zhu August 31 st, 2007.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
Disk Layout/Productization Proposal Ron Rechenmacher and Geoff Savage.
Managed by UT-Battelle for the Department of Energy Kay Kasemir Jan Experimental Physics and Industrial Control System.
Stanford Linear Accelerator Center Stephanie AllisonEPICS Meeting June, Porting EtherIP to EPICS 3.14 Usage at SPEAR IOC Software Porting Notes 3.13/3.14.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
EPIC S Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
Stephanie Allison Software Mar 2, 2006 IOC Applications Host Applications Directory Structure Environment Setup Issues.
Unix Server Consolidation
Using Ada-C/C++ Changer as a Converter Automatically convert to C/C++ to reuse or redeploy your Ada code Eliminate the need for a costly and.
Development of Embedded EPICS on F3RP61-2L
EPICS IOCs – Relational DB
Channel Archiver Kay-Uwe Kasemir, LANL
EPICS BASE Release alpha3 EPICS Meeting at IHEP
Introduction to Virtual Machines
EPICS: Experimental Physics and Industrial Control System
Introduction to Virtual Machines
Presentation transcript:

SNS Control System Slide 1, 4/19/2002 Converting Applications to R3.14 June 2003,

SNS Control System Slide 2, 4/19/2002 Basis for this talk l ChannelArchiver  Actually did the conversion to R l EDM  Did 1%, remaining 99% John Sinclair l EtherIP (Allen Bradley Control Logix PLC driver)  Observed Stephanie Allison’s work al distante, she will report details in her own presentation

SNS Control System Slide 3, 4/19/2002 Available Information l Application Developers Guide  R includes ‘makeBaseApp’ layout and makefile details l EPICS base/documentation:  BuildingR3.13AppsWithR3.14.html  BuildingR3.13ExtensionsWithR3.14.html  ConvertingR3.13AppsToR3.14.html

SNS Control System Slide 4, 4/19/2002 Make System Changes l Now supports RTEMS, Win32, Unix IOC applications l Most obvious changes:  config  configure  {Makefile, Makefile.Host, Makefile.Vx}  Makefile  HOST_ARCH  EPICS_HOST_ARCH, ‘Linux’  ‘linux-x86’, ‘WIN32’  ‘win32-x86’  Target architectures ‘ppc603’  ‘vxWorks-ppc603’  PROD  PROD_HOST, PROD_IOC l Usage:  EDM & ChannelArchiver still on old make system  EtherIP: Both old and new based on ifdef EPICS_HOST_ARCH in main Makefile

SNS Control System Slide 5, 4/19/2002 Channel Access Changes l Old API works as before l New:  ca_task_initialize  ca_context_create(multithreaded_or_not?), ca_task_exit  ca_context_destroy  ca_current_context, ca_attach_context to allow usage across threads  File descriptor manager, ca_pend_io/ca_poll/…  fully multithreaded  Support for big arrays l Usage:  EDM: old API  ChannelArchiver: New API, from two thread (disk writes, rest) to many (main, disk writes, CA, HTTPD, one per HTTP client)

SNS Control System Slide 6, 4/19/2002 Time Stamp Changes l TS_STAMP  epicsTimeStamp  TS_STAMP still available l osiTime  epicsTime  Conversions to/from anything except double, no access to seconds/nanosec/epoch info l osiTimer  epicsTimer  Different API l Usage:  ChannelArchiver required rewrite of every time-stamp related piece of code

SNS Control System Slide 7, 4/19/2002 Portability Layer Changes l epicsThread, epicsMutex, epicsEvent, epicsSignal, epicsTime, …  New OS independent wrappers for threads, semaphores, …. l EDM: has its own portability layer l EtherIP: uses epicsXXX routines if under R3.14 l ChannelArchiver: Replaced custom portability layer with epicsXXX classes

SNS Control System Slide 8, 4/19/2002 Channel Archiver Statistics (not necessarily useful) l Time for R3.14 conversion: two about ½ time l Code size  Before conversion:23368 lines  After conversion:22995 line  Multithreading added lines, usage of epicsXXX removed lines, altogether 1.5% less code l Comparison including test code for old custom OS wrappers vs. new test code for understanding epicsXXX classes  0.5% more lines

SNS Control System Slide 9, 4/19/2002 Results, Comments l EDM works on Unix as before, compatible with R3.13 l Channel Archiver works on Linux & Win32 as before, maybe Solaris, no longer with R3.13 l EtherIP now works on Linux, Win32, Solaris, vxWorks, RTEMS, and still with R3.13 (vx only) l R3.14 OS wrappers great for code that didn’t use anything similar before, hope that they stay more stable than previous attempts (osiTime, osiTimer)