Reconnect to the OPC HDA Server Automatically

About this task

You can reconnect to the OPC Classic HDA server automatically as soon as the server is up and running. By default, the collector polls for the server connection every 5 seconds. You can change this interval as well. The collector is stopped until reconnected to the server.

Procedure

  1. Access the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\GE Digital\iHistorian\Services\OPCHDACollector.
  2. Locate the Key created with the ProgID of the OPC Classic HDA server.
  3. Create a DWORD named EnableOPCHDAReconnect.
  4. Enter the decimal value 1.
  5. If you want to change the reconnection interval (from the default value of 5 seconds):
    1. Create a DWORD named ReconnectInterval.
    2. Enter a decimal value between 5 and 60. This value represents the number of seconds for the collector to wait before trying to reconnect to the OPC server.
  6. Select OK, then close the registry.