Main Content

findDescription

Find OPC UA servers containing specified description

Syntax

ServerList = findDescription(Servers,DescStr)

Description

ServerList = findDescription(Servers,DescStr) searches among Servers and returns only those OPC UA servers whose Description property contains the character vector or string DescStr.

Examples

Find all sample servers from the local host.

localServers = opcuaserverinfo('localhost');
sampleServers = findDescription(localServers,'Sample')
sampleServers = 
OPC UA ServerInfo 'UA Sample Server':

   Connection Information
    Hostname: 'HOST2241'
        Port: 51210

Version History

Introduced in R2015b

See Also

Functions