BrowseFilterBranches Property
General info
Label |
Branch Filter |
Description |
Include branches (nodes) of this OPC Server in system:inmation’s namespace which correspond to this filter string; i.e. '*control*' to include only branch names which contain the string 'control'. Generally filtering must be supported by the OPC Server implementation. The OPC Foundation defines the filter string to work conforming to the Visual Basic LIKE operator. |
Data type |
String |
Type |
Regular |
Code |
522 |
Symbolic name |
MODEL_PROP_BROWSEFILTERBRANCHES |
Lua access code |
syslib.model.properties.BrowseFilterBranches |
Available since |
1.0 |
- Parent properties
-
BrowseControlDataSource | BrowseControlNode | OpcUaBrowseControlDataSource
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_INHERIT | This Property can inherit from parent if it is the same property. |
Examples
Read from or write to the BrowseFilterBranches property.
-- Read from the BrowseFilterBranches
syslib.getvalue("<OBJECT FULL PATH>.OpcUaCClientOptions.OpcUaBrowseControlDataSource.BrowseFilterBranches")
-- Write to the BrowseFilterBranches
syslib.setvalue("<OBJECT FULL PATH>.OpcUaCClientOptions.OpcUaBrowseControlDataSource.BrowseFilterBranches", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the BrowseFilterBranches
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.OpcUaCClientOptions.OpcUaBrowseControlDataSource.BrowseFilterBranches"));
// Write to the BrowseFilterBranches
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.OpcUaCClientOptions.OpcUaBrowseControlDataSource.BrowseFilterBranches"));