NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

StepResult is empty

Hi,

I have overridden the SequenceFilePostStep Callback and send an user defined UIMessage to call an Event in C# that I named "StepDone".

In StepDone I've got a reference to the current Step. I want do get the step.ResultStatus but it is empty.

So I have tried the SequenceFilePostResultListEntry Callback. There is the Parameter "Result" but this is an Container, how do I get the content of the Container?

I'm using TestStand 3.5 and C# and VS.Net 2005
0 Kudos
Message 1 of 2
(2,943 Views)
Code 1 (Callbackhandler UIMessage):

private void executionMgr_UserMessage(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ExecutionViewMgrEvents_UserMessageEvent e)
{
if(e.uiMsg.Event == 10006)
{
Step niStep = (Step)e.uiMsg.ActiveXData;
System.Diagnostics.Debug.WriteLine(niStep.ResultStatus);
}
}


niStep.ResultStatus is empty. The UIMessage is send in "SequenceFilePostStep"

Message Edited by EddyAnt on 08-02-2006 08:26 AM

0 Kudos
Message 2 of 2
(2,929 Views)