Presentation on theme: "1 EPICS/MDSplus Interface Methods Paul Sichta, NSTX Project in collaboration with Mikyung Park, KSTAR Project Gabriele Manduchi, RFX Project EPICS Collaboration."— Presentation transcript:
1 EPICS/MDSplus Interface Methods Paul Sichta, NSTX Project in collaboration with Mikyung Park, KSTAR Project Gabriele Manduchi, RFX Project EPICS Collaboration Meeting June 2-4, 2010 Aix-en-Provence, France Culham Sci Ctr U St. Andrews York U Chubu U Fukui U Hiroshima U Hyogo U Kyoto U Kyushu U Kyushu Tokai U NIFS Niigata U U Tokyo JAERI Hebrew U Ioffe Inst RRC Kurchatov Inst TRINITI NFRI KAIST ENEA, Frascati CEA, Cadarache IPP, Jülich IPP, Garching ASCR, Czech Rep U Quebec College W&M Colorado Sch Mines Columbia U Comp-X General Atomics INEL Johns Hopkins U LANL LLNL Lodestar MIT Nova Photonics New York U Old Dominion U ORNL PPPL PSI Princeton U SNL Think Tank, Inc. UC Davis UC Irvine UCLA UCSD U Colorado U Maryland U Rochester U Washington U Wisconsin Supported by Office of Science
NSTX EPICS Spring 2010 Introduction In the beginning (NSTX 1999), Engineering used EPICS and Physics used MDSplus Separate organizational units were implementing each framework Both frameworks were being deployed for the first time at PPPL. Both were “free” and “open source”. As machine operations matured the benefits of integration became apparent. The organizational units were unified
EPICS/MDSplus Interface Methods at NSTX Use a client that speaks both EPICS and MDSplus C programs (on Unix) calling both EPICS CA and MDSplus libraries IDL using EZCA_IDL for EPICS and community- developed IDL functions for MDSplus Unix shell scripts Client New EPICS records were prototyped in 2005, but never matured into production (Mastrovito, 5 th IAEA TM on Control, Data Acquisition…) » Performance was poor » A low-priority project
EPICS/MDSplus Interface Methods at KSTAR From Linux IOC – IOC "C" code – Sequencer Program Using dual-client method on Linux – IDL using EZCA_IDL – Matlab using MCA
New EPICS/MDSplus Interface Methods are in Development NSTX will resume and expand the scope of the 2005 effort; C-based MDSplus records on a Linux IOC. Now, collaborate RFX (Manduchi) has developed EPICS records for MDSplus.... see his presentation. C++ MDSplus records on a Linux IOC.
EPICS/MDSplus Interface plans at KSTAR 1) To transfer and store MDSplus data to the tree in run-time during shot for supporting the long pulse (300 seconds) experiments. – MDSplus segmented records 2) In KSTAR, the machine operational data generated continuously at low rate is archived using EPICS channel archiver and the pulse-based experimental data is archived using MDSplus. Some users want to see plasma data in conjunction with machine operational data.
Develop other EPICS/MDSplus interfaces ? CSS plug-ins for MDSplus to duplicate functions provided by MDSplus-native tools: – Traverser – Scope (waveform plots) – Event & Data I/O (put/get) – “ArchiveViewer” for Channel Archiver (from MDSplus data pool) EPICS & MDSplus provide a Python API. Subroutine record. – MDSplus runs on vxWorks... at least partially. MDSplus supports a Java API, RFX has expertise in this area; the EPICS Java IOC is maturing.... some synergy here?
Code Snippets The following code has been modified from its original version. It has been formatted to fit this presentation, to run in the time allotted and edited for content.