Test for OPC Server presence and registration

If you have any problems connecting an OPC Client to the IGSS OPC Server, you can use the test utility, Enumtest.exe, provided by the OPC Foundation. The utility tests the presence and proper registration of either local or remote OPC Servers.

If the utility is already installed on your machine, it resides in the Windows system folder \%SystemRoot%\system32. This folder is included in the Windows Path, so you do not need to specify the full path to run the utility.

To download Enumtest.exe, go to the OPC Foundation Web site.

To test the OPC Servers on a local or remote host

  1. Open the Windows Command Prompt.
  2. Type enumtest. The utility shows the list of local OPC Servers.

Show picture

  1. To test that the local OPC Servers are properly registered, type l and press ENTER.

Show picture

  1. To test that the OPC Servers on a remote host are properly registered, type r and press ENTER.
  2. Type the computer name of the OPC Server host and press ENTER.

Show picture

 

Result: If the name SevenTechnologies.IGSSOPCServerDA.2 appears during the test, the IGSS OPC Server is present and properly registered on the host.

  1. If the name does not appear during the test, the IGSS OPC Server is not properly installed. In that case, open the OPC Server Configuration program in the IGSS 7.0 Start menu and click the Register button.

 

Note

If error code (80070005) appears, it means that access is denied to the OPC Server. In that case, check that the DCOM security settings are defined as recommended in the Install and set up the IGSS OPC Server.

If you get an error code in the Enumtest.exe program, you can look up them up in the IGSS utility, ErrCode.exe. The error codes are normally written in hexadecimal numbers, so make sure that Hex is selected under Windows Error Codes. Finally, click the Look Up button.