Graphically browse OPC HDA server name space
opens a graphical name space browser for the OPC HDA client object
ItmList = browseNameSpace(
HdaObj. Use the graphical interface to construct a list of items and
return a list of those fully qualified item IDs in
ItmList to retrieve data for those items with function
The name space is retrieved from the server incrementally, as needed.
Connect to the local Matrikon Simulation server and browse for items.
HdaObj = opchda('localhost','Matrikon.OPC.Simulation'); connect(HdaObj); ItmList = browseNameSpace(HdaObj);
HdaObj— OPC HDA client
OPC HDA client, specified as an OPC HDA client object.
ItmListInit— Initial list of OPC HDA items
Initial list of OPC HDA items, specified as a character vector, string, or cell array that identifies the item IDs. When the browser opens, these items are already included in the selected list.
true— Indicator to load entire name space
Indicator to load the entire name space, specified as
this option only if your server does not support partial name space browsing.
ItmList— List of OPC HDA item IDs
List of OPC HDA item IDs, returned as a character vector or cell array of character vectors. Each character vector indicates a selected OPC HDA item ID.