To Stop the kernel use:
bwctrkrl anytext anytext 7
For example, in a Tcl script use:
# Tcl script to stop SCADA node
WINEXEC "bwctrkrl text text 7"
In a batch file use:
cd c:\WebAccess\Node
bwctrkrl text text 7