Dear all,
I am currently able to read a model.
Now I want to subscribe to this model, meaning that I would like to be informed if any of the model properties changes,
including also child properties.
Is it possible? If yes, where can I find a code example?
Unfortunately the documentation concerning this point is either very poor or I was looking at the wrong place.
Thx a lot for your help.
BR Wolfgang
ModelManager: How to subscribe to a model
Moderator: uasdknet
-
- Jr. Member
- Posts: 2
- Joined: 22 Nov 2021, 11:14
-
- Jr. Member
- Posts: 2
- Joined: 22 Nov 2021, 11:14
Re: ModelManager: How to subscribe to a model
I have found the answer myself.
Model provides the possibility to subscribe to it, using session.Model.Subscribe(...) method.
Thx for the support anyway for not responding due to my silly question because of the poor documentation.
BR Wolfgang
Model provides the possibility to subscribe to it, using session.Model.Subscribe(...) method.
Thx for the support anyway for not responding due to my silly question because of the poor documentation.
BR Wolfgang
- Support Team
- Hero Member
- Posts: 2892
- Joined: 18 Mar 2011, 15:09
Re: ModelManager: How to subscribe to a model
Hello Wolfgang,
Sorry for the late response.
In general we think that there are no silly questions. In the documentation sometime some special topics are hard to find.
However you can find the documentation for ModelManager.Subscribe here: https://documentation.unified-automation.com/uasdknet/3.2.1/html/classUnifiedAutomation_1_1UaClient_1_1ModelManager.html#a7b82dcc2b8792beae48b326cddc34491
Sorry for the late response.
In general we think that there are no silly questions. In the documentation sometime some special topics are hard to find.
However you can find the documentation for ModelManager.Subscribe here: https://documentation.unified-automation.com/uasdknet/3.2.1/html/classUnifiedAutomation_1_1UaClient_1_1ModelManager.html#a7b82dcc2b8792beae48b326cddc34491
Best regards
Unified Automation Support Team
Unified Automation Support Team