NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass step result from TS Engine to the Operator Interface?

Solved!
Go to solution

Hi, dear ALL

 

I'm a newbie in TestStand and I have one problem.. Lots of documentation and manuals, but there is no clear answer =( Could you please help me.

 

Lets assume that we have a sequence with a pass/fail step. Now I want to use my own Operator Interface instead of Sequence Editor to execute my sequence. To the best of my knowledge, TS Engine will update Step.Result.Status property. I want to get this status and use in my OI. How does the TS Engine transfer step's result to the OI (or Sequence Editor)? I've read about UI messages. Does TS Engine send a special UI Message automatically?

  

Thanks in advance,

Max

0 Kudos
Message 1 of 2
(3,517 Views)
Solution
Accepted by topic author maksya

maksya wrote:
[...] Does TS Engine send a special UI Message automatically?

  

Thanks in advance,

Max


No, there is no special UI Message for this.

What you can do is to define your own custom UI Message for this. Take a look into the TestStand Reference Manual on page 3-15. You will find a table of step components ordered by execution. You can see that action number 17 is execution of the status expression. From this moment, the step should have its result. Therefore you can use the Post-Step Engine callback (action number 18) to send your custom UI Message.  Another possible callback would be PostResultListEntry Engine callback (action number 32) which is the latest point to transfer the information.

 

Regardless of the info above: Why don't you use the SequenceView element and just kick out everything except the step name and the result column?

 

hope this helps,

Norbert 

 

 

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