Page 1 of 1

CurrentMonitoredItemsCount

Posted: 23 May 2023, 12:43
by Patrick1337
Hello,
in SessionDiagnostic I am reading CurrentMonitoredItems value of a session (e.g. ns=1;s=Session_3961317894.SessionDiagnostics.CurrentMonitoredItemsCount). The server has an upper limit of 1000 MonitoredItems per session. A server outputs here the value 4294967285. How can this phenomenon occur? If you delete or add monitored items, the value also changes. For example, after adding nodes, the value was once 72, and after removing them, it was 4294967285 again. Other devices with the same server do not behave this way. It feels like the value range is shifted.

BR
Patrick

Re: CurrentMonitoredItemsCount

Posted: 18 Jul 2023, 17:17
by Support Team
Hi,

high value might be "-1". However, when using UaExpert "Server Diagnostic View" and connect to the CppDemoServer you can quite easily see Session and Subscription diagnostics. UaExpert->Menubar->Document->Add...->DocumentType->ServerDiagnosticView, the view itself subscribes to all diagnostic Nodes that are available (approx 107). The DataAccess-View creates its own extra Subscription and if you add remove nodes, you can see the CurrentMonitored Items increase/decrease.