Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Monitored Data Item filter initial value
February 20, 2025
12:07, EET
Avatar
opcua_1232141232321
New Member
Members
Forum Posts: 1
Member Since:
February 20, 2025
sp_UserOfflineSmall Offline

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.opcfoundatio…..ocs/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?

February 20, 2025
13:02, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

The initial values are sent by the server and there is nothing on the client side that you can do to control that. So, your solution is the best option, if you need this.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 17
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: 733
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1