NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get "Terminate" result from Labview Operator Interface

I have a Labview Operator Interface,
and it runs a sequence, say X.seq.
When X.seq terminates (in one of its step, the post action is: On Fail Terminate),
It always return "Passed" in the ResultData
in the UIMessage (End of Execution).

If it Passed or Failed, I can get it, but if it terminates, I don't know how to get the result from
the LabView Operator Interface.

Could you help me please.

Indra
0 Kudos
Message 1 of 3
(3,050 Views)
Indra,
Are you using LabVIEW or TestStand?
Are you using the Sequence Structure in LabVIEW?
What do you mean by "post action"? Is "On Fail Terminate" some Boolean control that you have? What are "ResultData" and "UIMessage"?
Maybe you could post an example of your code here.
We don't need the entire project, just the piece that has the above information.
Zvezdana S.
0 Kudos
Message 2 of 3
(3,050 Views)
Well, I have a Labview Operator Interface (OI),
which periodically read the UIMessage from the
TestStand Engine.

The OI executes a TestSequence, and
when the testSequence finish its execution, it sends an
"End Execution" event to the LabView OI.

In that event, I get the execution ID, and read the "Result Status".

If the TestSequence Passed or Failed, the "Result Status" contains string "Passed" or "failed" respectively, However if the TestSequence terminates, it return "Passed".

Is there any way that the Operator Interface (OI) know
the status of the TestSequence result ?

Thanks,

Note: Unfortunately I could not post the code or portion of it, I'll try to create a sample.
0 Kudos
Message 3 of 3
(3,050 Views)