Can any DataType have a DataTypeDefinition attribute?|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Can any DataType have a DataTypeDefinition attribute?
Avatar
João Barbosa-Neto
Member
Members
Forum Posts: 8
Member Since:
01/17/2020
sp_UserOfflineSmall Offline
1
01/29/2020 - 14:54
sp_Permalink sp_Print

Greetings,

The DataType NodeClass table that is in part 3 of the UA spec states that the DataTypeDefinition attribute is mandatory for DataTypes derived from Structure, Union, Enumeration, OptionSet, and subtypes of UInteger representing an OptionSet. Seeing as how the DataTypeDefinition is optional for any nodes that have a NodeClass of DataType, could a DataTypeDefinition also be included with other DataTypes that are not listed above?

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/29/2020 - 22:06
sp_Permalink sp_Print

The DataTypeDefinition attribute has no meaning for DataTypes other than the ones listed so it should not be present.

That said, we need to deal with the case where the DataType is BaseDataType and the value may or may not be present depending on the current Value. I created a Mantis issue:

https://apps.opcfoundation.org.....hp?id=5414

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 14
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4567