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
Using a OPCUA open62541 C Client it is possible to create on a OPCUA open62541 C Server Objets Nodes and Variables Nodes with. The nodes are fully created with their properties i.e DisplayName or Value.
Using the same OPCUA open62541 C Client code on asyncua/FreeOpcua server, nodes are created correctly but without their properties. User is identifed with admin role by user manager.
Wireshark shows clearly the client message contains nodes properties, so problem may be on freeopcua stack, or I missed a sprecific parameter creating the python asyncua server.
Steps to reproduce the behavior incl code:
open62541 stack client object node using displayName and description attributes.
Asyncua server
async def main():
_logger = logging.getLogger(name)
# setup our server
server = Server(user_manager=UserManager())
await server.init()
server.set_endpoint("opc.tcp://192.168.7.8:4840/")
# set up our own namespace, not really necessary but should as spec
uri = "http://examples.freeopcua.github.io"
idx = await server.register_namespace(uri)
_logger.info("Starting server!")
async with server:
while True:
await asyncio.sleep(20)
Using a OPCUA open62541 C Client it is possible to create on a OPCUA open62541 C Server Objets Nodes and Variables Nodes with. The nodes are fully created with their properties i.e DisplayName or Value.
Using the same OPCUA open62541 C Client code on asyncua/FreeOpcua server, nodes are created correctly but without their properties. User is identifed with admin role by user manager.
Wireshark shows clearly the client message contains nodes properties, so problem may be on freeopcua stack, or I missed a sprecific parameter creating the python asyncua server.
Steps to reproduce the behavior incl code:
open62541 stack client object node using displayName and description attributes.
static UA_StatusCode addDeviceObjectNode(UA_Client client, char name, char *displayName, char *description) {
UA_NodeId deviceId;
}
Asyncua server
async def main():
_logger = logging.getLogger(name)
# setup our server
server = Server(user_manager=UserManager())
Screenshots
asyncua.log
Version
Python-Version: 3.11.2
opcua-asyncio : 1.0.2
Thanks !
The text was updated successfully, but these errors were encountered: