Applies To:
  • CitectSCADA 5.xx, 6.xx, 7.xx
  • CitectHMI 5.xx, 6.xx, 7.xx


It can be an oversight when obtaining CitectSCADA Kernel dumps for analysis to just use the full dump mode in the DumpKernel() cicode fuinction.

Some Kernel tables have a verbose mode and the additional information may be useful for analysis.



The DumpKernel() command can be used to output a snapshot of CitectSCADA Kernel to the kernel.dat file.

The syntax is:

DumpKernel(iMode, sName)

The various options for iMode are:

0x0001 Dump general statistics
0x0002 Dump the task
0x0004 Dump the I/O device
0x0008 Dump the driver
0x0010 Dump netstat
0x0020 Dump the table
0x0040 Dump the queue
0x4000 Dump in verbose mode
0x8000 Dump all the kernel data

These iMode values can be be used in combination.

Note particularly that iMode 0x4000 can be used to obtain the verbose data. This is the extra data seen in some Kernel tables etc by toggling the "V" key.

For example, to dump all the Kernel data including the verbose data, you can combine the last two modes above in the following function in the Citect Kernel Cicode Window:

DumpKernel(0xC000,""); ! Dump all the Kernel data with verbose mode.

The kernel.dat file is in the Windows directory (versions 7.10 and earlier) or in the 'Logs' folder of your product installation (versions 7.20 and later).