NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

In simple user Interface modify the sequence view to show only executing step

I want to see only the Single executing step  in sequence view of the user interface

 

are there any egs for the same!!

0 Kudos
Message 1 of 3
(4,371 Views)

This is relatively trivial to implement yourself. Handle the UIMessageEvent of the ApplicationMgr and when you get a trace UIMessage do something like the following:

 

if (uiMsg.Event == UIMsg_Trace)

{

    int notUsed;

    String currentStepName = "";

    SequenceContext context = uiMsg.Thread.GetSequenceContext(0, out notUsed);

    if (context.NextStepIndex >= 0)

    {

        currentStepName = context.NextStep.Name;

    }

 

    /// Do something with currentStepName like update an indicator control.

}

 

Hope this helps,

-Doug

0 Kudos
Message 2 of 3
(4,360 Views)

thanks Doug

i will try that

0 Kudos
Message 3 of 3
(4,355 Views)