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
Setting "setIncludeSubTypes" method to false of addressspace class is not working as expected
September 28, 2024
10:17, EEST
Avatar
Krishnavarma
New Member
Members
Forum Posts: 1
Member Since:
September 28, 2024
sp_UserOfflineSmall Offline

Problem Details:

SDK Version: Prosys Java SDK 5.2.4
Method in Question: setIncludeSubTypes(Boolean includeSubTypes)
Expected Behavior: When I set includeSubTypes to Boolean.FALSE, I expect the client request to reflect this setting.
Observed Behavior: Despite calling setIncludeSubTypes(Boolean.FALSE), the client request always seems to treat includeSubTypes as true.
Steps to Reproduce:

Initialize the OPC UA client and address space.
Call setIncludeSubTypes(Boolean.FALSE).
Connect to the OPC UA server.
Observe the client request or log to check the value of includeSubTypes.

Please let me know if there are any known issues or additional steps that I may have overlooked.

September 30, 2024
11:39, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 353
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

The IncludeSubTypes parameter only affects browses performed by the user of the SDK when calling public browse methods. It does not affect internal browses performed automatically by the SDK when initializing connection between the Client and the Server or when getNode methods are called to get local versions of Nodes on the Server’s AddressSpace.

Do you have a specific example of a situation where you think the IncludeSubTypes is being used incorrectly for a browse method performed manually in your code?

Also, is there a reason you would need to set IncludeSubTypes to false? In general, it is recommended to include the subtypes when browsing.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 34
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: 6519
Newest Members:
ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1047, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1