ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for...
Transcript of ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for...
![Page 1: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/1.jpg)
ChannelFinderDirectory Service for EPICS Channels
Kunal Shroff – BNLRalph Lange – HZB / BESSY II
EPICS Collaboration Meeting, San Francisco, 05 Oct 2013
![Page 2: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/2.jpg)
CS
-Stu
dio
IOC
CA client (JCA/CAJ)
IOC … IOC
pvA client
IOC …
v3 v4
directoryService
AccelUtils
Command/response
v4
Masar
Web based REST services
...
Olog
ChannelFinder API
API
…
API
API
pvmanager core
pva …caData Sources
Processing
Visualization
vTypesData Definition
BOY
cf
Aggregation
General purpose clients
Specialized clients
Log Viewer
Channel Viewer
DataBrowser
…
…
formula
graphene
…
Registry
Bindings
pvm services
masar
CS-Studio core
Core Java Client
Databases Command-line
NEW! NEW!
Pub
lish/s
ub
scri
be
![Page 3: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/3.jpg)
Motivation
• Problem: A flat name space restricts seriously–Clients need to know all channels beforehand
–Applications need full configuration
• Solution: A generic directory service–“Query-by-functionality”
–Simple directory data structure:Channels have properties (key-value) and tags
–No dependence on installation and local conventions
![Page 4: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/4.jpg)
Architecture
REST
ChannelFinder
MySQL
Glassfish
HTMLjson/XML
war
![Page 5: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/5.jpg)
Easy Installation
• Download and install Glassfish • Download and install MySQL• Download ChannelFinder –Run channelfinder-base.sql script to create
database
–Drop the channelfinder.war into autodeploy folder of Glassfish
–Create JDBC connection pool resource
![Page 6: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/6.jpg)
ChannelFinder at BNL
IOCs
Glassfish
ChannelFinderweb service
/cf-update
Web proxy
CS-StudioScripts to- populate properties
- create lattice
channelfinder.nsls2.bnl.gov
NFSupdate daemon
dependency
data flow
Java lib Python lib
![Page 7: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/7.jpg)
High Level Physics Usage
● Physics group adds properties and tags● Directory servicehelps manage thousands of channels and create lattice structures
● Search instead of configurationkeeps HLA scripts simple with low maintenance effort
![Page 8: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/8.jpg)
ChannelViewer
![Page 9: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/9.jpg)
Channel Line Plot
![Page 10: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/10.jpg)
Service Button
![Page 11: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/11.jpg)
Auto-Complete
![Page 12: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/12.jpg)
A Brief History2011/9
Java lib 2.1
2012/1Service 1.1
2010/11Service 1.0Java lib 1.0
SourceForgeContinuous Integration
2011 2012
2012/3Python lib
1.1
2011/6CS-Studio Application
Channel Viewer2012/3
ChannelFinder Applications Widgets
for BOY
![Page 13: ChannelFinder - Advanced Photon Source - Other Services/2...ChannelFinder Directory Service for EPICS Channels Kunal Shroff – BNL Ralph Lange – HZB / BESSY II EPICS Collaboration](https://reader031.fdocuments.us/reader031/viewer/2022022423/5a9fc06a7f8b9a71178d20ac/html5/thumbnails/13.jpg)
Questions?
Thank you.