LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I determine UUT Pass (so far) using LabView Test Executive 5.1?

I'm using Labview Test Executive 5.1 (mass compiled for LabView 6.1). How can I check if my UUT is passing while the test sequence is executing?

For example: I have 10 steps in my sequence.
During the execution of the VI for step 8, I need to know if all previous steps (1 thru 7) passed.
How can I check UUT Pass (so far) while the sequence is still running?

I don't want to change all the steps in my sequence to set a global UUT Pass variable. The Test Executive obviously knows UUT Pass at the end of the sequence, but how does it know?

I see for the report generation, Test Executive VI's Format Test Report.vi and Format UUT Report.vi read temp\uutrtemp.dat, but that file doesn't exist
at the point I need to check Pass/Fail. Those VIs use a bunch of undocumented stack (?) functions which make them hard to read, but they start by reading a file that apparently gets created after the sequence is complete. I can't find the VI that creates uutrtemp.dat because most of the Test Executive VIs' diagrams are password protected.

Isn't there a simple function that returns Pass/Fail?

Thanks,

Al
0 Kudos
Message 1 of 5
(2,768 Views)
It has been a very long time since I used Test Executive (I moved to TestStand when it came out) so I refreshed my memory by reviewing the manual I found here. Each VI requires Test Data.ctl. The TE uses that to update Test Result.ctl and as each step executes, creates an array of results into Sequence Results.ctl. I don't remember how, but I think you could process Sequence Results in a pre-step. This may have been built into the TE or I may have modified the program to add this functionality.

I'd also like to mention that I think TestStand is a much superior test manager in every way and you can import sequences created for the ol
d and no longer supported TE.
Message 2 of 5
(2,768 Views)
Are you wanting to stop the sequence of VIs if one fails? If so, you can "Stop on Any Failure" option in Sequence>>Sequence Options. This setting overrides the FAIL option on any step.
J.R. Allen
0 Kudos
Message 3 of 5
(2,768 Views)
No, thanks. I don't want to stop on a failure. A VI in the sequence (step 8 in my previous example), will perform function A if all previous sequence steps passed, and will perform function B if any failed. Then the sequence will continue and exectute the remaining steps.
How do I check if all previous steps passed while the sequence is still executing?
0 Kudos
Message 4 of 5
(2,768 Views)
Thanks Dennis!

After you pointed me in the right direction, it turned out to be very easy to do. I was spinning my wheels for a day and a half, but after your note, I had something working in an hour. Here's the LV 6.1 VI (calling a VI from Test Executive 5.1).

Thanks!
0 Kudos
Message 5 of 5
(2,768 Views)