Search code examples
opc-ua

OPC UA Client MonitoredDataItem - What is MonitoredDataItem MonitoringMode.Reporting vs MonitoringMode.Sampling?


The sampling rate is bound by Subscription's PublishingInterval. What is the difference between the two MonitoringModes? I can't find any information anywhere that describes them.


Solution

  • I can't find any information anywhere that describes them.

    OPC UA Spec Part 4 describes them in detail, but the TL;DR version is: Reporting means the client is actually sent data change notifications for these items, Sampling means the item is only sampled and value changes put into the queue each monitored item has, but changes are not actually reported to the client.