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
OPCClient, Subscription, wildcard accepted?
May 5, 2014
9:08, EEST
Avatar
lvboque
Member
Members
Forum Posts: 8
Member Since:
March 20, 2014
sp_UserOfflineSmall Offline

Hello,

I would like to know if it is possible to add a Subscription using wildcard …
Example: [MY_PLC]Global.* in order to get callback for any variables matching the pre-defined ‘pattern’

Thanks a lot,

Laurent

May 6, 2014
7:06, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1009
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Not directly. But, the Query service is exactly for requesting a set of nodes that match this kind of criteria. You could then subscribe to all of these. Query requires support from the server, though. We have not made it easily available in the SDK, yet, but it is possible to use it, if you need.

July 24, 2014
18:35, EEST
Avatar
OndrejBlazek
Member
Members
Forum Posts: 19
Member Since:
July 22, 2014
sp_UserOfflineSmall Offline

If you don’t have the necessary server support then, assuming you aren’t going to be changing the subscription frequently, just recurse through the address space and subscribe to the nodes that match the pattern.

Obviously this is not a good solution if you are going to be changing the pattern frequently or if the address space is overly large (since it will take time to explore the address space for matches).

I posted an example of how you can explore the address space recursively in the following post…

http://forum.prosysopc.com/for…..ua-server/

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 685

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1