Applies To:
  • CitectSCADA 5.xx
  • CitectHMI 5.xx

Summary:
I have opened a page in Graphics Builder, and added a few more objects, such as genies and buttons. I then Pack and Compile my project. When I run the project, the page that I modified does not contain the changes I just made. I have switched off incremental compile, and the problem still persists. What could be the cause of this problem? How do I fix it?
 

Solution:
A possible reason the above problem could occur is that the Graphics Page file has been copied to an included project directory, or more than one copy of the Graphics page exists in the project. This can occur when you do a "Save As" in Graphics builder, and change the project name the page will reside in. This may also occur if you try to manually copy the *.CTG and *.CTF files into other included projects. The reason the problem occurs, and the Page modifications do not propagate to your runtime page is that the compiler is using the wrong *.CTG file. The quickest way to resolve this problem is to do a Windows search in the Citect\User directory for "<page_name>.*". If you find more than one copy of <page_name>.ctg and <page_name>.ctf exist in your project (i.e. one copy in the Main directory, and another in the My_Include project) you need to delete duplicate copies, so that only one copy exists. You can confirm which is the "correct" page file, by examining the pages.dbf file. Once you have removed the rogue page files, re-compile the project. The page modifications should now propagate to the runtime display of the page.
 

Keywords:
Graphics Builder, modifications, runtime, propagate  

Attachments