

12:07, EET

February 20, 2025

Hello,
I’m working with OPC UA’s MonitoredItems and have a specific use case where I want to avoid receiving the initial value notification when creating a monitored item. According to the OPC UA specification (Part 4, Section 5.12.2 https://reference.opcfoundation.org/Core/Part4/v104/docs/5.12.2), the server performs initialization processing when a MonitoredItem is added.
Currently, I can work around this by implementing a boolean flag in my data change listener to skip the first notification. However, I’m wondering if there’s any native filtering mechanism in the Java Client SDK to suppress this initial value notification without requiring custom filtering logic.
Is there a more elegant solution available in the SDK?
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 788
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1542
Posts: 6505
Newest Members:
Olpsom, shastaappleton, hildred39i, Adam, tammara49z, vktwaylon2, pilarstorkey83, Dwightsache, MollyAlori, somnath.kalaneModerators: Jouni Aro: 1029, Pyry: 1, Petri: 0, Bjarne Boström: 1040, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1