Applies To: |
|
Summary: |
When I run the function DumpKernel() from a button, I am only getting Client information, not that of my Servers. |
Solution: |
In Multi-Process Mode (version 6.10 and
later), when you do a DumpKernel, it only dumps the Kernel of the
calling process.
i.e if you run 'DumpKernel' from a graphics button, it will dump the Client Process Kernel only. In order to do a Dump for other processes, you need to open
the Kernel Window for that process, then open the cicode window,
and then run DumpKernel, which is not easy, especially if you want
a dump for all processes at the same time.
The function below will run 'DumpKernel' on every local process on a local SCADA Machine, it could also be used as a basis for running any Cicode on their respective process. FUNCTION
DumpAllProcKernels(STRING sIOServer,
STRING sCluster
= "")
INT hMsgAlm,hMsgRep,hMsgTrn,hMsgIO; // Alarm Process Kernel Dump // Report Process Kernel
Dump // Trend Process Kernel Dump // IO Process Kernel Dump // Client Process Kernel Dump This will output to kernel dump files to the Windows directory (version 7.10 and earlier) or the 'Logs' folder of your product installation (version 7.20 and later). These files have the following naming conventions:
kernel.Alarm.Cluster1.AlarmServer1.dat |
Keywords: |
Related Links
Attachments