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: 1026
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: 1919

Currently Online:
33 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1