TN WW217 How to terminate an existing instance of the Alarm DB Logger from within a batch file
Last updated: March 9th, 2025Description
- Author: Joe Hefner
- Published: March 9th, 2025
Details:
Description
This article from InSource shows how to stop a currently running instance of the alarm db logger from within a batch file.
- Author: Joseph Hefner
- Published: 04/21/2016
- Applies to: Wonderware Intouch 10.1 and later
Details
This tech note is written to use with Wonderware tech note 725 and 890. Tech note 725 shows how to startup the Wonderware Alarm DB Logger through the use of a Batch file and tech note 890 describes InTouch functions that can be used to monitor the status of the Wonderware Alarm DB Logger manager from within Intouch. This tech note goes through an approach for stopping the currently running instance of the Alarm DB Logger so that it can be launched again by using the approach from tech note 725.
Step 1: Create a new batch file from within notepad and save it with the extension .bat.
Step 2: Enter the script below into the batch file and save it:
@echo off
taskkill /F /IM wwalmlogger.exe
:exit
Step 3: Call the batch file from within Intouch. Wonderware tech note 890 should be used to determine when the alarm db logger should be stopped.
The Wonderware tech notes discussed can be found on the Schneider software support website at the links below:
Tech Note 725
https://softwaresupportsp.invensys.com/Pages/OKMArticle.aspx?docId=TN782&actp=search
Tech Note 890
https://softwaresupportsp.invensys.com/Pages/OKMArticle.aspx?docId=TN495&actp=search