Can a Variable DataType be NullID?|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 a Variable DataType be NullID?
Avatar
Andrew Thomas
Member
Members
Forum Posts: 6
Member Since:
03/04/2014
sp_UserOfflineSmall Offline
1
01/12/2023 - 13:15
sp_Permalink sp_Print

My server contains nodes whose values could have any type, so the node's DataType cannot be a concrete type.  Is it legal for the server to return NullId for the node's DataType, or must it return BaseDataType?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/14/2023 - 17:11
sp_Permalink sp_Print

It must be BaseDataType. Null is always invalid.

Avatar
Andrew Thomas
Member
Members
Forum Posts: 6
Member Since:
03/04/2014
sp_UserOfflineSmall Offline
3
01/16/2023 - 09:16
sp_Permalink sp_Print

Got it.  Thank you, Randy.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Mohit Agarwal
Guest(s) 30
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855