Browsing the node forward referenced with a DI companion specific reference node from Ua Client|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
Browsing the node forward referenced with a DI companion specific reference node from Ua Client
Avatar
Jayesh Thamke
Germany - Karlsruhe
Member
Members
Forum Posts: 6
Member Since:
09/01/2016
sp_UserOfflineSmall Offline
1
07/14/2017 - 01:42
sp_Permalink sp_Print

Dear expert,

I am developing a Ua Client using OPCFoundation/UA-.NETStandardLibrary and I want to browse the a Node from my Ua Client implementation which is a referenced with 

IsOnline 

reference type from OPC UA for Devices Companion Specification Release 1.01 25. July 2013

I am using following Browse node call:

session.Browse(
new RequestHeader {TimeoutHint = 10000, Timestamp = DateTime.UtcNow},
null,
nodeToBrowse,
0,
BrowseDirection.Forward,
referenceTypeId,   //ReferenceTypeIds.<ReferenceType Node Ids from base OPC UA Specifications> does not include IsOnline
true,
255,
out continuationPoint,
out references
);

 

how can I enter the “referenceTypeId” in above browse method?

Thank you in advance for your reply,

Jayesh

 

Mr. Jayesh Thamke

Student - Master of Science

Electrical Engineering and Information Technology - Automation

Hochschule Darmstadt, Darmstadt, Germany

Avatar
Guest
Guests
2
07/15/2017 - 03:26
sp_Permalink sp_Print

Every companion specification has its own set of NodeIds. If you look into the OPC UA for Devices spec, the Annex A has URLs that specify where to find the NodeIds (and the complete information model NodeSet).

E.g. https://opcfoundation.org/UADe…..odeIds.csv – look for IsOnline.

The OPC Foundation also generates .NET files that you can use.

Check https://github.com/OPCFoundati…../master/di.

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