1 / 9

Control System Studio Training - Archive System

Control System Studio Training - Archive System. Kay Kasemir ORNL/SNS kasemirk@ornl.gov April 2013. Archive System Interactions. End User? Look at PVs in Data Browser Complain when it doesn ’ t work Administrator? Setup Data Store Create Configuration Run Archive Engine(s).

ericwallace
Download Presentation

Control System Studio Training - Archive System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Control System Studio Training-Archive System Kay Kasemir ORNL/SNS kasemirk@ornl.gov April 2013

  2. Archive System Interactions End User? • Look at PVsin Data Browser • Complain whenit doesn’t work Administrator? • Setup Data Store • Create Configuration • Run Archive Engine(s)

  3. View Archive Data in CSS Data Browser • Open Data Browser Plot • Add PV • If default archive setup lists data source with historic data for the PV, it will be displayed

  4. Searching for PVs in Archive • Open Archive Search View • Data Browser Perspective,or Plot’s context menu • Search for channelsvia pattern • Send to new Data Browser • Via context menu • Send toexisting Plot • Via drag& drop

  5. RDB-based Archive System Overview

  6. Which one to use? • Channel Archiver • Fast • Can’t be maintained • RDB • Slow • Super easy to maintain • Worth a look: SLAC Archive ‘Appliance’

  7. RDB Alternatives • Archive Engine • Pluggable Configuration, pluggable ‘Write’ support • Could write to other storage • SLAC Archive Appliance Work • Started with same archive engine • Hopefully will merge sources again • Data Browser • Can read old Channel Archiver’s ArchiveDataServer.cgi • Can read from Archive Appliance • You may write site-specific ‘reader’ plugins

  8. CSS Data Browser Configuration • Can be done via preference GUI • Better: plugin_customization.ini of CSS product: # Read-only(!) archive accessorg.csstudio.archive.rdb/url=jdbc:mysql://localhost/archiveorg.csstudio.archive.rdb/user=reportorg.csstudio.archive.rdb/password=$reportorg.csstudio.archive.rdb/schema= # URLs for archive searchorg.csstudio.trends.databrowser2/urls=jdbc:mysql://localhost/archive # Default data sources for newly added channels# Format: <name>|<key>|<url>org.csstudio.trends.databrowser2/archives=RDB|1|jdbc:mysql://localhost/archive

  9. That’s it! • Look at data in Data Browser, no matter if “live” or “archived” data .. unless you also setup and maintain the infrastructure ..

More Related