ClearSCADA

The page Driver Log Translator Picker Utility describes a small utility that simplifies the translation of log files across all supported ClearSCADA drivers. Users can choose to configure each protocol individually using the mechanism below, or use the Picker Utility depending on requirements.

The corresponding procedure for earlier versions of Windows is described in Driver Log Translation.

This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the Microsoft Windows Registry. Alternatively, a simpler way than poking around in the registry is to download Nirsoft's file type manager tool. This is free and provides all of the features of the old 'Folder Options\File Types' dialog, and works on all platforms.

1, Every class in Vista can have individual context menu. First make sure that ".log" extension belongs to txtfile class. Open Regedt32 and find ".log" key in HKEY_CLASSES_ROOT section.

If .log key does not exist create a copy of .txt key.

2, Then find "txtfile" key in HKEY_CLASSES_ROOT section. Key "shell" is a description of menu items and adding a new key to it will create a new context menu item. Key name is not so important, what is important is its default value which will then be displayed as a menu item.




3. The last step is the definition of a program (translator), which will be run after new option is selected. Full path to driver log translator should be defined as well as optional parameters and "%1" as an identification of a file to be translated.



Here we assign the command key value "C:\Program Files\Control Microsystems\ClearSCADA\DriverDNP3.exe" /TRANSLATE "%1" /OPEN
As path to program contains spaces it has to be enclosed in double quotes. For the same reason it is good to enclose %1 as well. /TRANSLATE and /OPEN are optional parameters needed by individual drivers.

Close the regedt32, right click on files with extension *.log will now produce a menu containing Translate DNP3 log command.

  1. May 05, 2010

    Dmytro Solovyov says:

    Most customers will need to use "C:\Program Files\Control Microsystems\ClearSC...

    Most customers will need to use

    "C:\Program Files\Control Microsystems\ClearSCADA\DriverDNP3.exe" /TRANSLATE "%1" /OPEN

    in the example above.

    1. May 06, 2010

      Stefan Schlatter says:

      Thanks Dmytro, I have updated the article.

      Thanks Dmytro,

      I have updated the article.