From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,022 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,011 Views)

thanks Doug

i will try that

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