Replies: 1 comment 2 replies
-
|
Hmm, seems like an oversight that there is no I can add this. Setting the MonitoringMode after the fact is done in bulk via |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With milo 0.6 when creating a monitored event item it was possible to set the monitoring mode like:
MonitoredItemCreateRequest request = new MonitoredItemCreateRequest(readValueId, monitoringMode, parameters);
With mil 1.x you have to use:
OpcUaMonitoredItem monitoredEventItem = OpcUaMonitoredItem.newEventItem(nodeId, eventFilter);
but there is no possibility to set the montoringMode at the monitoredEventItem, as the method setMonitoringMode is not public. (Other methods like setDiscardOldest, setQueueSize are public)
Beta Was this translation helpful? Give feedback.
All reactions