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: 10
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: 869
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: 10
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: 633
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: 267

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 109

pramanj: 86

ibrahim: 71

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Fransua33: 39

Xavier: 34

rocket science: 33

Member Stats:

Guest Posters: 0

Members: 1283

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1100

Posts: 4643

Newest Members:

henryking123, pcygraig5029, corejavatuts, jaynelumpkin4, nandant07, vnd18, arnetteleverett, autumnzzi6, vickiviera, dianames129491

Moderators: Jouni Aro: 869, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 633, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 30, Matti Siponen: 100, Lusetti: 0

Administrators: admin: 1