Applies To:
  • CitectSCADA
  • CitectHMI

Summary:
How can I set the mode of any window that is outside of CitectHMI/SCADA, as the WinMode() function does for CitectHMI/SCADA's windows?

For example, on an IDC server, the Citect FTP server opens in a separate window. If it is closed by someone, IDC clients cannot connect. This would not be a problem if the window could be hidden.

 

Solution:

This can be done with the following command:

WndShow((WndFind("Citect FTP Server"), 0);

Replace "Citect FTP Server" with the exact title of the window to hide.

The window can be made visible again with this command:

WndShow((WndFind("Citect FTP Server"), 1);

See the "WndShow Cicode Function" page in the Citect Help for more options.

 

Keywords:
 

Attachments