100 likes | 114 Views
This meeting at APS discusses the goals of the hardware RDB, the IO_NAME identifier, the hardware device schema, prototypes 1 and 2, and further work to be done.
E N D
EpicsOra and I/O Hardware Parameters RDB DESY, MKS2 group RDBCore meeting at APS
EPICS link with hardware • e.g. INP • Device-specific formatted string, e.g. @CAN1:N36[4] ‘L=6553’ • Parameters in string are device attributes, node, channel, limits…etc RDBCore meeting at APS
Goals of hardware RDB • Keep device data in RDB separate from EpicsOra data • Link EPICS PVs to hardware device data in a flexible way • Pull EPICS address string parameters and values from device data: automatically generate formatted address string RDBCore meeting at APS
IO_NAME • Unique identifier associated with a hardware channel (measurement/control point) and its parameters. • Used by EpicsOra as the link to device data. • IO string generated from parameters for channel corresponding to the IO_NAME. • To change channel for a record: change the IO_NAME. RDBCore meeting at APS
Hardware device schema • Each channel/measurement/control point has a unique IO_NAME. • DB contains device properties and values to construct IO string (and eventually more) • DB has links to assets data. • DB reflects structure of device: • “Composed of” relationships (module/channel) • “Linked to” relationships (channel/sensor) • Device structure not “hard coded” in database structure: can add devices, properties, and relationships effortlessly! RDBCore meeting at APS
Prototype #1 • Simple schema with a few example devices (CAN) • Stored procedure for assembling IO string from parameter names and values • Extensible parameter list • MS Excel + VB prototype user interface RDBCore meeting at APS
Data model Accommodate “composed of” and “linked to” plus parameter lists. Use Oracle hierarchical structure or object types??? Extend existing DESY prototype schema and UI (Matthias) Modify Prototype #1 IO string stored procedure to query this schema. Will use Java servlet UI. Module 1 Common module properties Specific module properties AI Channel Common channel properties Specific AI properties AO Channel Common channel properties Specific AO properties Module 2 Common module properties … Prototype #2 RDBCore meeting at APS
Additional requirements • Computed parameters should be generated by database or UI software e.g. device ranges and limits HI and LO • Supporting metadata and maintenance: • Device definitions and default parameters. • Tables to specify the IO String (list of parameters required and their positions and labels) • Etc. RDBCore meeting at APS
Further work… • Develop Prototype #2 further: • Schema • UI Servlets (or other?) • IO String assembly stored procedure • Examples • Import flat EPICS .db files into EpicsOra RDBCore meeting at APS
“Dynamic Table” structure and UI RDBCore meeting at APS