Creating a Custom Collector

Note:

The Collector Toolkit runtime for 32-bit collectors uses ihCollector-DelegatorN.dll and ihCollector-DelegatorN.lib, where N is a version number, which changes from version to version.

The Collector Toolkit runtime for 64-bit collectors uses ihCollector-DelegatorN_x64.dll and ihCollector-DelegatorN_x64.lib, where N is a version number, which changes from version to version.

Procedure

  1. Open Microsoft Visual Studio 2010 in Administrator Mode.
  2. Open a new project by navigating to File > New > Project.
    The New Project page appears.
  3. In the Installed Templates section, select Wizards.
    The Collector Toolkit Wizard window appears.
  4. Enter the following information in the New Project page.
    • Provide the name of the collector in the Name field.
    • Provide the location where you want to save the Collector in the Location field. Select Browse... to navigate to the desired location.
    • Provide the solution name in the Solution name field. A solution name is the name of the Collector solution.
    • Select the Create directory for solution check box to create a directory for the collector.
  5. Select OK to proceed.
    The Welcome to the Historian Collector Toolkit Wizard page appears.
  6. Select Next to proceed.
    The Application Settings page appears. The options that you see on the Application Setting page are set by default. These are the recommended settings and should not be changed.
  7. Select Finish

    The Microsoft Visual Studio opens in Administrator mode with the source code framework for the custom collector. Write the custom logic in the Skeletal Methods generated through the Wizard for the respective functionality. Refer to About Interfaces for a description of the methods.