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
How run the sdk without the menu
March 16, 2021
10:54, EET
Avatar
UlrichFM
Member
Members
Forum Posts: 15
Member Since:
February 10, 2021
sp_UserOfflineSmall Offline

Hello,

I managed to use ANSI c CLIENT sdk without any problem then i integrate it into my software but when i run it, the menu of the sdk still appear and i want to delete it so that i use the sdk without having that menu. I am talking about the menu where whe we have to press a button to run a function. My software runs independently the functions of the sdk i want to use.

March 17, 2021
10:11, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

The menu is the main loop of the sample client, so you will have to find the piece of code that calls it, if you wish to remove it. Unfortunately, I don’t have the code with me right now, but it should be very obvious. Start to look for it at the main() function.

April 1, 2021
15:42, EEST
Avatar
UlrichFM
Member
Members
Forum Posts: 15
Member Since:
February 10, 2021
sp_UserOfflineSmall Offline

Hello,
I am using the subscription function of the ansi c client sdk demo and i get errors when i tried to make more than 30 subscriptions so i have these two questions :
– Is the demo version has a number limited of subscription ? In this case is it 20 ?
– Is the final version of ansi c client sdk has also a limited number of subscription ? What is the max number of subscription ?

Thank’s

April 6, 2021
14:17, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

I cannot personally say regarding the C SDK specifics, but I can answer something in general at least for now.

30 Subscriptions sound a really big number, do you really need that much? Typically applications use like 1 or 2. Note that a single Subscription can have multiple MonitoredItems.

Anyway, an OPC UA Server can impose limits on these, some servers might support like 500 Subscriptions per sessions, some only 1-2 or some maybe none (but they might be some Nano profile devices that only support e.g. the Read service), thus it is not possible to answer “what is max number of subscriptions”, since it depends on the server you are connecting to. Thus please check the server’s settings for those limits.

Also the number of items per subscription might be limited by the server. Typical defaults in the samples of the https://www.prosysopc.com/products/opc-ua-java-sdk/ server side currently is 500 Sessions, 50 Subscription per Session and 1000 items per Subscription. Though, the limits might be different per the applications using the SDK since it would depend e.g. on the hardware they are run and to what use-case they are intended.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule

Moderators: Jouni Aro: 1010, 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