Streamlined Channel Management with CF-Update: Enhancements and Automation Features
Discover the CF-Update tool, designed to simplify channel management in complex systems. Version 2.0.0 introduces features such as automatic channel creation and status updates, orphaned channel management, and efficient tracking of moved channels through filename properties. Utilizing a structured approach, CF-Update integrates seamlessly with various data sources, enhancing visualization and performance. Future enhancements promise additional properties management and better integration with NameService for streamlined operations. Master the art of managing channels without extensive API learning.
Streamlined Channel Management with CF-Update: Enhancements and Automation Features
E N D
Presentation Transcript
Channel Finder Kunal Shroff Ralph Lange
Publish/subscribe Command/response v3 v4 IOC IOC … IOC IOC … v4 Masar CA client (JCA/CAJ) pvA client … Core Client Technologies CA Data Sources Sim Test pvA AccelUtils Aggregation pvManager Java/Python Web based REST services Data Definition vTypes API ChannelFinder Visualization Graphene API Olog CSS Core ChannelFinder Integration Olog Integration … ... Log Viewer BEAST Web UI and other clients Scripts and utilities BOY Logbook Cf-update DataBrowser … … … CS-Studio
Need for cf-update • How to add new channels • Without having to learn the client api’s • How to manage existing channels • Orphaned channels • Moved channels • Automatically handle some attributes/properties of channels • hostName • iocName
cf-update v2.0.0 • The properties currently managed with cf- update – hostName – iocName – pvStatus : Active or InActive – time : The last time the above properties where updated
Example st.cmd iocInit dbl > record.dbl system “cprecords.dbl /cf-update/$HOSTNAME.$IOCNAME.dbl”
Under the Hood • The cf_monitor daemon monitors $(CF_UPDATE_DIR) directory and envokes an updare task when • A new *.dbl file is created in the dir • An existing *.dbl file is modified • The update task handles • Uses the filename to obtain the hostName, iocName property values and defines time as the time when the file was modified • New channels – creates new channels with hostName, iocNameproperties • Orphaned channels – the hostName, iocName properties are retained for debugging purpose but the pvStatus is set to inactive • Moved channels – ensures that the hostName, iocName properties are update when channels are moved • Unchanged channels • All other existing properties and tags are left unaffected
Physics applications • The High level applications tend to prefer a hierarchical view of the control system where they can group channels by type (such as BPM, horizontal corrector) or location • accelerator physics high level application APHLA (python) • ChannelViewer • Channel line plot • Waterfall plot • Channel Orchestrator
ChannelFinder Service • ChannelFinder is now a pvmanager service
Future plans • Manage additional properties and tags automatically • Integration with NameService/NameValidator • Replace channel widgets with general purpose widgets using pvmanager services and formula • Integration with MASAR