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
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: 846
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: 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