I have two custom data types. They appear defined in the VariableType and with different names and node Ids. I declared a method that has both these custom data types as inputs. When invoking the method through the GUI of UA Expert, it shows the first correctly, but then when selecting the second, it shows with "Value" as the first declared custom datatype.
For example, I have two inputs with matching custom datatype Temp and Humid:
When opening the GUI of calling the method and selecting Temp is first, I select [...] It shows Name *blank* and Value Temp, as expected. If I do the same for Humid It shows Name *blank* and Value Temp.
https://ibb.co/BKWkTVS
https://ibb.co/Zc1mrfv
Method with more than one Custom Data Type does not work
Moderator: uaexpert
-
- Jr. Member
- Posts: 1
- Joined: 09 Oct 2023, 15:09
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Method with more than one Custom Data Type does not work
Hi,
we have tested (latest UaExpert v1.7.0) with multiple custom types as input, and it works all fine. If you click on the argument in the tree and watch the attribute window, you will get the NodeID, which in turn you can use to search the type system of the server to find type description and all references beining set correctly.
What server are you using? Was that model loaded via XML NodeSet (handwritten or created with UaModeler) or created in code?
we have tested (latest UaExpert v1.7.0) with multiple custom types as input, and it works all fine. If you click on the argument in the tree and watch the attribute window, you will get the NodeID, which in turn you can use to search the type system of the server to find type description and all references beining set correctly.
What server are you using? Was that model loaded via XML NodeSet (handwritten or created with UaModeler) or created in code?
Best regards
Unified Automation Support Team
Unified Automation Support Team