Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slides:



Advertisements
Similar presentations
March 24-28, 2003Computing for High-Energy Physics Configuration Database for BaBar On-line Rainer Bartoldus, Gregory Dubois-Felsmann, Yury Kolomensky,
Advertisements

MS CRM Integration WhosOn Service Integration Presentation MS CRM User Group.
Remote Procedure CallCS-4513, D-Term Remote Procedure Call CS-4513 Distributed Computing Systems (Slides include materials from Operating System.
ASPEN Data Monitoring System (ADM) ASPEN Training 101/102.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
1 Web Services Visual C# 2008 Step by Step Chapter 30.
Control and monitoring of on-line trigger algorithms using a SCADA system Eric van Herwijnen Wednesday 15 th February 2006.
PVSS SOAP Interface RCMS  DCS XDAQ  DCS (anyclient  PVSS) Peter Rosinsky, CERN PH/CMD CMS week 15-19/3/2004.
ALICE Data Acquisition Ben Shepherd MaRS Group ASTeC STFC Daresbury Laboratory.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
Database Programming in Java Corresponds with Chapter 32, 33.
LWIP TCP/IP Stack 김백규.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
Topaz : A GridFTP extension to Firefox M. Taufer, R. Zamudio, D. Catarino, K. Bhatia, B. Stearn University of Texas at El Paso San Diego Supercomputer.
PVSSProxy The first piece of the MACS procedure framework (ProShell) Angela Brett.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
ATLAS DCS S. KhomoutnikovDDC Tutorial1 DAQ – DCS Communication Tutorial ( DDC v. 4.1, online ) 58 slides with comments printing note pages before.
NA-MIC National Alliance for Medical Image Computing ParaView Server Manager Berk Geveci Andy Cedilnik.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 43 Remote Method Invocation.
Overview of PVSS 3.6 Oliver Holme IT-CO. 16/11/2006JCOP Project Team Meeting New features in 3.6 New Installer for PVSS on Windows New Qt User Interface.
Track Short Course: TrackRT Installation Thomas Herring, MIT Room A
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
SKYPIAX, how to add Skype capabilities to FreeSWITCH (and Asterisk) CHICAGO, USA, September 2009.
4 Oct 2005 / Offline week Shuttle program for gathering conditions data from external DB Boyko Yordanov 4 October 2005 ALICE Offline week.
Field Programmable Port Extender (FPX) 1 NCHARGE: Remote Management of the Field Programmable Port Extender (FPX) Todd Sproull Washington University, Applied.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
S.Linev: Go4 - J.Adamczewski, H.G.Essel, S.Linev ROOT 2005 New development in Go4.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
Reading ROOT files in (almost) any browser.  Use XMLHttpRequest JavaScript class to perform the HTTP HEAD and GET requests  This class is highly browser.
Go4 Workshop J.Adamczewski-Musch, S.Linev Go4 advanced features.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Clara Gaspar, February 2010 DIM A Portable, Light Weight Package for Information Publishing, Data Transfer and Inter-process Communication.
Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems Tomoyuki Konno 1, Anatael Cabrera 2, Masaki.
Maintaining and Updating Windows Server 2008 Lesson 8.
Wednesday NI Vision Sessions
И ЯN R ИI HADES Collaboration Meeting XIX July at GSI in Darmstadt Progress in offline and online QA Offline-QA New dev-s in hhistory Online-QA.
LAN Bridge Spanning Tree Animation Simon Arlott. Broadcast Networks ● In a broadcast LAN, all packets are sent to all hosts – even if they are not the.
Progress Apama Fundamentals
PVSS an industrial tool for slow control
Current Status of the Geometry Database for the CBM Experiment
Working in the Forms Developer Environment
CSCE 313 Network Socket MP8 DUE: FRI MAY 5, 2017
Content from Python Docs.
Demo: from running a test to displaying the results
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Overview – SOE PatchTT December 2013.
Distributed object monitoring for ROOT analyses with Go4 v.3
Bomgar Remote support software
File Transfer and access
Azure Machine Learning & ML Studio
Introduction to ligo_viewer
Testing REST IPA using POSTMAN
Go4 CHEP 2001 Multithreaded Inter-Task Communication with ROOT -
CANalytics TM CAN Interface Software BY.
הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level
Unit-2 Objects and Classes
Hands-on Introduction to Visual Basic .NET
Washington University, Applied Research Lab
Philippe Vannerem CERN / EP ICALEPCS - Oct03
Chapter 40 Remote Method Invocation
Chapter 46 Remote Method Invocation
EXPLORING THE INTERNET
Chapter 46 Remote Method Invocation
OPC UA and EPICS Introduction
Presentation transcript:

Slava Filimonov & Jim Cook, PVSS - ROOT Interface ROOT-PVSS Connection Current Status 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Introduction Interface that allows PVSS data to be displayed using ROOT, permitting all analytical functions that are available in ROOT Motivation Features and implementation of the interface Examples – including demonstration Future plans 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Motivation Limited PVSS functionality Zoom impractical Histogramming difficult to use Exclusively data from PVSS No possibility to fit curve NOTE: This has been and is being improved Physicists familiar with ROOT ROOT is a very powerful analysis tool Possibility for parallel data sources Multiple PVSS systems Could include DAQ data, for example This is not implemented in the current version 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Basic features Based on TCP/IP Any number of ROOT clients can connect to one PVSS project Trend Plots: From a specified time in the past to present (updating) From a time in past to another time in past (since--until) Histograms ROOT Macros can be used No configuration necessary on PVSS side Windows and Linux 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface ROOT - PVSS Small API Manager (GetArc) Only ~40 Kb GetArc Manager ROOT classes PVSS Viewer Macros 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface PVSS TCP Manager Pass data point names or aliases using pattern (dpNames) Take data for defined period and pass to a client (dpGetPeriod) Send data on change (dpConnect) Send single datapoint value (dpGet) Currently limited to integer, float and boolean Standard PVSS functionality used 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Class Structure ‘Normal’ trend Histograph Retrieve single value Retrieve DP names with pattern Display data from start time to end time Trend with 2-dimensional ‘surface’ Display data from start time and update 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Example: Two Graphs/Curves { // This script explains how the PVSS-ROOT class set is used gROOT->Reset(); gSystem.Load(“PVSSAccess.dll”); gBenchmark->Start("hclient"); ct = new TCanvas("ct","Time on axis",10,10,700,500); // Define Main Canvas TDatime start("2005-04-13 14:35:00"),end("2005-04-13 14:45:00"); // Define Time Interval char *dp = "ELMB/LaR/ELMB_1/AI/NTC_40.value"; // Data point name 1 char *dp1 = "ELMB/LaR/ELMB_1/AI/NTC_41.value"; // Data point name 2 time_t t = start.Convert(); // Convert to time_t format time_t e = end.Convert(); TPVSSAccess *sock = new TPVSSAccess("pcatics4.cern.ch",4242); // Connect to PVSS PVSSViews *pvss = new PVSSGraphViews(ct,"Test"); // Define View // Define two Graphs/Curves on one view/trend PVSSGraph *gr = new PVSSGraph(sock,dp, t,e,pvss); PVSSGraph *gr1 = new PVSSGraph(sock,dp1, t,e,pvss); pvss->insertTransaction(gr); pvss->insertTransaction(gr1); int rlen = sock->GetTimePeriod(gr); // Obtain data for first data point int rlen1 = sock->GetTimePeriod(gr1); // For the second pvss->drawTransaction(); gBenchmark->Show("hclient"); } 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Example: 2D Graphs { gROOT->Reset(); gBenchmark->Start("hclient"); gSystem.Load("PVSSAccess.dll"); ct = new TCanvas("ct","Time on axis",10,10,700,500); // Main Canvas TDatime start("2005-04-12 9:00:00"),end("2005-04-12 11:00:00"); // Define Time Interval char **dpNames; char *dpw = "*Dubna_11?.Temperature.value"; // Data point using pattern char *dpt = ""; // Data point type int len, rlen; time_t t = start.Convert(); // Convert to time_t format time_t e = end.Convert(); TPVSSAccess *sock = new TPVSSAccess("pcephc613.cern.ch",4242); // Connect to PVSS int tr = sock->GetDpNames(dpw,dpt,len,&dpNames); // Get DP name from PVSS PVSSGraph2DViews *v = new PVSSGraph2DViews(ct,"Test"); // Open View v->SetOption("surf1"); for (int i = 0; i < len-3; i++) { // Open Trends cout << dpNames[i] << endl; PVSSGraph *gr = new PVSSGraph(sock,dpNames[i], t,e,v); rlen = sock->GetTimePeriod(gr); // Obtain data from data point } v->drawTransaction(); gBenchmark->Show("hclient"); 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface 2D Graph Display 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Example: Trends { // This is an example to open trends gROOT->Reset(); gSystem.Load("PVSSAccess.dll"); gBenchmark->Start("hTrend"); ct = new TCanvas("ct","Time on axis",10,10,700,500); // Open canvas char **dpNames; char *dpw = "@NTC*"; // Data point alias pattern char *dpt = "FwElmbAi"; // Data point type int len; TPVSSAccess *sock = new TPVSSAccess("pcatics4.cern.ch",4242); // Connect to PVSS int rr = sock->GetDpNames(dpw,dpt,len,&dpNames); // Take DP name from PVSS PVSSGraphViews *v = new PVSSGraphViews(ct,"Test"); // Open View for (int i = 0; i < len; i++) { // Open Trends cout << dpNames[i] << endl; PVSSTrend *tr = new PVSSTrend(sock,dpNames[i],1800); v->insertTransaction(tr); sock->OpenTrend(tr); } v->startRefresh(5000); 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Example: Histogram { gROOT->Reset(); gSystem.Load("PVSSAccess.dll"); gBenchmark->Start("hclient"); TDatime start("2004-07-26 20:00:00"),end("2004-07-26 22:00:00"); char *dp = "ELMB/LaR/ELMB_1/AI/ai_0.value"; // DP name time_t t = start.Convert(); // Start interval time_t e = end.Convert(); // End Interval double *res,*dd; TPVSSAccess *sock = new TPVSSAccess("pcatics4.cern.ch",4242); // Connect to PVSS int len; int rlen = sock->GetTimePeriod(dp,t,e,len,res,dd); // Get Data ctt1 = new TCanvas("ctt1","Time on axis",10,10,700,500); gt = new TH1F("elmb_counts","This is ELMB counts distribution",100,61900,61950); for (int i = 0; i < len; i++) { gt.Fill(res[i]); // Fill Histogram } gt->SetTitle("ELMB/LaR/ELMB_1/AI/ai_5"); ctt1->SetFillColor(41); ctt1->SetFrameFillColor(33); gt->SetFillColor(19); gt->SetLineColor(5); gt->SetLineWidth(2); gt->Draw("AL"); gPad->Modified(); gBenchmark->Show("hclient"); 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

PPPViewer 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface Datapoint name and type selection (allowing use of pattern) Menu to allow connection to be set Data display area Datapoint names displayed here Time interval selection 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Practical Remarks Can be downloaded from: http://atlas.web.cern.ch/Atlas/GROUPS/DAQTRIG/DCS/dcshome.html Root installation – IMPORTANT Developed with Version 4.03/02 For Windows Visual Studio version Delete LibNew Install suitable .DLL (for Visual Studio version) Full instructions on ROOT web site Read them! PVSS00GetArc Configuration [tcp] tcpServerSocket = 4242 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Future Plans Manager Convert aliases to data point names and vice versa Extend data point types allowed when reading a single value e.g. dyn_string Viewer Several pads in pppViewer Save and Load selected datapoint list Improve datapoint display and selection Tree structure like Hardware or Logical View Active X component Can be displayed in PVSS panels Configuration of display on PVSS side PVSSAccess library XY Graphs Signal/Slot event Would allow for a ‘trigger’ Other data types (string, dyn_string,..) More than one connection 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Relation plots (value vs. value) Only one pair of values can be plotted at a time 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface

Slava Filimonov & Jim Cook, PVSS - ROOT Interface Application Protocol Request Header Time Start End To PVSS Answer Header Data Timestamps Data Point name ROOT Command Handler Length Data Type 14.04.2005 Slava Filimonov & Jim Cook, PVSS - ROOT Interface