Optional/Mandatory Modelling Rule
Posted: 25 Aug 2011, 10:37
Hello,
I have been using the UaModeler for some time and I would like to ask a question regarding the Modelling Rules.
I have created a new Variable Type based on AnalogItemType and added one variable and one poperty to it.
When I created a variable of the newly created type I can see only the Mandatory elements. When I create the code for my ANSI C SDK, the Optional elements are not present in the Address Space. How can I make the 'optional' elements visible and how can I use them? Override option, during creating the model, does not allow changing the Modelling Rule, and the element (e.q. EngineeringUnit) stays 'optional' and is not available in my Address Space.
Best regards,
Rafal Fabich
I have been using the UaModeler for some time and I would like to ask a question regarding the Modelling Rules.
I have created a new Variable Type based on AnalogItemType and added one variable and one poperty to it.
When I created a variable of the newly created type I can see only the Mandatory elements. When I create the code for my ANSI C SDK, the Optional elements are not present in the Address Space. How can I make the 'optional' elements visible and how can I use them? Override option, during creating the model, does not allow changing the Modelling Rule, and the element (e.q. EngineeringUnit) stays 'optional' and is not available in my Address Space.
Best regards,
Rafal Fabich