NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Subsequence in parallel to station model

Hello,

 

I have recently started to use Test Stand and I guess I have a special use case  since I was not able to find an appropriate discussion.

 

What I am trying to do is to run a vi in a subsequence executed in a so called new execution with the use of the current file to have access to the variables to establish a connection to our corporation data base for requests. This connection needs to survive all station callbacks. But for some reason if I try to run such a subsequence in one station call back it seems as if this station call back can just be left and the next can be entered when the subsequnce has stopped execution. In other word the scope of a subsequence running in its own execution seems to be the station call back in which it is started. Do I get this right? Is there an posiblitiy to have one of the models (sequential, parallel or batch) as scope for a subsequence running in its own execution? Or do I have to use a completly different approach?

 

Thank you.

0 Kudos
Message 1 of 5
(3,125 Views)

Honestly, i do not understand what you are looking for. I assume that you are looking for a way to run something in parallel to your actual test. That parallel running something shall have access to data in the test execution.

 

I think the best you can do for such a use-case is a custom process model plugin. Use TS synchronization steps like queue and notifier to distribute data.

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

Look at the advanced options for the New Thread or New Execution sequence call. There is an option to wait for it to complete at the end of the current sequence. It sounds like you probably want to uncheck that.

 

Hope this helps,

-Doug

0 Kudos
Message 3 of 5
(3,096 Views)

Sorry Norbert,

 

I guess I am not that good used to the Test Stand vocbulary yet, so may description might be not that good. But none the less thank you for your quick response.

0 Kudos
Message 4 of 5
(3,084 Views)

Hi dug9000,

 

that's it.

 

Thanks a lot!

0 Kudos
Message 5 of 5
(3,081 Views)