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
Session Count
May 5, 2017
13:39, EEST
Avatar
karthi
Member
Members
Forum Posts: 16
Member Since:
November 2, 2016
sp_UserOfflineSmall Offline

Hi all,
I have been testing my Ua client with simulation server. I have developed a GUI for my client, I am facing a problem like whenever I am trying to read a value from the server a new session is created on the server.I guess normally it should create a single session until the client disconnects from the server, is it like that?

How Can we create a single session for my client (until I restart the client)?. so that I can read values n number of times in a single session!

As i noticed the server can hold only 50 sessions, then the Client program shows error. What will be the session count for the real time server?

May 5, 2017
14:21, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1026
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Yes normally you do multiple operations per session. Please read OPC UA Specification part 1 for the general concepts.

You did not mention which SDK you are using to develop your client? Assuming our Java SDK, then please see the SampleConsoleClient example.

Max number of concurrently active sessions depends on the server. For simulation server this number is currently 50.

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
7 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:

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

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

Administrators: admin: 1