Retrieving all alarm nodes from the server #2240
-
Type of issue
Current BehaviorHello My goal is to retrieve all alarm nodes (their addresses) from the server. These nodes are characterized by having HasTypeDefinition reference pointing towards the ObjectType named AlarmType. Our existing solution is very slow and most likely suboptimal. Currently it works by searching the whole tree and comparing each node with custom expression, in this case, checking if the nodes reference table contains reference named AlarmType. I don't think this is the right direction to solve this problem and I doubt how much it is possible to speed up this proccess. My idea was to use the AlarmType reference and by reversing it reaching the desired nodes. Instead this reference pointed back not at these nodes, but to different SubTypes of AlarmType. These SubTypes have matching BrowseName/DisplayName to the target alarm nodes but are not connected in any way to them. Overall, this solution failed. What would be the optimal way of achieving my goal? Expected BehaviorNo response Steps To ReproduceNo response Environment- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client: Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You could try to limit the load by specifiying the nodeClassMask and resultMask in the Browse. |
Beta Was this translation helpful? Give feedback.
-
@MaciejChodorowski, I think its sufficient to browse the server object with hierarchical reference |
Beta Was this translation helpful? Give feedback.
-
Converting this to Q&A and mark as answered. |
Beta Was this translation helpful? Give feedback.
@MaciejChodorowski, I think its sufficient to browse the server object with hierarchical reference
HasNotifier
.