Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VariablyType properties optional and mandatory #2644

Open
4 tasks
izonfreak opened this issue Apr 11, 2019 · 0 comments
Open
4 tasks

VariablyType properties optional and mandatory #2644

izonfreak opened this issue Apr 11, 2019 · 0 comments

Comments

@izonfreak
Copy link

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:

  • [master] open62541 Version (release number or git tag):
  • [none] Other OPC UA SDKs used (client or server):
  • [linux] Operating system:
  • Logs (with UA_LOGLEVEL set as low as necessary) attached
  • Wireshark network dump attached
  • Self-contained code example attached
  • Critical issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant