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
- 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.
- Double-click the CollectorToolkit.sln file. A Microsoft Visual Studio window opens in Administrator mode.
- Right-select the project in the Solution Explorer pane and select 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 wizards’ folder in Visual Studio. - 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.
- Proceed to Creating a custom collector as described below.