opcua icon indicating copy to clipboard operation
opcua copied to clipboard

Allow DESC field to be set from OPC UA item

Open ralphlange opened this issue 7 years ago • 3 comments

OPC UA items have a description that could be used to set DESC There is an information structure for all OPC UA items that contains a string field with a description. This could be read at connection time and used to set the DESC field of the record that connects to the item.

Since this description might not contain useful information on a specific OPC UA server, and to avoid clashing with DESC settings in the EPICS database, this should be configurable per record (option) with a global default (variable) that can be set from the startup script.

ralphlange avatar Nov 07 '18 09:11 ralphlange

Not a runtime facet. But the generic XSLT I shared with you last month might be a good way to bring a "desc" directly to EPICS Db records. I'm still refactoring this now for specific purpose, things like flippers and having an _In/_Out suffix based as a naming convention.

tim-speight avatar Jan 17 '25 15:01 tim-speight

Good point!

ralphlange avatar Jan 17 '25 15:01 ralphlange

@dirk-zimoch That XSLT takes the XML description of a server (that it produces according to OPC UA spec) to create an EPICS database.

Of course, that is rarely what you want in the end, but it gets you generic full access to everything on the server in an instant.

ralphlange avatar Jan 17 '25 15:01 ralphlange