IRMIS Technical Details D. A. Dohan, SLAC EPICS Collaboration Meeting, Apr.26, 2005 Argonne National Laboratory Office of Science U.S. Department of Energy A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Workshop summary (excerpt) • Work breakdown – CA client crawlers - adl,alh – Janet Anderson, APS - SDDS – APS - EDL – J. Sinclair - SNC – R. Chestnut - CA archiver – SLAC - Channel Watcher – M. Zelazny - BURT s/r – T. Birke - CDEV – T. Birke - XAL – J.Patton - CA Security – APS 2 Pioneering Science and Technology Office of Science U.S. Department of Energy (generic) PV_Client Schema 3 Pioneering Science and Technology Office of Science U.S. Department of Energy PV Client Crawlers • Janet Anderson at APS has built the following PV client • • crawlers: - MEDM clients (.adl files) - Alarm Handler (.alh) The Alarm Handler and MEDM crawlers have been tested at APS These crawlers are installed in the tarball - Useful as ‘prototype’ crawler code example 4 Pioneering Science and Technology Office of Science U.S. Department of Energy IOC Table • generic IOC attribute table added to IRMIS::Base 5 Pioneering Science and Technology Office of Science U.S. Department of Energy PV Crawler Enhancements • Crawler inserts directly into the RDB • - ‘Agnostic’ (Oracle sequences vs MySQL Autoincrement) - 2 sets of DDL - template for different vendor RDBMS PV Crawler - minor tweaks - PV schema has remained unchanged - 100% ‘reach’ at APS - BESSY results: 6 Pioneering Science and Technology Office of Science U.S. Department of Energy BESSY results: (email from Thomas Birke) Don Dohan wrote: >> Participants in the IRMIS Collaboration meeting: >> The IRMIS::Base web-site is now available at the EPICS site: ... Congratulations to this first roll-out.I immediately downloaded this first version and got it running here at BESSY. The result is: I successfully crawled all of our machine-group IOCs, adl-files and alh-files. And the PV-viewer works just fine. There were just little changes I had to make to get everything working (see attached diff-output). … I just started writing the crawlers that I volunteered for (burt, cdev, … Are there plans to set up a forum/wiki/mailing-list for irmis-related questions/documentation/...? Greetings from Berlin,you really did a good job. Thomas 7 Pioneering Science and Technology Office of Science U.S. Department of Energy Enhancements (cont’d) • SNS PV crawler enhancements • • • - save intermediate ‘path’ results of parsing cdCommands - should these be in IRMIS::Base – or are they site specific? - possibility: store this information as part of the ioc attr table? XAL enhancements - Desktop PV Client viewer IOC Attribute viewer 8 Pioneering Science and Technology Office of Science U.S. Department of Energy • xal demo of crawler, and link to ioc_table 9 Pioneering Science and Technology Office of Science U.S. Department of Energy Get it • Go to EPICS main page, then click on the IRMIS tab - IRMIS ‘primer’ - Copies of presentations at kickoff meeting - Tarball (with the above enhancements) - Extensive Readme - Site specific tailoring with site.build.properties file - PV crawler - XAL/CDW framework - Hibernate framework (subset) - PV viewer - IOC viewer - PV Client viewer 10 Pioneering Science and Technology Office of Science U.S. Department of Energy Work in Progress - tying it all together component type name description form factor manufacturer feature sheet function ioc attribute type value is a ioc prop of is cpu name loaded in record record client type file path client of name type dbd definition is part of field type value db load line component name logical number physical descriptor serial number is part of cable port name connector type is part of pin designator signal name pv name color label is part of conductor pin_a connection pin_b connection 11 Pioneering Science and Technology Office of Science U.S. Department of Energy PV <---> Cmpnt relationship pv,dbd,st.cmd dbior dev support hueristics miner Cmpnt Editor App Pioneering Science and Technology To additional complete the scheme to include An source information The ultimate goal is tofor create and externally maintained device non-control cmpnts, and toreports. resolve for the miner are the dbior maintain a hierarchy of control cmpnts. A support table provides rules that issues that miner cannot For example, these are helpful for 'miner' process uses the st.cmd/pv/dbd relate an IO the string format to adetermine strictly from pv and ds tables, extracting VXIthe chassis and MXI datastore as primary source of a particular component type. user application required to manually connection information. information. The is cmpnt database must create and a cmpnt-instance capture the update hierarchy (ie connection) rules table. This application information, and user the goal is to make it replaces the cmpnt_table in concurrent/consistent witheditor the PV vcct2.0, which adjusts the cmpnt table database directly. The expansion of the cmpnt table into The cmpnt;port;pin tables not only master/detail port and pin tables is contain the component hierarchical handled with cmpnt-type port/pin information: tempates - the pin <-> PV relationship is also established, relating EPICS records to hardware components cmpnt; port; pin 12 Office of Science U.S. Department of Energy • If the miner is run at boot time: - alert user if new records detected without corresponding entries in the component database. - increase the ‘exhaustive’ coverage of the hardware database as well as the PV-to-HW connections/links 13 Pioneering Science and Technology Office of Science U.S. Department of Energy Future • User/Reference Manual - Tracked to the IRMIS release - Birke: Are there plans to set up a forum/wiki/mailing-list for irmisrelated questions/documentation/...? • IRMIS Developers Session – ICALEPCS 2005? 14 Pioneering Science and Technology Office of Science U.S. Department of Energy