I have a test library created by LabWindows ver 6.0 and a sequence
file running in TestExec ver 2.00. Occasionally when one of the tests
fails, say because of a measurement being out of limit, the reported
Result will be "FAIL (in cleanup function)" instead of "*** FAIL ***".
As far as I know my cleanup function isn't actually failing. The
cleanup function returns a 1 if if can execute without problems and a
0 if there problem. The "FAIL (in cleanup function)" occurs even when
the cleanup function returns a 1. I have verified this by placing
MessagePopups in every location where the function could a 0. I have
also verified this by intentionally always returning a 1 in my cleanup
function. Could someone give me some hints as to how
to go about
debugging this problem? Also it would be helpful to me if someone
could point me to information on the correct way to write cleanup
functions.
Thanks