Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01 3.00

Question: I am getting the system error divide by zero. How can I find the cause of this problem? 

Something in Citect is causing a divide by zero exception . Citect normally traps all divide by zero exceptions and turns them into hardware errors. There may be some conditions where Citect does not trap the divide by zero exception. In this case you may follow this procedure.

1). Set the TrapZero option in the WIN.INI file under the [Dr. Watson] section. Note that there is a space between Dr. and Watson.

[Dr. Watson]

2). Run up Dr. Watson and when the divide by zero occurs not what you where doing at the time into the Dr. Watson dialog.

3). Send the file DrWatson.log in the windows directory to Citect Support. The will analyse the file to find the cause of the problem.

See also Q1139 for full details in setting up Dr Watson.