You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I trying to rename object on running opc ua server.
From old DisplayName is 'SNMP' to new DisplayName is 'SNMP changed'.
But object name in tree not changed.
Code received new name from redis subscription.
To Reproduce
Here is code example:
`async def object_changed(jval):
org_id = jval["args"]["id"]
query = "SELECT po.id_p, po.address, p.name FROM page_object AS po LEFT JOIN page AS p ON "
query += f"p.id_p=po.id_p WHERE po.id_p={org_id}"
org, = await db.select(query, f"Database error on object {org_id}:")
node_ = server.get_node(ua.NodeId(org_id, 1))
display_name = await node_.read_display_name()
why do you think its an issue of asyncua? in the attributes tab it shows the current value so from library side its working!
its more likely an issue in the client software not refreshing!
maybe close and reopen the parent folder/object so it will rebrowse/reread?
Describe the bug
I trying to rename object on running opc ua server.
From old DisplayName is 'SNMP' to new DisplayName is 'SNMP changed'.
But object name in tree not changed.
Code received new name from redis subscription.
To Reproduce
Here is code example:
`async def object_changed(jval):
org_id = jval["args"]["id"]
query = "SELECT po.id_p, po.address, p.name FROM page_object AS po LEFT JOIN page AS p ON "
query += f"p.id_p=po.id_p WHERE po.id_p={org_id}"
org, = await db.select(query, f"Database error on object {org_id}:")
node_ = server.get_node(ua.NodeId(org_id, 1))
display_name = await node_.read_display_name()
Screenshots
Screenshot attached
Version
Python-Version: 3.11.2 x64
opcua-asyncio Version (e.g. master branch, 0.9): asyncua-1.1.5
The text was updated successfully, but these errors were encountered: