Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_TopicIcon
HDA : Read History Event
September 27, 2013
13:15, EEST
Avatar
cguerin
Vienna, Austria
Member
Members
Forum Posts: 20
Member Since:
April 9, 2013
sp_UserOfflineSmall Offline

Hello,

I am using the Prosys OPC UA Java SDK with the Client sample.
When I try to read History Event it sends a ReadEventDetails with an EventFiter.
I just wonder why the NoOfSelectClauses is 9 but the array length is 8.
And what are the EventFilter SimpleAttributeOperand of name : MyVariable and MyProperty.

Regards.

Camille G.

September 27, 2013
13:44, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Hi Camille,

initEventFieldNames() adds the fields MyVariable and MyProperty to match against the MyEventType, which you may trigger from the SampleConsoleServer.

createEventFilter() indeed adds an extra SelectClause. It does that for the NodeId field, as a bit different definition:

new SimpleAttributeOperand(eventTypeId, null, Attributes.NodeId, null);

, where as the normal fields are defined with Attributes.Value and the respective browsePath.

new SimpleAttributeOperand(eventTypeId, browsePath, Attributes.Value, indexRange);
Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 61
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1