Enumeration data types in the UaModeler

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
Lost+Found
Hero Member
Hero Member
Posts: 20
Joined: 07 Feb 2013, 11:01

Enumeration data types in the UaModeler

Post by Lost+Found »

Hello,

I tried to add enumeration data types in the UaModeler but I did not succeed.
Should this be possible?

Thank you

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:Enumeration data types in the UaModeler

Post by Support Team »

Hello,

Adding custom data types is not supported by the current version of the UaModeler.

We added already the support for enumeration data types for the next version that will be available together with the upcoming C++ SDK V1.3.1 (service release for the current version 1.3). This version will provide also support for custom OPC UA ReferenceTypes. The new version of the UaModeler is already available on request but the generated code requires C++ SDK V1.3.1.

Support for structured data types will be added to the next major release of the C++ SDK V1.4. This support will be added also to the UaModeler at the same time.

Best Regards,
Unified Automation Support Team
Last edited by Support Team on 07 Feb 2013, 10:48, edited 1 time in total.
Best regards
Unified Automation Support Team

Lost+Found
Hero Member
Hero Member
Posts: 20
Joined: 07 Feb 2013, 11:01

Re:Enumeration data types in the UaModeler

Post by Lost+Found »

Thank you very much for the clarification.
Please keep me updated when the new version is available.

Lafond
Hero Member
Hero Member
Posts: 25
Joined: 14 Oct 2008, 12:55

Re:Enumeration data types in the UaModeler

Post by Lafond »

Hi

Is the release date of the version 1.3.1 is now known?

Thanks

Claude
Last edited by Lafond on 07 Feb 2013, 10:48, edited 1 time in total.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:Enumeration data types in the UaModeler

Post by Support Team »

Hello,

the C++ OPC UA SDK release 1.3.1 is scheduled for end of October.

Best regards
Support Team
Last edited by Support Team on 07 Feb 2013, 10:48, edited 1 time in total.
Best regards
Unified Automation Support Team

Lafond
Hero Member
Hero Member
Posts: 25
Joined: 14 Oct 2008, 12:55

Re:Enumeration data types in the UaModeler

Post by Lafond »

Thanks, waiting for it

Claude
Last edited by Lafond on 07 Feb 2013, 10:48, edited 1 time in total.

Lafond
Hero Member
Hero Member
Posts: 25
Joined: 14 Oct 2008, 12:55

Re:Enumeration data types in the UaModeler

Post by Lafond »

Hi

November is there and the snow is almost there!

Based on the results of the IOP, do you think the SDK v1.3.1 will be released soon?

Best regards

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:Enumeration data types in the UaModeler

Post by Support Team »

Hi Claude,

Thank you for waiting. It is now a Christmas present :)

The C++ SDK version 1.3.1 was already released on November 4, 2011 to customers but the UaModler needed more testing and enhancement since we got a lot of feedback from beta testers.

The new UaModeler version 1.1 is now available and the C++ SDK version 1.3.1 is now also available as demo download.

The new version (UaModeler and C++ SDK) supports user defined enumerated data types and user defined reference types.

Best Regards,
Unified Automation Support Team
Best regards
Unified Automation Support Team

hermanek
Jr. Member
Jr. Member
Posts: 2
Joined: 09 Dec 2011, 13:21

Re:Enumeration data types in the UaModeler

Post by hermanek »

Hi,

I have created my ovn Enumerate type using UaModeler version 1.1.0 - 184. However, when used as a datatype of some variable, I see the following comments in the generated code

// ToDoDataType variable State
// ToDo DataType not supported yet

How do I create the custom enumerate data type in the code?

Thanks for reply

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:Enumeration data types in the UaModeler

Post by Support Team »

Hello,

Custom enumeration data types should work without limitations. At least there are no known limitiations.

Can you provide more details like where is the enumeration data type is used (variable, method argument, event field). Maybe you can send an example project to support@unifiedautomation.com?


Best Regards,
Unified Automation Support Team
Best regards
Unified Automation Support Team

hermanek
Jr. Member
Jr. Member
Posts: 2
Joined: 09 Dec 2011, 13:21

Re:Enumeration data types in the UaModeler

Post by hermanek »

Hi,

thanks for the reply. You are right, it works. I have probably used the 1.3 template profile. With the 1.3.1 it works fine.

I am sorry.

Kind regards

Antonin

Post Reply