1 IOC for upgrading BPM DAQ software WANG,Jian ( 王坚 ) Univ. of Sci. & Tech. of China.

Slides:



Advertisements
Similar presentations
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS.
Advertisements

Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct , Geneva, Switzerland.
Data Acquisition System for 2D X-Ray Detector Beijing Synchrotron Radiation Facility (BSRF) located at Institute of High Energy Physics is the first synchrotron.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
1 Development of Any Frequency Fire Rate SLR Control System Cunbo FAN, Xue DONG, Xingwei HAN, You ZHAO Changchun Observatory, , China.
Transient signals EE Overview What is a TRANSIENT Signal ??? What is a TRANSIENT Signal ??? Recap Of OSCILLOSCOPE Recap Of OSCILLOSCOPE Switches.
Existing Industrial Solutions and Virtual Instrumentation Integration into GANMVL Reinhard Bacher, Michael Seebach DESY.
Target Monitoring and Control Current status DAQ card – NI 6254 Analog/Digital card Problems with Linux version drivers Currently reading up to 12 channels.
Time Varying Signals.
Target Online Software J. Leaver 01/12/ /06/2015Imperial College 2 Target Controller Software Software for Stage 1 upgrade nearing completion –Hardware.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
1 Linac/400 MeV BPM System Status Nathan Eddy PIP Meeting 8/8/12.
Ion source RF system Andy Butterworth BE/RF Mauro Paoluzzi BE/RF 14/11/2013Linac4 ion source review.
Hall Probe Calibration System
Optical Anchor / Interferometer Status: June, 2004 Josef Frisch.
BPM DAQ for KEK Linac EPICS IOC using WindowsXP-based Oscilloscope for BPM DAQ System in KEK e-/e+ Linac Masanori Satoh (KEK Linac) June 13-16, 2011 EPICS.
Data Acquisition Software Integration and ADC Characterisation Jack Hobbs 4 th August
APS BPM and power supply applications on micro-IOCs W. Eric Norum
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
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.
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.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
CEA DSM Irfu Spiral2 Injector diagnostics acquisition based on new hardware Françoise Gougnaud CEA Saclay IRFU - Françoise Gougnaud– Spiral2 Injector Diagnostics.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Presented by: Sergey Volkovich Vladimir Dibnis Spring 2011 Supervisor: Mony Orbach.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
EPICS Application Development At The Canadian Light Source Glen Wright.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Fast Fault Finder A Machine Protection Component.
Present Status of EPICS Development at the 3GeV Proton Beam Transport Facility Control System in J-PARC JAERI Motoki OiTetuya KaiSinichiro Meigo Sinichi.
NTOF DAQ status D. Macina (EN-STI-EET) Acknowledgements: EN-STI-ECE section: A. Masi, A. Almeida Paiva, M. Donze, M. Fantuzzi, A. Giraud, F. Marazita,
SoLiD/PVDIS DAQ Alexandre Camsonne. DAQ limitations Electronics Data transfer.
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
BIC Issues Alan Fisher PEP-II Run-4 Post-Mortem Workshop 2004 August 4–5.
EPICS Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
OATS - An Example of LCOD Organic Aerosol Thermal desorption chemical ionization mass Spectrometer David Thomson NOAA Aeronomy Lab October 19, 2006 ALARM.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Installation. All Rights Reserved © Alcatel-Lucent | Installation Module Objectives  Installation  Startup and process monitoring  Uninstallation.
Integrating Advantech PCI I/O cards into EPICS. Outline ANTARES computer control and data acquisition systems architecture STAR computer control and data.
Managed by UT-Battelle for the Department of Energy LabVIEW Channel Access Implementaion Alexander Zhukov SNS.
EPIC S Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
Seamless Guest OS's and more!
UBUNTU INSTALLATION
Beam-Synchronous Data Acquisition (BS-DAQ)
Experience & Status of the LIGO Slow Controls System(s)
ATF/ATF2 Control System
What happens inside a CPU?
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
Roller Coaster Design Project
Status of Fast Controller EPICS Supports for ITER Project
Fill-pattern Control System for KEKB
ERL BPM System Mike Billing, Mark Palmer
Hugh Smith and Fred Wiegand
Low Level RF Status Outline LLRF controls system overview
< kek.jp > Measurement and Data Acquisition for Accelerator Controls at KEK (Beam Position Monitor at Linac) Kazuro Furukawa < kazuro.
Low Level RF Status Outline LLRF controls system overview
EPICS: Experimental Physics and Industrial Control System
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting
Presentation transcript:

1 IOC for upgrading BPM DAQ software WANG,Jian ( 王坚 ) Univ. of Sci. & Tech. of China

2 IOC for upgrading BPM DAQ software  IOC on win32  Various technologies of win32  Test IOC based on IVI-COM and TekVisa  Test IOC performance and common win32 application  IOC for upgrading BPM DAQ software  DAQ IOC software  CA Client of DAQ IOC software

3 1. IOC on win32  Different C/C++ compiler with different host platforms  Here use win32-x86: MS compiler  Different products used the different MS technologies  ActiveX(ActiveDSO in wavePro oscilloscope), COM(XStream in wavePro oscilloscope, IVI-COM in Tektronix oscilloscope), TekVisa (Tektronix oscilloscope)  DLL could be used to integrate to IOC when writing a device support

