Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_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: 340
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:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 86

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 734

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1510

Posts: 6399

Newest Members:

tammyhillier, rodsFioravanti, Sairamreddy, wj, valentinafluhart, accusneds, Jamesses, DavidLarry, elainesever, powhephenry

Moderators: Jouni Aro: 1019, Pyry: 1, Petri: 0, Bjarne Boström: 1017, Jimmy Ni: 26, Matti Siponen: 340, Lusetti: 0

Administrators: admin: 1