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: 1015
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:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 138

pramanj: 86

rocket science: 81

Francesco Zambon: 81

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 713

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1476

Posts: 6294

Newest Members:

mariam6210, donblanchard632, HowardLon, delilahhuggard, salvadorcolby69, HelenImpar, MnoioDat, babuinsobaka, Miikka Mikkonen, rickeylipinski

Moderators: Jouni Aro: 1015, Pyry: 1, Petri: 0, Bjarne Boström: 986, Jimmy Ni: 26, Matti Siponen: 328, Lusetti: 0

Administrators: admin: 1