4 1.1 Test IOC based on IVI-COM and TekVisa  Tek DPO 7104: Win XP  EPICS IOC:base ,VC2005,cygwin (gnu make, perl)  Two methods for IOC  IVI-COM: Interchangeable Virtual Instruments  seems memory did not released when one scan was done(with ITekScopeWaveformTransfer.FetchWaveform Method )  TekVisa: as normal programming, add the tekvisa library directory to lib path and add include directory to include path in the makefile as follows  USR_INCLUDES += -I"C:\VXIpnp\WINNT\include“  xxxSupport_SYS_LIBS += visa32

5 IVI-COM  IVI: Interchangeable Virtual Instruments  Installed IVI TekScope Driver firstly  In device support, C++ must be used for COM technology  Code like follows  ::OleInitialize(NULL); //before create instance  … //reference IVI-COM sample  ::OleUninitialize(); // when done

6  Get waveform  IOC running on OSC  Medm remotely

7  Compare IVI-COM and TekVisa  The IOC used IVI-COM running as scan periodic  The memory will be exhausted and at last it will be ended with an error  The fastest speed of acquisition is lower than that using TekVisa  So IVI-COM is unselected

8 1.2 Test IOC performance and common win32 application  Develop an IOC based on TekVisa  Waveform acquisition only  Vary the record length of waveform from 1000 to 500,000  Vary the scan periodic cycle and scan passive  The minimal scan period could be 0.01 second  Add 0.01s,0.02s,0.05s to scan menu type  Get the waveform continuously to get the average of acquisition speed  Amount of waveform acquisition >= 1000  A tekVisa test program have developed using VC

9 Test IOC performance and common win32 application  Curve and curvestream  Curvestream make OSC to continuously transfer waveform data as fast as it is acquired. Also it puts instrument to a talk-only mode and no response to other clients and other commands.  Need time to stop curvestream mode to place OSC back into its normal talk/listen mode  So if settings of OSC seldom are reconfigured and fast performance is needed, curvestream is suitable  If settings of OSC are needed to reconfigure quickly and frequently, just as mode switch very quickly, curvestream not suitable and curve is better

10 Scan passive,10GS/s

11 Scan periodic,10GS/s,  Two cycle  Vary scan period (>=0.01s)  Vary loop number in read function in device support  pulse generator  15M,400mv

12 IOC (passive scan) and commom application under same condition 2 channel 4 channel

13 2. IOC for Upgrading BPM DAQ software  Now beams of linac are switched to KEKB and PF twice a day  Next switch frequency is several Hz(1~2Hz)  Final switch frequency will be 50Hz  So BPM system and Feedback system will be upgraded to promote stability and quality of beam, speed of switch between KEKB and PF.

14 Monitor Station (Previous) VME + Oscilloscope (TectronixTDS680, 5-GSa/s, 8-bits) VME  Oscilloscope via GPIB (GPIB is slower)

15 OS9 Software structure (Now) DPO 7104 Windows XP DAQ Software DAQ Software TekVisa TekVisa Porting OS9, Tru64 (lib.) => Windows Remove the VME and GPIB, use ethernet

16 Tektronix DPO 7104  10-GSa/s (4ch), 8-bits  Windows XP based (P4 3.4-GHz)  Gigabit-Ethernet

17 EPICS BasedOS9 DPO 7104 Windows XP DAQ Software (IOC) DAQ Software (IOC) TekVisa TekVisa Common Windows => EPICS based

18 DAQ Software (IOC)  VDCT to design the records

19  subArray: store the SP result (position and current value) named $(user):SPDataSA, correspond to struct sp_mon

20 Device support  Device Type  device(waveform,INST_IO,devWfTekDPO,"Tek DPOScope")  device(ao,INST_IO,devAOTekDPO,"TekDPOSc ope")  device(subArray,INST_IO,devSATekDPO,"Tek DPOScope")  device(stringout,INST_IO,devSOTekDPO,"Tek DPOScope")

21 subArray device support process Init function: open device using tek_open and read paremeter from file using cmprepare Init_record function: init for record related. In SPData, setup the OSC for acquisition firstly, such as channel selection, vertical value, horizontal value, delay value, waveform position, these setting also can be changed by client if not curvestream mode sa_read function: get waveform, sp measure and calculate the sp data including position and current

22 CA Client of DAQ IOC software  OS: Unix, Linux  Based on the source code of catools of EPICS base which located at base/src/catools  Based on the application “sprecv” and “shmsem” library  SP get client  Get the SP Data and convert subarray to struct sp_mon and store to share memory when running client once  SP monitor client  Get the SP Data and convert subarray to struct sp_mon and store to share memory when SP Data is changed in IOC  Porting “sprecv” to “sp_monitor”

23 DAQ IOC Software Test  50Mhz pulse genrator  Some setting of OSC is 10Gs/s 100ps/pt ; DIS:WAVE OFF; ACQ:STOPAFTER RUNSTOP; DATA:SOURCE CH1,CH2; :HOR:RECO  Use curve command  Scan periodic: max frequency =  Scan passive: max frequency =  Use curvestream command  Scan periodic: max frequency =  Scan passive: max frequency =

24 Summary  Different technologies of win32 to develop IOC for different oscilloscope and compare performance of some  Develop ioc for waveform acquisition and test performance with the common win32 application  Develop IOC for upgrading BPM DAQ Software  Porting DAQ software to IOC EPICS based and test its performance

25 Thank you!