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

Summary:
If you have a large CiCode (.ci) file (i.e. > ~10,000 lines), it will take CiCode Editor a long time to open it. If a save is attempted, CiCode Editor may crash. 
 

Solution:
This crash is caused by a bug in Microsoft's Rich Edit control. Microsoft fixed the bug in VC8, which means v6.10 and above will work correctly when saving large CiCode files.

The slow loading of the file is due to the CiCode Editor working out the syntax colouring during the load. If you wish to reduce the load time, split your cicode functions into separate, smaller files. 
 

Keywords:
huge ci file load slow stack overflow  

Attachments