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: 1026
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:
7 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: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

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

Administrators: admin: 1