Managed by UT-Battelle for the Department of Energy LabVIEW Channel Access Implementaion Alexander Zhukov SNS.

Slides:



Advertisements
Similar presentations
COM vs. CORBA.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
EPICS Base R and beyond Andrew Johnson Computer Scientist, AES Controls Group.
Channel Access Enhancements J. Hill. R3.14 Enhancements Large array support in the portable server –nearly complete –a priority for SNS Port syntax for.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
Channel Access Protocol Andrew Johnson Computer Scientist, AES Controls Group.
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.
Brian Martlew 25 th Sept 2006 MICE Control & Monitoring Plan Brian Martlew.
Lucretia - Floodland Flight Simulator for ATF2 Glen White SLAC ATF2 Project Meeting Dec 2007.
© 2010 UEI, Inc. All Rights Reserved UEIPAC HMI.
Speak A Simple VoIP Application Project 2 Due date: March 3 rd by 11:59pm.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS State Notation Language (SNL), “Sequencer” Kay Kasemir, SNS/ORNL Many slides from.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
EPICS Meeting 29 th April - 3 rd May© 2013 Helmholtz-Zentrum BerlinCarsten Winkler.
SC84, Epics C# Library Written by Christoph Seiler Presented by Dirk Zimoch.
Enabling Embedded Systems to access Internet Resources.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Controls for High-Availability Magnet PS’s for ATF2 Glen White SLAC September
EPICS devSNMP Extensions Euan Troup, CSIRO Australia Telescope National Facility ASKAP Project Paul Wild Observatory.
Cloud Use Cases, Required Standards, and Roadmaps Excerpts From Cloud Computing Use Cases White Paper
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
EPICS-LabVIEW Interfaces PANDA Collaboration Meeting December 2009 Holger Brand GSI – EE/KS.
1 Channel Access Concepts – EPICS Training – K.Furukawa – Mar EPICS Channel Access Concepts Kazuro Furukawa, KEK, ( ) (Bob Dalesio, LANL,
(Java) CA Client Libraries Status Matej Šekoranja
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
Computing Division Requests The following is a list of tasks about to be officially submitted to the Computing Division for requested support. D0 personnel.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
1. EPICS IOC on CompactRIO EPICS Collaboration Meeting Fall 2011.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Connecting LabVIEW to EPICS network
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
EPICS and LabVIEW Tony Vento, National Instruments
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
1 Network Communications A Brief Introduction. 2 Network Communications.
Current Status of Web Application for RIBF Accelerator
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Windows Communication Foundation and Web Services
Software and Communication Driver, for Multimedia analyzing tools on the CEVA-X Platform. June 2007 Arik Caspi Eyal Gabay.
JavaIOC Overview and Update
Node.Js Server Side Javascript
1.2 The Network Edge Beginning at the edge of a network we are looking at the components with which we are most familiar - namely, the computers that we.
LabVIEW EPICS Client I/O Server
An Overall Structure of the PANDA Hydrogen Targets Slow Control
LCGAA nightlies infrastructure
Introduction to Networking
Windows Communication Foundation and Web Services
Development of built-in diagnostics in the RADE framework (EN2746)
Node.Js Server Side Javascript
Telnet/SSH Connecting to Hosts Internet Technology.
TCP/IP Networking An Example
SLAC USA Marty Kraimer and Matej Sekoranja
EPICS IOCs – Relational DB
Having Any Problem with Roku Beta Version on Xfinity?
Channel Access Concepts
Applications Layer Functionality & Protocols
EPICS: Experimental Physics and Industrial Control System
Channel Access Concepts
Talking Between Services with gRPC
Presentation transcript:

Managed by UT-Battelle for the Department of Energy LabVIEW Channel Access Implementaion Alexander Zhukov SNS

2Managed by UT-Battelle for the Department of Energy SNS diagnostics We have 200+ devices running on Windows-based IOCs  Beam Current Monitors  Beam Position Monitors  Wire Scanners  Laser Wire  Timing fanouts  and more… The hardware is controlled by LabVIEW (6.1 – 8.5)

3Managed by UT-Battelle for the Department of Energy EPICS shared memory interface* Shared Memory DLL IOC (database, CA) ReadData() WaitForInterrupt() GetIndexByName() WriteData() SetInterrupt() CreateDBEntry() Channel Access LabVIEW Application (Wire Scanner, BPM,etc) DBD and DBD files *ICALEPCS talk by W.Blokland, D.Thompson

4Managed by UT-Battelle for the Department of Energy What is good and not so good? Good  You have full IOC and everything that comes with it (including record processing)  All EPICS tools will work by default Not so good  Can we move on Linux (probably yes, but more effort needed)?  cRIO (could be done as we saw, but not easy)  Need to support 2 infrastructure for EPICS IOC and for LabVIEW program (we can work around, but the bundle is still a little bit ugly)  Deployment is complicated: one has to make sure that 2 different parts (and processes) are behaving

5Managed by UT-Battelle for the Department of Energy What do we actually need?  Not an IOC but CA server (since IOC is used for talking CA only)  To Host about 2000 PVs  To to connect to ~50 CA clients  To provide ~ 10Mbit/s of data transfer  To be compatible with all platforms LabVIEW runs on (Windows,Linux, MAC, compactRIO, LabVIEW RealTime)  We never use record processing Why not implement the CA protocol in LabVIEW? Is it possible? Is it fast? Will it really be “compile once, run everywhere?

6Managed by UT-Battelle for the Department of Energy Pilot project Assess possible CA implementation in LabVIEW  No Repeater  No beacons (do we really need them btw?)  Support UDP channel search  Support two CA types (FLOAT and LONG)  Support DBR_STS and DBR_TIME  Support put/get/monitor

7Managed by UT-Battelle for the Department of Energy Server Structure  Launch UDP listener (for search requests)  Launch TCP listener (for new VC connections)  Launch several “threads” for communication  Launch one (or several) “threads” for message processing  Three queues responsible for data transfer and data locking  VC can be in either processing state or in communication state  “Records” are guarded differently

8Managed by UT-Battelle for the Department of Energy Demo program structure Create PV Put initial value (and publish to CA) Get value from CA Publish Array

9Managed by UT-Battelle for the Department of Energy Linux running CA server

10Managed by UT-Battelle for the Department of Energy Mac OS running CA server (Blokland) CA Server running on Macintosh, display through CAML in Safari

11Managed by UT-Battelle for the Department of Energy NI cRIO running CA server (Blokland)

12Managed by UT-Battelle for the Department of Energy TODO  Full CA types support  Develop simple API (that will be applicable to both local PVs and remote PVs, connected through CA client) and FREEZE them  Support all possible type conversion  Error management (external error logger?)  Performance improvement (we are optimistic here since in works OK for our needs with no optmisation already)  CA client!!!

13Managed by UT-Battelle for the Department of Energy Summary  It worked!  We are able to satisfy our requirements  We were able to get 160Mbit/s (running on PC)  We will proceed and try to have full working version at mid-fall