Intrinsic component configuration examples

From OPC Labs Knowledge Base
Revision as of 13:12, 23 May 2021 by User (talk | contribs) (Created page with "= Set the default URL of the OPC UA Global Discovery Server (GDS) = In order to set the default URL of the OPC UA Global Discovery Server (GDS) used by QuickOPC global discove...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Set the default URL of the OPC UA Global Discovery Server (GDS)

In order to set the default URL of the OPC UA Global Discovery Server (GDS) used by QuickOPC global discovery operations, you can use the following appsettings.json file:

{
  "OpcLabs.EasyOpc.UA.EasyUAClient": {
    "InstanceParameters": {
      "GdsEndpointDescriptor": {
        "UrlString": "opc.tcp://opcua.demo-this.com:58810/GlobalDiscoveryServer"
      }
    }
  } 
}

Use NET API implementation of OPC Data Access client

{
  "OpcLabs.EasyOpc.DataAccess.EasyDAClient": {
    "InstanceParameters": {
      "EnableNativeClient": false,
      "EnableNetApiClient": true
    }
  } 
}