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

How to I use CitectInfo() cicode function to get the memory usage on my Citect node?

The CitectInfo() function usage is as follows:

CitectInfo(sGroup, sName, sType)

sGroup = "Memory"

sName = "" for bytes
or "KB" for kilobytes
or "MB" for megabytes
or "GB" for gigabytes

sType = "0" for Free virtual memory
or "1" for Free windows system resources as %
or "2" for Free Physical Memory
or "3" for Memory Paging File Size
or "4" for Total Physical Memory
or "5" for Total % of Physical Memory Used (Win 2000 or later)
and % of the last 1000 pages in memory that are in use (WinNT or earlier)