NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running different sequences in parallel from LabVIEW

Hi,

 

We have a test setup with up to 8 UUT. The UUTs can be different and may require to run different sequences(*) in parallel. Is it possible to start TestStand from labview and run the different sequences at the same time? Sequences potentially run for days, so stability is a requirement. If so, is there an example I can find somewhere to run at least two sequences in parallel?

 

*The sequences never share the same resources, so they wont interfere with each other.

*All sequences 

*The UUTs are quite similar so theoretically we can create one sequence with a decision making logic, so it can serve all the UUTs. In pratice we cant, because the sequences will be written by our customer and we can't expect them to write their sequences with this mindset. Also the number of potential sequences is huge, so the question is really, if we can run them in parallel.

 

Thanks!

 

0 Kudos
Message 1 of 6
(548 Views)
  1. Choose the batch process model.
  2. In the implementation, in the main sequence, use a sequence call step.
  3. Define the array of sequence paths for each UUT in a FileGlobal variable as an array.
  4. In the expression for the sequence call step, format it so that it uses the socket number to index the path in the array.
  5. Now, each socket is executing a different sequence wrapped by the same main sequence.
Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
Message 2 of 6
(537 Views)

Thanks for responding. I worked with the batch model couple years ago. What I'm looking for now is to see if I can somehow start separate teststand processes. The reason for this is that we'd like to use TS only as a "simple" sequencer, other than this we dont need all those complex functionalities the process models can provide. And not just we dont need those, but I'd like to avoid them as much as possible to reduce the complexity.

0 Kudos
Message 3 of 6
(281 Views)

That's interesting!

I keep hearing discussions that TestStand is so expensive even though it brings so much functionality.

So my interpretation is that in your case, the benefit of using it as Sequence only already outweighs the cost 😊

0 Kudos
Message 4 of 6
(269 Views)

So my interpretation is that in your case, the benefit of using it as Sequence only already outweighs the cost 😊


I wouldn't necessarily jump into conclusions like this. 

0 Kudos
Message 5 of 6
(261 Views)

That's why I was asking 😉

0 Kudos
Message 6 of 6
(234 Views)