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: 1009
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: 518

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

ibrahim: 75

rocket science: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 707

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 982, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 319, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1