Does anyone know of a good way of getting a display name without running a browse via system.opc.browse (or browseSimple)? My available inputs are opcItemPath and opcServer.
Hmm, I don't think this is possible any other way. The only time the DisplayName attribute is read is during a browse, and there isn't a way to read anything but the Value attribute via scripting.
For the ignorant among us, what is an "OPC display name"?
It's an attribute of the OPC tag available on the OPC server containing a string alias for the tag, accessible by running a method on a system.opc.browse output
Can this be a feature? Can y'all add a function in system.opc or maybe system.tag to return a single OPCBrowseTag object, or something similar, when given an opcItemPath and opcServer or the path to an Ignition OPC tag?