Applies To:
  • CitectSCADA 2.00 2.01

Summary:
When upgrading from Citect Version 1.xx to version 2.xx you may get the following problem if the project has many pages ( > 100). During the upgrade process in CTDRAW, CTDRAW may run out of file handles. This causes all subsequent pages to be not updated. There is no warning of this happening and the project may still compile and run. However pages that did not convert properly cannot be displayed in runtime. They may be displayed in CTDRAW, but note that while the page is loading in CTDRAW the message "Importing..." will appear instead of "Loading...". The symbols associated with pages that did not convert will also be corrupted.

There are two ways to detect this problem:

  1. In CTDRAW there will be no preview available for pages and symbols that have not been converted successfully.
  2. The size of the .ctg and .ctl files. If it is small say 352 bytes it is most likely that the page hasn't been converted.
 

Solution:
  1. Establish which pages have been converted and mark the page records as deleted from the page.dbf. (Note: do not pack)
  2. Delete the file GLOBAL.CTL from the project directory.
  3. Delete any .ctg or .ctl files that have been corrupted (usually indicated by a file of length 352 bytes)
  4. Start CTDRAW and let it convert the undeleted pages.
  5. Repeat steps 1 to 4 if there are still pages that are not converted.
  6. Undelete the records in page.dbf.
 

Keywords:
 

Attachments