FAQ

  1. TOP
  2. FAQ
  3. When the architecture (x86/x64) of DeviceXPlorer OPC Server and OpcEnum is different
  • DeviceXPlorer

When the architecture (x86/x64) of DeviceXPlorer OPC Server and OpcEnum is different

2022.01.21

DeviceXPlorer OPC Server has two applications: a 32-bit (x86) version and a 64-bit (x64) version. You can choose either one when you install DeviceXPlorer.

To connect to the OPC server via the OPC Classic interface, such as OPC DA, the OpcEnum service is used. OpcEnum provides functionality to enumerate the OPC servers installed on the PC. The OPC client connects to the OPC server through the OpcEnum service, which detects the CID from the ProgID.

There are two versions of the OpcEnum service: a 32-bit version and a 64-bit version.

Check the architecture of OpcEnum

In 64-bit OS, you need to understand which version is used. You can check the architecture of OpcEnum on "Path to executable" in the properties of OpcEnum in Windows Service.

The path name for each version are as follows:
C:\Windows\OpcEnum.exe        : 64bit version
C:\Windows\SysWOW64\OpcEnum.exe   : 32bit version

How to change the architecture version

DeviceXPlorer OPC Server: Please uninstall the current version and reinstall the version you wish to use.
OpcEnum: You can switch the version by using the following command in the command prompt, which is launched by selecting "Run as administrator."

Switch OpcEnum version from 64-bit version to 32-bit version:

C:\Windows\System32\OpcEnum /UnRegServer
C:\Windows\SysWOW64\OpcEnum /Service

 

Switch OpcEnum version from 32-bit version to 64-bit version:

C:\Windows\SysWOW64\OpcEnum /UnRegServer
C:\Windows\System32\OpcEnum /Service

 

How to handle architectural mismatch between DeviceXPlorer OPC Server and OpcEnum

Normally, the architecture of DeviceXPlorer OPC Server must be the same as the one of OpcEnum. However, depending on the architecture of other OPC applications (Clients/Servers) to use, these architectures may not match.

In such a case, by registering the following registry key, DeviceXPlorer OPC Server can be enumerated by OpcEnum even if these architectures do not match.

Registry Key Registration File

Version OpcEnum version to use Download
DeviceXPlorer OPC Server Ver.7   32-bit (x86) version

OpcEnum 64bit version

Download
DeviceXPlorer OPC Server Ver.7   64-bit (x64) version

OpcEnum 32bit version

Download
DeviceXPlorer OPC Server Ver.6   32-bit (x86) version

OpcEnum 64bit version

Download
DeviceXPlorer OPC Server Ver.6   64-bit (x64) version

OpcEnum 32bit version

Download
DeviceXPlorer OPC Server Ver.5   32-bit (x86) version

OpcEnum 64bit version

Download
DeviceXPlorer OPC Server Ver.5   64-bit (x64) version

OpcEnum 32bit version

Download