Connect to the OPC HDA Server

OPC HDA client objects are not automatically connected to the server when they are created. You can see this from the 'Status' property of the client object.

Use the connect function to connect an OPC HDA client object to the server at the command line:

connect(hdaClient)

When connected, a client’s properties update to show certain server properties:

>> hdaClient
hdaClient = 
OPC HDA Client localhost/Matrikon.OPC.Simulation.1:
               Host: localhost
           ServerID: Matrikon.OPC.Simulation.1
            Timeout: 10 seconds

             Status: connected

         Aggregates: 6 Aggregate Types
     ItemAttributes: 10 Item Attributes
Methods