Query on Address Space Node - Mark for Deletion on Restart|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Query on Address Space Node - Mark for Deletion on Restart
Avatar
Mohit Agarwal
Member
Members
Forum Posts: 59
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
1
06/20/2024 - 04:14
sp_Permalink sp_Print sp_EditHistory

Hi,

Is there any way to indicate that an address space Node is marked for deletion or DISABLED which will be removed upon the restart of the OPC UA Server?

Use Case:

We have an OPC UA Server which can represent a bunch of devices such as 1 Controller, n-Tools, n-Batteries, etc.

There are use cases, where a Battery is removed from the system or a Tool is removed from the system. Is there any simple flag or something to indicate that the respective Device object is NO MORE VALID and is marked for deletion upon restart?

We can delete that Node from the address space and trigger Model Change Events, but we want to retain the Object Node until the restart of the OPC UA Server and indicate that it will NOT be available.

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/21/2024 - 21:43
sp_Permalink sp_Print

Return this value for any attributes:

BadObjectDeleted 0x803F0000 The object cannot be used because it has been deleted.

Avatar
Mohit Agarwal
Member
Members
Forum Posts: 59
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
3
06/22/2024 - 00:18
sp_Permalink sp_Print

Randy Armstrong said
Return this value for any attributes:

BadObjectDeleted 0x803F0000 The object cannot be used because it has been deleted.

  

Ok Thank you Randy , I will do that.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 13
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887