FAQ: Can I change the storage type for RGM in an existing Project? What do I need to consider? What are the benefits?

FAQ: Can I change the storage type for RGM in an existing Project? What do I need to consider? What are the benefits?

Summary

Solution

Yes, you can change the storage type in the Recipe Groups Manager module from Access DB to binary storage, or vice versa, also in existing projects.

The first two steps are only required when your runtime has priority over RGM recipe changes. When the editor has priority, you should skip the first two steps. Step 7 also depends on wether the runtime has priority over changes (changes in RGM Recipes made the runtime are not overwritten) or the editor has priority over RGM changes (any change in the runtime is overwritten when the editor files are compiled)

  • step 1 - read back the runtime files from the runtime system (e.g. remote transport read back to editor PC)
  • step 2 - import the runtime files into the editor (make sure to use the correct "rt changeable data" settings)
  • step 3 - XML Export all RGM data
  • step 4 - change the RGM storage in the project properties
  • step 5 - XML Import all RGM data
  • step 6 - compile runtime files (make sure to use the correct "rt changeable data" settings)
  • step 7 - set "rt changeable data" settings to desired setting when changes in the runtime should not be overwritten


Note, that from version 7.10 SP0, the access db storage is no longer available. It is therefore no longer possible to change the storage type. When a project is converted from an older version into the version 7.10 SP0, the RGM storage type is automatically converted from access storage to binary storage. Note, that this conversion only occurs when the project is converted in the 32 bit version of the zenon editor. When a project with access DB storage for RGM recipes is converted from an older version into zenon 7.10 or higher, in the 64 bit version of the editor, a message is shown to the user to convert in the 32 bit editor.


Information

In zenon 6.51 and earlier versions the default storage type for the RGM module is access DB storage. All Recipe Groups Manager data are stored in a single access database called "project.mdb". Since the porting of the Recipe Groups Manager module to Windows CE, an alternative "binary storage" type is available. From zenon 7.00, "binary storage" will also be the default for new projects. The two storage types are completely independent, and can co-exist in an editor project. However only one storage type can be active at a time, both in runtime and in the editor. When changing the storage type, the existing RGM data is not automatically taken over to the other storage type. Via XML Export and XML Import however, all data can be conveniently taken over, in a controlled manner. Apart from being able to use the RGM on Windows CE, a slightly better performance can be expected with binary storage over RGM Access DB storage.

Issue Number:
Fixed on Date: 12.6.2013
Versions: