Replies: 1 comment 16 replies
-
|
@TE-2 hm, if the node is present but not browsable ("visible") it might be something with the Permissions maybe check the UserManagement if there is a higher level user!? |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi together,
I am currently trying to call a method from a Rexroth ctrlX OPC UA server that requires a custom datatype as InputArguments.
The inputarguemnt is a custom data type
mappingand is an array consisting of astring, abooleanand another custom datatypemappingTable.The variable
InputArgumentsrefers to the nodeIDns=3;s=types/opcuaserver/companion-model/mappingunder which the CustromStruct can also be found in UA Expert.mappingTable, however refers to the NodeIDns=3;s=types/opcuaserver/companion-model/mapping/$$S:comm.opcua.server.companion.NodeIdMappingand this is where the problem begins. This node is not browsable and is not displayed in the UAExpert address tree.I have found the discussion #839 in which the use of the functions
load_data_type_definitions()andclient.load_type_definitions()are described in great detail with which custom structures can be read in.I have now passed the parent node of both structs with the ID
ns=3;s=types/opcuaserver/companion-modeltoload_data_type_definitions, but this fails with the following error message:My guess is that the
NodeIdMappingon whichmappingtype is based cannot be loaded because it is not browseable.However, I can load and read the node
ns=3;s=types/opcuaserver/companion-model/mapping/$$S:comm.opcua.server.companion.NodeIdMappingvia get_node.Does anyone have an idea how to solve this problem?
Is it possible to load a nested data type directly via the NodeID?
Beta Was this translation helpful? Give feedback.
All reactions