Extensions to the Asyn Driver for Data Acquisition Klemen Zagar May 2 nd, 2013.

Slides:



Advertisements
Similar presentations
User Guide TE Connectivity Data Collection Tool (DCT) January 2012.
Advertisements

Chapter 13: I/O Systems I/O Hardware Application I/O Interface
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Vassal: Loadable Scheduler Support for Multi-Policy Scheduling George M. Candea, Oracle Corporation Michael B. Jones, Microsoft Research.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
UNCTAD BrusselsIRU / UNCTAD June 2001Page 1 ASYCUDA++ SAFETIR Interface 1.Objective & Constraints 2.ASYCUDA++ Transit Module(s) 3.SAFETIR Implementation.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Chapter 5 Input/Output 5.1 Principles of I/O hardware
1 9 Moving to Design Lecture Analysis Objectives to Design Objectives Figure 9-2.
Making the System Operational
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 18 February 2010 Martin Postranecky, Matt Warren, Matthew Wing.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.
View-Based Application Development Lecture 1 1. Flows of Lecture 1 Before Lab Introduction to the Game to be developed in this workshop Comparison between.
ECE 495: Integrated System Design I
Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
Microprocessor Architecture Pipelined Architecture
11 Contracts CS 4311 Wirfs Brock et al., Designing Object-Oriented Software, Prentice Hall, (Chapter 6)
Serial Support for Diamond A review of EPICS serial interface options Pete Owens Daresbury Laboratory.
I/O and Networking Fred Kuhns
Campus02.at don't stop thinking about tomorrow DI Anton Scheibelmasser Setubal ICINCO /25 Device integration into automation systems with.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
I/O Systems.
DPM ARCHITECT FOR XBRL XBRL taxonomy editor aimed at BUSINESS USERS Based on the DPM approach and DPM XBRL Architecture Currently on its last stage of.
1 Never too much of a good thing. Brand new customer support framework Make the most of the worlds most powerful pre- processing software for additive.
Request Tracker IT Partners Conference Oliver Thomas 19 April 2005.
My ELAS December 2012.
DAQmx下多點(Multi-channels)訊號量測
HORIZONT TWS/WebAdmin TWS/WebAdmin for Distributed
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
REGISTRATION OF STUDENTS Master Settings STUDENT INFORMATION PRABANDHAK DEFINE FEE STRUCTURE FEE COLLECTION Attendance Management REPORTS Architecture.
Week 1.
Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Press any key to continue by Marc Ruocco 1 High-Speed Interfaces: FPDP and RACEway RACE, RACEway and RACE++ are trademarks of Mercury Computer Systems,
ITER Fast Controller Prototype Feng Wang, Shi Li and Xiaoyang Sun Institute of Plasma Physics, Chinese Academy of Sciences 4/15/20151 The Spring 2010 EPICS.
ICS Test Environment Alexander Söderqvist Dec 9, 2014.
Web Applications Development Using Coldbox Platform Eddie Johnston.
Using an FPGA to Control the Protection of National Security and Sailor Lives at Sea Brenda G. Martinez, Undergraduate Student K.L. Butler-Purry, Ph.D.,
Operating Systems High Level View Chapter 1,2. Who is the User? End Users Application Programmers System Programmers Administrators.
A Brief Overview of LabVIEW Data Acquisition (DAQ)
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
EPICS Collaboration meeting Fall 2012, SDD status and plansPage 1 Self-Described Data - SDD status and plans Lana Abadie, ITER CODAC.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
REDNET Prototype overview Rok Stefanic the best people make cosylab.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
REDNet - Status overview Rok Stefanic Ziga Kroflic
Time Management.  Time management is concerned with OS facilities and services which measure real time.  These services include:  Keeping track of.
OATS - An Example of LCOD Organic Aerosol Thermal desorption chemical ionization mass Spectrometer David Thomson NOAA Aeronomy Lab October 19, 2006 ALARM.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Page Beam Instrumentation mini- workshop Conclusions from the Hardware, Timing and MPS mini-workshop Lund, Miha Reščič Deputy Head of
Beam-Synchronous Data Acquisition (BS-DAQ)
Microcontroller Applications
Status of Fast Controller EPICS Supports for ITER Project
הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
הודעות ריענון מהיר והרחבות דגימת אות Low-Level
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Control Systems for the APTM and GRID
Presentation transcript:

Extensions to the Asyn Driver for Data Acquisition Klemen Zagar May 2 nd, 2013

Motivation Architecture Data acquisition functionality Other uses Image acquisition Signal generation Timing receivers Status & roadmap Outline Spring 2013 EPICS Collaboration Meeting 2

