NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step ResulStatus with LabVIEW

I am creating a custom TestStand user interface in LabVIEW. I would like to follow up the final result of the test. If one of the test steps fails the whole test will fail at the end so I decided that I will monitor the status of all steps at all time. When I am reading the ResultStatus property of a step(in a while loop during the execution of the sequence) I am getting back a blank string??

 

If you know a better way I would like to know that as well, but first I would like to make my code working.

 

I attached the code I am using.

 

Thanks

 

Attila Horvath

Software Engineer

Filtronic Broadband Limited
0 Kudos
Message 1 of 7
(3,708 Views)
Hi,
 
I can not view your VI at this time, but to beable to check or minitor the Result Status. This needs to be done either in the Post-Step Engine callback Or the PostResultListEntry engine callback. If it fails then you can use the PostStep Failure callback. You will not beable to do it as part of the Step because the Result Status will not have been evaluated.
 
Check out the Table 3-4 of the TestStand Reference manual (version 4)
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 7
(3,702 Views)

Maybe I was not clear enough. I am writing a LabVIEW program and I am using the property and invoke nodes(see my attached 'CheckTestStatus.vi' above) to indicate weather the status of the whole test is pass or fail during the execution of the test sequence. So I am using the ResultStatus property node for checking all the steps in the test sequence. Some of the steps which were executed already should return a string with ‘fail’, ‘pass’ or something and some (the ones have not been executed) should return a blank string. But I am experiencing that all the steps return blank string which I do not understand.

 

It might be another way of checking the current state of the test, but I could not find it.
0 Kudos
Message 3 of 7
(3,694 Views)

Hi,

I'll have a look at your VI a bit later today. What versions of labview and Teststand are you using.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(3,692 Views)
Hi Ray,
 
LabVIEW 8.2 and TestStand 3.5
 
Cheers
 
Attila
0 Kudos
Message 5 of 7
(3,690 Views)
Attila,
 
The reason you were getting empty strings is because you were looking at the static version of the SequenceFile. You need to look at the runtime version.
 
Anyway I have attached an example that will extract the Status from the Steps that have been record in the resultList.
 
Hope it is of some help.
 
Regards
Ray
 
Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,678 Views)
Thanks Ray, but this did not help on me because as I mentioned I would like to create a custom TestStand interface for existing test sequences so I can NOT modify the test sequence therefore I can not pass any references from TestStand to my LabVIEW code.
 
Attila
0 Kudos
Message 7 of 7
(3,643 Views)