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: 1026
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, EET
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, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
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, EET
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, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
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, EET
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, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
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: 1919

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

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

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

Administrators: admin: 1