Is it allowed to have empty ListOfExtensionObject in UAVariable in a NodeSet file ?|OPC UA Companion Standards|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
Is it allowed to have empty ListOfExtensionObject in UAVariable in a NodeSet file ?
Avatar
Ahmad Qureshi
New Member
Members
Forum Posts: 2
Member Since:
01/25/2024
sp_UserOfflineSmall Offline
1
07/16/2024 - 01:53
sp_Permalink sp_Print

Hi Team,

 

I tried to search regarding ListOfExtensionObject in OPC UA Part 6 – Mappings. In OPC UA Part 6 – Mappings an example is illustrated for ListOfExtensionObject. Recently I received a NodeSet file which contained an empty ListOfExtensionObject in blue color in following XML snippet.

 

Is it recommended to have ListOfExtensionObject in following way or is it not a valid way to describe ListOfExtensionObject  ? 

 

<UAVariable NodeId=”s=128.OutputArguments” BrowseName=”OutputArguments” DataType=”i=296″ ValueRank=”1″ ArrayDimensions=”0″ MinimumSamplingInterval=”100″>
<DisplayName Locale=”en”>OutputArguments</DisplayName>
<References>
<Reference ReferenceType=”HasTypeDefinition”>i=68</Reference>
<Reference ReferenceType=”HasProperty” IsForward=”false”>i=12873</Reference>
</References>
<Value>
<ListOfExtensionObject xmlns=”https://newwebsite.opcfoundation.org/UA/2008/02/Types.xsd” />
</Value>
</UAVariable>

 

Best regards

Ahmad

Avatar
Randy Armstrong
Admin
Forum Posts: 1549
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/16/2024 - 15:08
sp_Permalink sp_Print

It is valid XML and should not cause applications to produce errors, however, the de-serialized value may be a NULL Variant than a Variant with an Array of ExtensionObjects with 0 length.

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