You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't set the value of optional and mandatory properties of variables base of a custom variabletype.
Background Information / Reproduction Steps
I have an information model that contains variable types with both optional and mandatory properties that are instantiated depending on some context (e.g. values, range, increment, etc.). I auto-generated some code using the nodeset compiler .
When I instantiate my variables the mandatory properties are created with a default value as expected. How do I add the optional properties to that variable and change the value or all my properties (both mandatory and optional) ?
I tried using UA_Server_writeObjectProperty_scalar as suggested bellow but it is not working for me.
Description
I can't set the value of optional and mandatory properties of variables base of a custom variabletype.
Background Information / Reproduction Steps
I have an information model that contains variable types with both optional and mandatory properties that are instantiated depending on some context (e.g. values, range, increment, etc.). I auto-generated some code using the nodeset compiler .
When I instantiate my variables the mandatory properties are created with a default value as expected. How do I add the optional properties to that variable and change the value or all my properties (both mandatory and optional) ?
I tried using UA_Server_writeObjectProperty_scalar as suggested bellow but it is not working for me.
https://groups.google.com/d/msg/open62541/90dpSO2Wu7E/mNUknnRSCAAJ
Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attachedThe text was updated successfully, but these errors were encountered: