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

Why does Citect Shutdown, whenever I close a SuperGenie page, which uses the AssVarTags() funtion, as documented in the CitectScada help example, to substitute/Assign variable tags to a supergenie page, followed by the PageDisplay() function.

Any page displayed using the PageDisplay() function, is treated by Citect as the Parent Citect display window. Thus upon closing the Parent window, Citect Shuts down. To avoid this problem, use the WinNewAt() function, where you will be able to choose the mode, therefore by specifying the new window as a child window, closing the child window does not cause Citect to shutdown. 

PageDisplay, SuperGenies, AssVarTags