Server Index in NodeId|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
Server Index in NodeId
Avatar
CHIRANTAN JOSHI
Member
Members
Forum Posts: 4
Member Since:
03/19/2024
sp_UserOfflineSmall Offline
1
03/20/2024 - 00:15
sp_Permalink sp_Print

CTT partially modifies the response where server index changes but the namespaceURI remains null.

At present we don\'t have any server which actually has implemented this non 0 server index along the proper namespaceURI.

Hence, just to meet the compliance, if we make the changes in client code, we would not be able to test it against server which offers response with server index as non 0 which might break client functionality in future when client connects to such server.

So, is it required to address CTT requirement just to meet compliance without having proper testing in place.

CTT for browse request:

/* Test prepared by Nathan Pocock nathan.pocock@opcfoundation.org

Description:

BrowseResult[0]. nodeId has a non-zero server index – node belongs

to remote server. */

 

include( "./library/Services/ViewServiceSet/Browse.js" );

function browseResponse8dot1Err032( request, response ) {

if( response === null ) return;

if( response.Results.length === 0 ) {

addError( "Not enough results to inject. Received 0." );

return;

}

else {

// modify the first record only

print( "Response.Results[0].References[0].NodeId.ServerIndex (before): " + response.Results[0].References[0].NodeId.ServerIndex );

response.Results[0].References[0].NodeId.ServerIndex = 10;

print( "Response.Results[0].References[0].NodeId.ServerIndex (after) : " + response.Results[0].References[0].NodeId.ServerIndex );

}

}

 

BrowseHelper.Execute({ ServiceResult: StatusCode.Good, ExternalFunction: browseResponse8dot1Err032 });

 

Thanks,

Chirantan

Avatar
CHIRANTAN JOSHI
Member
Members
Forum Posts: 4
Member Since:
03/19/2024
sp_UserOfflineSmall Offline
2
03/31/2024 - 21:10
sp_Permalink
Awaiting Moderation

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