Kit Server: Items for volume testing

From OPC Labs Knowledge Base
Revision as of 10:44, 15 April 2018 by User (talk | contribs) (Created page with "Category:OPC Kit Server Category:Testing The OPC DA "Kit Server" that is supplied with QuickOPC (ProgID "OPCLabs.KitServer.2") provides a number of simulation items t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The OPC DA "Kit Server" that is supplied with QuickOPC (ProgID "OPCLabs.KitServer.2") provides a number of simulation items that can be used for volume testing. The items contains continuously changing values, so that not only reads, but also subscriptions can be tested.

Each such items has following Item ID:

Simulation.Incrementing.Copy_i.Phase_j

where i is a number between 1 and 2000, and j is a number between 1 and 100.

For example, one of the simulation items may have following Item ID:

Simulation.Incrementing.Copy_1967.Phase_42

These simulation items are always present in the server and are accessible by their Item IDs, but by default, they are not visible in the address space of the OPC server (when browsing it). If you want to be able to browse for these items, you can configure the OPC Kit Server to show them in the address space by making a registry change.

To make the incrementing branches visible in (32-bit) OPC Kit Server, create or modify the following DWORD value in registry to contain "1".

  • On 32-bit Windows or when running 32-bit registry editor: HKEY_LOCAL_MACHINE\SOFTWARE\OPC Labs\Kit Server\IncrementingBranchesVisible
  • On 64-bit Windows when running 64-bit registry editor: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\OPC Labs\Kit Server\IncrementingBranchesVisible

If the OPC Kit Server is running, it needs to be restarted in order to pick up this configuration change. If it is running as a Service (installation default), you can restart it from the Service Manager in Windows.