Detect queue overflow

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
kristian.mo
Full Member
Full Member
Posts: 5
Joined: 15 Feb 2021, 14:12

Detect queue overflow

Post by kristian.mo »

Hello, in the C# SDK am I able to detect and/or get a callback somewhere when a monitored item queue overflows for timeseries? I see there should be an overflow event for event subscription.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: Detect queue overflow

Post by Support Team »

Hi,

the item queue must be configured in "length" and "discard policy" (what to do on overflow). In the application you must check the overflow bit as part of statuscode to detect if the value you are looking at, was a queue overflow or not. There is not extra event, it is just an info bit inside the status of the data value.

See OPC UA Secification for details.
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.12.1.5
Best regards
Unified Automation Support Team

Post Reply