Back

Topic

[KB860]COMPATIBILITY OF PROJECTS USING THE ARCHITECT AND PCVUE 10.0

Tags: AA, Application Architect

8 years ago
By RM
Options
Print
Applies to:

PcVue 10.0 and later


Summary:

This article affects Application Architect templates saved in local libraries contained in the project’s LIB folder. The syntax used for object names changed after PcVue 10.0.
Originator: PG


Preamble:

There are two types of library in use in PcVue.

  • Local library – Libraries contained within a project’s folder structure and only available to that project. By default there is one local library called LOCAL comprising a number of folders (b, s, templates etc.) directly under the project’s root folder.  Additional local libraries can be created under the project’s LIB folder. (Projects\USR\ProjectName\LIB) These are sometimes referred to as Included libraries.
  • Shared libraries – Libraries available to all projects. Located in under PcVue’s LIB folder. (Project\Lib)
Details:This article is only affects Application Architect templates saved in local libraries contained in the project’s LIB folder. The syntax used for object names changed after PcVue 10.0.

  • For PcVue 10 the object name is “/LibraryName/ObjectName”.
  • After PcVue 10 the object name is “LibraryName/ObjectName” (without the  “/” character at the beginning).

To use a project using the Application Architect developed in PcVue 10.0 in a later version, the architect object configuration must be manually edited as follows.

Method 1

Use if the library contains only Architect objects (not mimics, symbols, programs …).

  1. Make a backup of the included library (Projects\USR\ProjectName\LIB\LibraryName).
  2. Copy the library to the shared libraries folder.  (Projects\LIB\LibraryName)
  3. Add the library in the file library.dat located in the directory common to all libraries. This makes it visible to all projects.
  4. Remove the original included library.

Method 2

Use if the library contains Architect objects and other items, or you want to keep the library in its original location.

  1. Make a backup of the included library (Projects\USR\ProjectName\LIB\LibraryName).
  2. Edit the templates configuration file
    Projects\USR\ProjectName\LIB\LibraryName\Tpl_Templates.xml
    replacing all instances of “/LibraryName /” with “LibraryName /”.
  3. Edit the parameters configuration file
    Projects\USR\ProjectName\LIB\LibraryName\Tpl_Parameters.xml
    replacing all instances of “/LibraryName/” with “LibraryName/”.
  4. Edit the following Architect files your project (after making a backup) replacing all instances of “/LibraryName/” with “LibraryName/”.
    Projects\USR\ProjectName\Templates\Tpl_Instances.xml
    Projects\USR\ProjectName\Templates\Tpl_Parameters.xmlProjects\USR\
    ProjectName\Templates\Tpl_templates.xml

 

Additional Info

Created on: 27 Feb 2017 Last update: 04 Sep 2024