Hello support team,
I have created a method which accepts an InputArgument which has a UtcTime DataType. However I cannot find any format to input into the text box of UaExpert to call the method successfully. When I convert the DataType to DateTime the InputArgument works as expected.
The error message from UaExpert states: "could not convert argument 6 to variant type UtcTime".
I would expect this format to work:
2015-01-01T00:00:00.000Z
It appears that the InputArgument is put into a UaVariant when calling the method and UtcTime is not implicitly converted to DateTime, thus resulting in an UaVariantException.
UtcTime DataType as Method InputArgument
Moderator: uaexpert
-
- Sr. Member
- Posts: 18
- Joined: 25 Feb 2015, 15:58
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: UtcTime DataType as Method InputArgument
Hello,
UaExpert currently only supports the UA base data types, enumerations and structures for methods arguments. Derived types like UtcTime or Duration are currently not supported.
Best regards
Support Team
UaExpert currently only supports the UA base data types, enumerations and structures for methods arguments. Derived types like UtcTime or Duration are currently not supported.
Best regards
Support Team