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

Node subscription (MonitoredItem) and temporarily removed node (recreated with same identifier) - possibility to relink subscription #2943

Open
2 of 5 tasks
kk-siemens opened this issue Jan 20, 2025 · 1 comment

Comments

@kk-siemens
Copy link

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

I create subscription (MonitoredItem) to some node. Then I need to temporarily remove the monitored node from OPC UA tree. I add the node back to OPC UA tree by creating new node with same identifier. How can I relink the old subscritption from previous old removed node to the new node (that has the same identifier but is different instance)? Is that possible or should I cache and reuse the old node? Or how to correctly deal with situation with subscription on node that can be temporarily removed?

Expected Behavior

Already existing subscription would work on new node with same identifier. Subscription is somehow relinked to the new node.

Steps To Reproduce

  1. Create subscription (MonitoredItem) to node
  2. Remove the node from OPC UA tree
  3. Create new node with same identifier and add it to OPC UA tree
  4. How to relink the subscritpion from the old node to the new node?

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response

@kk-siemens
Copy link
Author

Additional note: I mean on the OPC UA server side how can I relink the subscription (what should I do on the server when new node (with same identifier as old removed node) is created). And so for the client the subscription would automatically continue to work without doing anything (like delete existing subscription and create new subscription).

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