LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Test Framework - Use of timeout?

Hi community.

 

I'd like to run some tests on a VI that "loops forever". The Unit Test Framework documentation says:

"Note  Use timeout for tests of VIs that loop forever or require you to perform any tasks manually."

 

But also: "The next time you execute this test, LabVIEW runs the VI under test. If the VI under test times out during execution, LabVIEW stops the VI and test results show this test as failed."

 

How does the timeout make sense if the test fails anyway when using it?

(How) is it possible to run the VI with the given IN parameters from the *.lvtest file and simply use the OUT value at the moment of the timeout for CHECK, i.e. show test result "passed" if check was OK at that time, "failed" otherwise?

 

0 Kudos
Message 1 of 1
(1,002 Views)