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
Variables in MyBigNodeManager based on strange DataItemType definition
November 15, 2017
17:18, EET
Avatar
hm62
Member
Members
Forum Posts: 4
Member Since:
November 14, 2017
sp_UserOfflineSmall Offline

Hello,
the variables contained in MyBigNodeManager have a strange TypeDefinition “ns=6:s=DataItemType”.
What is the purpose of these nodes? Since they are not based on the DataItemType “ns=0;i=2365” which is definied in the Data Access Specification, they will probably not be encountered as a valid type for standard data access applications…

best regards
Hartmut

November 15, 2017
17:59, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes, that is a bit unfortunately named similar to the standard type. This was just intended to be a sample custom VariableType, in case you want to provide that from the custom node manager as well.

In practice, though, it is much easier to implement all types with normal UaNode based objects in a NodeManagerUaNode type of NodeManager. This will simplify the custom NodeManager implementation as well.

And usually, it is best to stick to standard variable types as much as possible as well.

November 15, 2017
18:07, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

And yes, since your question was related to SimulationServer the follow up to this is that the example originates from the Java SDK samples – and makes even less sense in the SimulationServer.

I guess we should clean this up from the future versions of the product.

November 16, 2017
9:54, EET
Avatar
hm62
Member
Members
Forum Posts: 4
Member Since:
November 14, 2017
sp_UserOfflineSmall Offline

It certainly makes sense in the SimulationServer to have some kind of a big block of items that can be used for testing in Clients (MyBigNodeManager). But these variables should just be based on standard DataItemtype. This would be nice…
Thanks!

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
13 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: 735

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16

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

Administrators: admin: 1