LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TestExec "FAIL (in cleanup function)"

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
0 Kudos
Message 1 of 3
(3,186 Views)
I'm reposting this message to see if I can get an answer. Perhaps the
question is too hard or maybe unclear. Let me know if there is
something I can do to make the question easier to answer. Thanks.


aachess@yahoo.com (Kevin Houston) wrote in message news:...
> 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
0 Kudos
Message 2 of 3
(3,186 Views)

I can not answer to your question but, i have a question for you. I have some dll's but i can not use them in TestExec. Is it possible to use dll's created with CVI in TestExec ?

How can I do this ?

 

Thank you

0 Kudos
Message 3 of 3
(3,017 Views)