Configuring a Custom Collector using the Wizard

About this task

You can create a custom collector using the Visual Studio wizard or the sample application available as part of the installation.

To create a collector using the wizard, follow the below procedure.

Procedure

  1. Navigate to the folder where the toolkit utility is saved. For example, C:\Program Files\Proficy\ProficyHistorian\CollectorToolkit\CollectorToolkit. The toolkit, by default, gets saved in the same installation folder as Historian in the Program files folder of your computer. The example here indicates that Proficy Historian is installed on the C drive. If Proficy Historian is installed in D drive, the location changes accordingly.
  2. Double-click the CollectorToolkit.sln file. A Microsoft Visual Studio window opens in Administrator mode.
  3. Right-click the project in the Solution Explorer pane and click one of the following: Build Solution or Rebuild Solution.

    An output window appears indicating whether the Build or Rebuild has been successful.

    • If you see the message, Build succeeded or Rebuild All succeeded, it indicates that the wizard has been activated. If the wizard is successful, the CollectorToolkit.ico and CollectorToolkit.vsz files appear in the wizardsfolder in Visual Studio.
    • The location of the files varies depending on the operating system. For example, if it is on Windows 7, the location is C:\Users\UserName\Documents\Visual Studio 2010\Wizards. For Windows XP, the location is C:\Documents and Settings\UserName\MyDocuments\Visual Studio 2010\Wizards.
    • Ensure that the CollectorToolkit.vsz and CollectorToolkit.ico files exist in the above corresponding Operating system locations.
    • If you are working in 64 bit operating system, open CollectorToolkit.vsz in Notepad and replace the following line: Param="ABSOLUTE_PATH = C:\Program Files\Proficy\Proficy Historian\CollectorToolkit\CollectorToolkit" with Param="ABSOLUTE_PATH = C:\Program Files\Proficy\Proficy Historian\x86\CollectorToolkit\CollectorToolkit". This enables you to open the wizard correctly.
  4. Proceed to Creating a custom collector as described below.