NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get sequence result

Solved!
Go to solution

Hi,

I'm trying to implement custom OI on C#.

What is the proper way to get final result of a sequence (UUT Passed / Failed ) by using TS API ?

P.S. I'm using parallel model.

Thanks in advance.

0 Kudos
Message 1 of 4
(3,444 Views)
Solution
Accepted by airspan

I recommend using/implementing the "UIMsg_ModelState_TestingComplete" callback.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,420 Views)

@airspan wrote:

Hi,

I'm trying to implement custom OI on C#.

What is the proper way to get final result of a sequence (UUT Passed / Failed ) by using TS API ?

P.S. I'm using parallel model.

Thanks in advance.


You can get Sequnce Result, which is a Result of whole Sequence status

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 4
(3,391 Views)

I got it under UIMsg_ProgressPercent,

if (e.uiMsg.Event == UIMessageCodes.UIMsg_ProgressPercent)

{

    context.Parameters.GetValString("Result.Status", 0);

}

 

or under UIMsg_ModelState_TestingComplete,

if (e.uiMsg.Event == UIMessageCodes.UIMsg_ModelState_TestingComplete)
{
    context.Parameters.GetValString("UUTStatus", 0);
}

0 Kudos
Message 4 of 4
(1,722 Views)