finding references in trend files (PHV)

im deleting a number of deltav modules in version 11.3.1 and would like to know if there is a quick method to review all my custom process history view trends to determine if they contain references to the deleted modules. i dont want to have to open each trend file manually and review the references manually. any ideas?

4 Replies

  • Hi Stuart,
    The PHV files are not readable but the tagnames appear correctly when they are opened via a text editor.

    You can use application like Notepad++ to search for the module names in the folder where all PHV files are stored. Most text editors have this search in folder functionality.

    You might need a some investigation to find the correct string to search for.
    The easiest option is to create a new PHV with the module name you wish delete and view it via text editor. That will help you figure out the extact text to search.

    Regards
    Amod
  • I wrote a VBA routine some time ago that extracts a list of parameters from phvc files which might be of use. See this file.

  • In reply to Amod Gokhale:

    great solution, worked really well. Also worked for another problem i had, so thank you very much.
  • In reply to Cedric Dawnhawk:

    thanks for the solution but i managed to complete the task using the notepad++ option. I will keep your solution in mind for future use. thanks for taking the time to reply