Alexander Schrode
Alexander Schrode
Read the Variables with the browsename "InputArguments" and "OuputArguments" of the method.
Which version are you using? Can you try current master? See issue #58 , which was fixed on master lately.
Maybe we have the same issue on the server side. If you are using the configuration file try using this endpoint to force a password security policy: ``` none: path:...
I think you want this for the nodeid: `const SERVER_NAMESPACES_NODE_ID: i32 = 2255;` or even better use this: `const SERVER_NAMESPACES_NODE_ID: i32 = VariableId::Server_NamespaceArray as i32;`
I used the following code with version "0.8.1" against opc.tcp://opcua.umati.app:4840 and I didn't encounter a problem: ``` fn test_read(session: Arc) -> Result{ const SERVER_NAMESPACES_NODE_ID: i32 = VariableId::Server_NamespaceArray as i32; let...
After looking in the stacktrace and checking the function MessageQueue::send_message I think it's not the posted code. The problem is in creating the connection. Can you post your code where...
Empty arrays are allowed. For decoding we can handle length 0 == null array (length=-1).
Found this in the specs for empty array, null array and Variant null: https://reference.opcfoundation.org/v105/Core/docs/Part6/5.1.9/ So null array == empty array is legal.
Its up to the implementation, if we want empty, null array and Variant::Empty to be decoded separate. But at least a comparison of Variant::Empty and empty/null array should return true.
Must likely you are running out of memory. The opcua-types crate needs about 2gb ram on my maschine.