Showing results 1 to 3 of 3

Thread: Replacing links for Variables, Functions and Screens

  1. #1
    Join Date
    13.10.2012
    Posts
    21

    Frage Replacing links for Variables, Functions and Screens

    Hello,

    I have made a project in which the name of variables, functions and screens starts with SS440-XXXXX. This project is for Substation 440.
    We are using IEC61850 driver.
    Now I have to make another project for Substation 450. Both of these substations are identical.I want to avoid remapping, creating new functions and screens.So in this project all the variables,functions and screens should have name SS450-XXXXX.
    For variables I exported all of them in CSV and replaced SS440 by SS450.
    I tried to replace the same for functions and screens using XML editor, but the XML file for screens is so large that it is unable to complete the link replacement.
    Could you please advise me any simple procedure so that I can replace the links for variables, screens and functions easily and avoid remapping?
    Let me know if anything confusing in the above explanation.
    Thanks

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    790

    Default Re: Replacing links for Variables, Functions and Screens

    I think the simplest way would be to use for the files with screens some stronger XML editor (i'm sure in Internet you will find something) or just to use some TEXT editor handling large files. Probably even standard WordPad from Windows would manage this replace.

    By importing xml files it is important to do it in the right order, e.g. to have already variables and functions a screen is referring to. There is already the 'XML Import Wizard', which can probably help you.

    If you are planning to duplicate your project to more substations also more times in the future, then maybe a good idea would be you write some own VBA/VSTA Wizard doing this renaming job? It is not just Energy topic, it is something that the System Intergators in general are prepering to shorter preparation of projects for their end-customers.

  3. #3

    Default Re: Replacing links for Variables, Functions and Screens

    Hi!

    You can simply use the functionality "project save as" which will create a copy of the project as a new project, with a new name.

    Then simply use the built-in function "replace text in selected column" from the context menu in the detail view or from the toolbar (e.g. variables, functions, screens) to replace "SS440" with "SS450"

    Note, that when you change variable names and identification that you access in modules where only the name is stored as a string (e.g. VBA, command processing, linked symbols) you need to perform the name change here as well.

    Hope this helps!
    Regards,
    Mark

Similar Threads

  1. Replies: 1
    Last Post: 9th January 2012, 05:57
  2. How to get Object in Screens
    By jorgedatcom in forum VBA
    Replies: 1
    Last Post: 9th January 2012, 00:32
  3. Replacing old project
    By ziadrached in forum zenon Supervisor
    Replies: 10
    Last Post: 2nd June 2009, 12:42
  4. replacing functions
    By hicom in forum zenon Supervisor
    Replies: 1
    Last Post: 15th January 2008, 11:11
  5. Restore deleted links in elements
    By sebastiank in forum VBA
    Replies: 0
    Last Post: 28th August 2007, 09:58

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •