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
Event Notifier for Address Space changes
March 8, 2016
10:22, EET
Avatar
Stephen W
New Member
Members
Forum Posts: 1
Member Since:
March 3, 2016
sp_UserOfflineSmall Offline

Hello,
I’m looking for some information regarding detecting address space changes. I’m certainly not sure if I’m doing things right but generally I think I need to request a MonitoredItem to subscribe to the “Server” object with a readValueId object with attributeID set to Attributes.EventNotifier.

I’m using the Simulation Server v2.2.0.94 and can see the “Server” object has EventNotifier attribute value of 1. If I add / remove signals in the Simulation, I had assumed this should change the address space base model so I assumed it would trigger the event notifier back to my client. However, I do not appear to get the address space automatically refreshing.

Along with my Client, I’ve also attempted to use ProSys own demo client as well with no success either. Using ProSys Client, I use the Event View in the Client, I then drag “Server” to the “Drag Nodes Here” option field but when I look at the requested Event Fields I see BaseModelChangeEventTypes not selected or even selectable?.

Are there limitations of the demo Server / Clients regarding Event Notificatons for BaseModelChanges ? Is this the reason why I might not be seeing Event Notifications for changes to the address space I think I’m triggering by adding / removing signals in the Server ? If the Prosys Client and Server should handle address space changes, can some setup information be described that I could see how to do this ?

Thanks in advance,
Steve W

March 8, 2016
12:07, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

SimulationServer: Yes it is a limitation currently. The ModelChange events are optional (and the nodes must have a NodeVersion Property, or to be more precise, the node where they are added must have it).So it is not something that would happen “automatically” every time a node is added, but it probably something we should add in a future version.

Ua Client: If the server does send those events, they should be shown in the table. The checkbox tree only selects which Properties of the events are shown, it does not filter any event by type. There is room for improvement in the checkbox tree, but currently only Properties are selectable so e.g. the BasedModelChangeEventType/GeneralModelChangeEventType/Changes is selectable, but you cannot select it by clicking a parent tree element (I’m not exactly sure why this was done so, maybe one reason could be that there are same Property names sometimes, anyway need to check for future versions)

The Server object is pretty much always an EventNotifier (I guess if the server does not support events at all then it could be 0). The MyLevel node does trigger alarms and those are observable through the Server object.

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online: Manfred Hausmann
13 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: 681

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

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

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