Login  •  Register

Handling of GeneralModelChangeEventType specialization

Questions regarding the use of the UaExpert.

Handling of GeneralModelChangeEventType specialization

Postby scherlein » 09 Jul 2019, 10:39

I'm using UaExpert 1.5.1 with an OPC UA server I wrote. To keep the client updated in terms of model changes, I introduced a specialization of GeneralModelChangeEventType called DeviceListChangeEventType. This special type does not have any additional information, it's just there because GeneralModelChangeEventType is abstract (according to the OPC UA specification) and cannot be used directly.

Now, if UaExpert receives an event of type "DeviceListChangeEventType", a message "Unexpected EventType in ModelChangeEvent" is displayed and the event is obviously not handled like a GeneralModelChangeEventType event. In the server address space visualization, the new event type is correctly displayed as subtype of GeneralModelChangeEventType.

Just out of curiosity, I overwrote the EventType variable of the DeviceListChangeEventType events with the GeneralModelChangeEventType's NodeId. After that, UaExpert handles those events without complaining, correctly rebrowsing the affected nodes and updating the GUI. But I'm pretty sure, that's not the way it's supposed to be.

So is this a bug in UaExpert or is my interpretation of the whole ModelChange thing wrong?

Thanks for your replies,
Best regards
Posts: 1
Joined: 09 Jul 2019, 09:43

Return to UaExpert

Who is online

Users browsing this forum: No registered users and 1 guest