NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Asynchronous Pass/Fail Tests

This seems like it should be a simple question, but I have been playing around with it in TestStand as well as searched some of the boards and can't find a solution.

I have a test in my sequence that takes up a substantial amount of time, but isn't dependent on anything that follows after it. Is it possible to run a single VI in TestStand asynchronously in another thread/core and have it report back pass or fail to the original thread that called it?

I have tried putting it in its own sequence and running that sequence asynchronously, but I can't seem to find out how to send some pass/fail parameters back to the original thread.
I also tried going into the properties of the pass/fail test and changing it to the Run VI Asynchronous option, but that ended up erasing all the pre and post expressions and still couldn't report pass/fail.
Is this type of functionality supported in TestStand?

-Matt
0 Kudos
Message 1 of 2
(3,726 Views)

HI,

Put the step in a seperate sequence and call that Sequence only set it up to run in a new execution or thread and not to wait, also have it run without process model.

Now you will need to capture the result of that step later in your sequence run and this is done by inserting a Wait step type. Set it so that it waits for the Sequence that you launched in a new execution or thread.

Hope this helps you.

Regards

Ray Farmer

 

Regards
Ray Farmer
Message 2 of 2
(3,723 Views)