I’m implementing a driver module. I add some nodes, and then automatically create some tags connected to those nodes. I’ve encoutered a few challenges so far.
- The main driver class extends NodeMapDriver, and implements TagProvider.
- The tags all extend DirectSubscribedNodeTag
- The non-folder nodes all extend DataVariableNode
 Right now, I am hard-coding “Ignition OPC-UA Server” for the TagProp.OPCServer attribute for the tags. That seems like it may not be constant across all Ignition Gateways everywhere. Can I retrieve the server name from the GatewayContext?
 When I Add a new device in Gateway configuration, I give it some name. I can retrieve this name via the log manager, but is there a better way? I believe I need this for the TagProp.OPCItemPath attribute.
 DirectSubscribedNodeTag implements NodeSubscriptionDefinition, but getServerNodeId() always returns null. Do I have to override this method, or am I missing some initialization step?
Any advice would be appreciated.