Data acquisition devices have a lot in common: Acquire a sample/waveform. Sampling rate. Triggering conditions. Unit conversion… ITER diagnostics: Could the interface for accessing and configuring common functionality be somehow standardized? At level of EPICS PVs? Benefits: Write high-level applications and interchange DAQ devices. Operate DAQ devices in the same way (reset, firmware update, trigger configuration, …) Specify functionality by ticking what needs to be supported, rather than writing a spec for every DAQ device. Reusable automated tests. Motivation Spring 2013 EPICS Collaboration Meeting 3

EPICS base already pre-defines a very useful collection of records (ai, ao, mbbi, …, motor record). Generic Transient Recorder (GTR): Clock, trigger (incl. pre-trigger and soft trigger), multiple events, number of samples. MEDM screen. AreaDetector: Settings, image, image processing plugins The idea is by no means new… Spring 2013 EPICS Collaboration Meeting 4

Nominal Device Support (NDS) A C++ base class from which device-specific drivers are to be derived Templates makeBaseApp.pl EPICS database Example device driver Documentation Users manual Test plan Based on the C++ asynPortDriver NDS architecture Spring 2013 EPICS Collaboration Meeting 5

Documentation (users manual) Spring 2013 EPICS Collaboration Meeting 6

Documentation (test plan) Spring 2013 EPICS Collaboration Meeting 7

These are base classes, likely to be extended/overriden by device-specific driver NDS classes Spring 2013 EPICS Collaboration Meeting 8

NDS state machines Device-level state machine: Channel-level state machine: Spring 2013 EPICS Collaboration Meeting 9

The EPICS DB template declares a record: For standard functions, the template defaults are used. Device-specific drivers are free to add records, or remove the ones that are not supported/applicable. Register the read and/or write handlers, retrievecallback interrupt ID: For standard functions, done in the NDS base class. A single-liner to add custom functions. Implementing a device-specific driver Spring 2013 EPICS Collaboration Meeting 10

Implement the handler (called when record is processed): For many standard functions, already implemented in the base class (software emulation). Dispatching interrupts (triggering record processing): Implementing a device-specific driver Spring 2013 EPICS Collaboration Meeting 11

Message mechanism: Registering message handler Registering state transition handlers Spring 2013 EPICS Collaboration Meeting Implementing a device-specific driver 12

A superset of all one could think of… Device-specific driver need not implement all… …but if it does, it would automatically comply with the standard. DAQ functions Spring 2013 EPICS Collaboration Meeting 13

General: Device information Device/channel state Executing self-tests Firmware update (including checksum & compatibility checks) Clock settings Sample rate Clock multiplier Clock source Triggering Trigger condition (including soft trigger – now) Trigger delay (negative – pre-trigger) DAQ functions Spring 2013 EPICS Collaboration Meeting 14

Filtering (FIR, IIR) Unit conversion Piece-wise cubic splines Settable at run-time (double waveforms) Signal generation Piece-wise cubic splines Sine, wave, pulse, …. Fourier transforms Streaming DAQ functions Spring 2013 EPICS Collaboration Meeting 15

Logical events Something that happens on some timing devices terminal Function-oriented Timestamped by the timing board Standardized way to control event timings (origin, delay, width, duty cycle, end time) Timing devices Spring 2013 EPICS Collaboration Meeting 16

Similar to Area Detector... Advice: If in doubt, use Area Detector Can use Area Detector plugins Advantage of NDS imaging devices: NDS devices can talk directy with each other E.g., high-performance streaming of images timestamped with a NDS timing device Imaging devices Spring 2013 EPICS Collaboration Meeting 17

NDS 2.2 was released in April Support for timing devices Currently used only by ITER diagnostics Considering to be used for ESS Struck 8300 DAQ MRF-based event receiver support process in place Roadmap: Software support for FFT Automated tests Support for threading (lifecycle management, real-time settings, synchronization, timers, file descriptor polling, …) CSS screen Status & Roadmap Spring 2013 EPICS Collaboration Meeting 18

Boards (planned to be) supported BoardDeveloper ADC12500RF-DA (ITER) Struck SIS8300 (MTCA.4)ATOS, Alceli (ITER, ESS, DESY) TEWS TAMC641DMCS (ITER) NI PXI-6682 and NI PXI-6683NI (ITER) PTM-DAMC (MTCA.4 timing)ITER, DMCS (ITER) ATX-AMC-PTP (ATCA timing)ITER, IPFN (ITER) ATCA-IO-PROCESSOR (32-channel DAQ)IPFN (ITER) ADQ412-3G (MTCA.4 and PXIe, 4 channel 1.8GS/s ADC)IPFN (ITER) Microresearch Finland Timing ReceiverCosylab (ESS) Spring 2013 EPICS Collaboration Meeting 19

Got a DAQ device to support? We can give: sources & docs offer support guidance / design advice and also implementation & QA Send to Use cases welcome, too! Interested? Spring 2013 EPICS Collaboration Meeting 20

THANK YOU