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
OPC-UA and OSGi, dynamically deploying a data model
October 17, 2013
9:02, EEST
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Hi, im looking into creating an application useing OPC-UA and OSGi. But OSGi focuses on dynamically modifying the application after the users needs. So I would like to look into how I can have an application running and later on deploy some hardware and a corresponding data-model from OPC-UA into the currently running server?
Are there any support for dynanamism in OPC-UA or do I have to stop and start the server if I want to deploy another data-model. Either another or an update to the older one.

October 25, 2013
13:22, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 846
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Sorry for the late response. Yes, OPC UA enables modifying the address space dynamically. You can do that easily in the server with the methods of the NodeManagerUaName, for example. And you can also enable the changes from clients, if that is necessary (in your case I assume it’s not important).

You can also use the NodeVersion property in Objects, which enables also ModelChange events, which can be used to notify clients about the changes.

October 28, 2013
14:41, EEST
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Ok so after the server has been initialized I can create my initial models and events right?
Then I decide to start the server, and one can after the server is running add more components to the UA server?
This can be done through NodeManagerUaNode.addNodeAndReference for example?
And this will be displayed on the client side without any sort of refresh or reconnect?

October 28, 2013
17:29, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 846
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes, you can add nodes. The client must of course rebrowse the nodes that get new references. But it can also listen to ModelChangeEvents (GeneralModelChangeEventType) on the Server object, which will tell it which nodes are changed in the server.

October 29, 2013
13:17, EEST
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Yeah iv gotten it to work now. So deleting and adding was not a big problem. Do you have any experience with someone using OPC-UA and OSGi?
Also if I want things to update on client side then the client must listen to these events and implement and update\redraw event itself right? Just as you basically said?

October 29, 2013
14:29, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 846
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Fine. Yes, I have heard of other customers using it with OSGi without a problem.

Exactly. The clients can notice the changes, if you prepare the server properly. See the SampleConsoleServer.addNode() for a complete example.

October 30, 2013
21:04, EEST
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Thank you for the help!
One last question, do you have any names for the customers who have used. I would like to contact them for educational purposes.

October 31, 2013
9:03, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 846
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I am afraid that is not public information at the moment. But, if you send your contact information by email (sales at prosysopc.com), I can ask them if they want to contact you.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 100

pramanj: 86

ibrahim: 70

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 37

Rainer Versteeg: 32

Thomas Reuther: 26

Member Stats:

Guest Posters: 0

Members: 1058

Moderators: 14

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 981

Posts: 4145

Newest Members:

mats989, Sebastien Petitrenaud, sting2005, Ron Hoppe, Seb, p.devito, g.ilengo, MohamedLazrek, brittr83165991, martintinsley9

Moderators: Jouni Aro: 846, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 523, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 20, Markus Johansson: 18, Matti Siponen: 31, Lusetti: 0

Administrators: admin: 0