Back

Topic

[KB595]Compatibility of projects developed with PcVue 10.0 and the Architect

Tags: AA, Application Architect, Architect

12 years ago
By RM
Options
Print
Applies to:

PcVue version 10.0 onwards


Summary:

Projects developed with PcVue 10.0 and the Application Architect (AA), and using the Project Library, require a modification before they will run in later versions (10.0 SP1, 11 etc.).


Details:

There are four types of library in PcVue. Depending on the library type, the AA objects will be stored in the following folders:

  • Common library:  “Projects\USR\Templates” (Template folder at the same level as USR folder)
  • Local library: “Projects\USR\ProjectName\Templates” (Template folder  in the project folder)
  • Global library: “Projects\LIB\LibName\Templates” (Template folder under the LIB folder that is at the same level as USR folder)
  • Project libraries: “Projects\USR\ProjectName\LIB\LibraryName\Templates”

This document applies only to applications developed using PcVue 10.0 and the Architect, and using a Project library (a library whose folder is under the LIB folder of the project). Projects using the Common, Local or Global libraries  are not affected. 

The way in which Architect objects are named in this particular library has changed since version 10:

  • 10.0 – Architect objects were named “/LibraryName/ObjectName”
  • 10.0 SP1 and later – Architect objects are named “LibraryName/ObjectName” (without the character “/” at the beginning)

To use projects developed with 10.0 and earlier with a later version, there are two solutions:

  1. If your library contains only Architect objects (not mimics, symbols, programs …)
    • Back-up your library (Projects\USR\ProjectName\LIB\LibraryName)
    • Copy the library to the LIB folder common to all projects (Projects\LIB\LibraryName)
    • Add an entry for your library to the file library.dat located in the folder common to all libraries.
    • Remove the library from its original location.
  2. If your library has both Architect and other objects (or if you want to keep it within the project)
    • Back-up your library
    • Edit the file “Tpl_Templates.xml” in your library (Projects\USR\ProjectName\LIB\LibraryName\Tpl_Templates.xml) and replace all instances of “/LibraryName /” with “LibraryName /”
    • Edit the file “Tpl_Parameters.xml” in your library (Projects\USR\ProjectName\LIB\LibraryName\Tpl_ Parameters.xml) and replace all instances of”/LibraryName/” with “LibraryName/”
    • Edit the following Architect files of your project (after backing them up) and replace all instances of “/LibraryName/” with “LibraryName/” :
      Projects\USR\ProjectName\Templates\Tpl_ Instances.xml
      Projects\USR\ProjectName\Templates\Tpl_ Parameters.xml
      Projects\USR\ ProjectName\Templates\Tpl_ templates.xml

Download attachments : Compatibility_of_projects_developed_with_PcVue_100_and_the_Architect.pdf

Created on: 04 Sep 2012 Last update: 04 Sep 2024