Skip to main content

Prerequisites

Verify Communication

Communication between the OPC server and an OPC client must be verified. XLReporter provides an independent OPC HDA client to verify connectivity and data retrieval from any OPC HDA server. This client can be downloaded from www.SmartSights.com.

To run, double-click SampleClientHDA.exe.

image11.png
  1. Set Server Name to CanaryLabs.OPCHDAServer.1 and click Connect.

  2. Click Browse to open the Browse Dialog window.

  3. The easiest way to get a list of tags is to set OPCHDA_BROWSETYPE to OPCHDA_FLAT. Choose each tag to test by selecting it and clicking Add. When complete, click Done to return to the HDA Client window.

  4. Click Show Items to display the selected tags in the left pane window. Click Validate Items then Get Item Handles to register these tags with the server.

  5. Enter the Start Time and End Time . Note this is in UTC (Universal Time Clock) and click Read Raw. The raw values for each selected tag will appear on the left along with a timestamp and quality.

  6. To read processed data, click Aggregates, select the appropriate aggregate (e.g., maximum, minimum, etc.). and click Read Processed. One minute calculations between the start and end time should appear for each selected tag.

If the client does not respond as described contact Canary Labs technical support to troubleshoot and correct these issues.