180 likes | 321 Views
DESY Strip Tool extensions. Matthias Clausen Albert Kagarmanov. MKS-2, DESY. New features:. History specific features: Why history feature? Realization scheme. History Algorithms Menu Circle Fitting. Redraw Our realizations (History Record, calls to archive) Common features:
E N D
DESY Strip Tool extensions Matthias Clausen Albert Kagarmanov MKS-2, DESY
New features: • History specific features: • Why history feature? Realization scheme. • History Algorithms Menu • Circle Fitting. Redraw • Our realizations (History Record, calls to archive) • Common features: • Y-scale Zoom and Moving • Current Value Showing • Logarithm Scale • Auto range • Conclusions, TODO, download.
Why history feature? • Operators want to have 1-2hour previous data when they start StripTool • “Close” problem: If someone will close StripTool all data tracks will lost. • Historical reason: No good/fast archive browsers. • DESY specific reason: Data for 1996-2000 years was saved in “home made” bin/SDDS-format. • Some info you can find under : www-kryo.desy.de/main/tools.html
Realization scheme: • Current data coming from CA (original StripTool) • History data coming from “archives” • 2 way for archive call: • 1) Local (LibIO, SDDS) • 2)Network (Archive API ) • Both case are implemented as compiler option • Current DESY realization use AAPI.
Reduction method: Average • Average method: useful for common view, using like default (Can’t show single min/max)
Reduction method: Tail of raw • History Panel: Last 1024 real points from archiver
Reduction method: Sharp • Sharp Method will try keep all essential min/max
Reduction method: Spline • Spline: use well known cubic spline interpolations
Endpoints • Allows exactly set time-scale endpoints
Show points • Show points like small circle
Redraw • 12 month • plotting • 1 day • plotting • after • replot
Logarithm scale • Logarithm Scale is important for value as a pressure.
DESY realizations: • In StripTool 2.4b8 from JLAB was added StripHistory_fetch() call, so all WS-Developer can create history browser using his own local archiver. For example, in LANL ChannelArchiver support was added into StripTool • At DESY we are using history record from IOC first (usually in this record have about 200 more recent history points ) and if we need more points we get data from our SDDS-binary files (AAPI protocol) • Request for history record - channel access call . • Request for archiver – AAPI(over TCP/IP) call to AAPI server which extract data from SDDS-files.
DESY realizations: • Get Data Request • First current data • Need more data? Try Archive Record (CA) • Need more ? Try ask AAPI (TCP/IP)
Conclusions, TODO, download. • StripTool with History extensions seems more flexible (real Data Browser). • TODO: • C++ version of StripTool (Chris Larrieu) • Min/Max curves? • Download: Current version of Strip(History)Tool available under ftp://ftp.desy.de/pub/EPICS/extensions/ 1) stripHistoryTool/StripHistoryAtDESY.tar.gz 2) AAPI/AAPIatDESY.tar.gz