NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Step Results into Labview

Hi,

 

I'm having what seems to be an easy problem but one which I cannot figure out quickly.

 

I'm trying to do the following. I am trying to do some custom logging to a specific format for my Teststand results. I'd basically like to pass the Results parameters of each step into Labview Code where I will process there. To make it more user friendly I have created a Callback for SequenceFilePostResultListEntry. What I don't exactly know how to do is get the Results from the current step into LabVIEW

 

At first I used the SequenceContext.PreviousStep but that did not give me what I needed. Hopefully I'm clear in what I am asking.

 

Thanks for the help,

 

Patrick

0 Kudos
Message 1 of 2
(3,011 Views)

Hi Patrick,

 

Are you having trouble doing this with a LabVIEW Adapter Action Step?  If you are trying to pass specific run-time values to your LabVIEW VI, you will be able to find them by setting breakpoints and looking at the available variables.  

 

For example, in your SequenceFilePostResultListEntry callback, if you wanted to use the test's Status result as an input to your LabVIEW Adapter Action Step, you could use the expression RunState.Caller.Step.Result.Status as the value you pass.

 

Please let me know whether this answers your question.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 2 of 2
(2,992 Views)