11-25-2013 09:49 AM
Hi. I'm using Test Stand 2012 beginner level. I want to run two test programs same time. How can i do it? Please help me
11-25-2013 10:00 AM
Hey ergin,
There are several ways you can run multiple tests at once. I'll describe two main scenarios and we can provide more detail if needed depending on which one you want.
1) Testing Multiple UUTs at Once
If you want to run the same set of steps on two units at the same time, you can use either the Parallel or Batch process models to handle the multithreading. To change the process model to one of these, simply go to Edit > Sequence File Properties, click on the Advanced tab, and set the Model Option to ParallelModel.seq or BatchModel.seq.
2) Running Multiple Tests on One UUT at Once
If you want to speed up your testing of a single UUT by running multiple tests at the same time,you can put one set of tests in a new subsequence and call that subsequence from your main sequenece with a Sequence Call step. The Sequence Call step has a setting to execute in a new thread, and if you set that, the subsequence will execute while the rest of your code continues to execute. This will allow you to run multiple tests at the same time.
Does one of these options sound like what you are looking for? If so, we would be happy to answer any further questions you may have about it. If not, just let us know what you want to do, and we can probably suggest a way to organize it in TestStand.
11-25-2013 10:15 AM
I want to run two different sequence same time. I make electronic card function test systems.For example; "a" and "b" two different cards and i want to test this card same time.
11-25-2013 10:25 AM
If you are wanting to run two separate pieces of code for different models of cards at the same time, this is what I would do:
1) Create a separate sequence file for each card
2) Create a master sequence file to run the test. This master file would have two Sequence Call steps in it. Each one would reference the MainSequence from one of your sequence files from step 1, and each sequence call would be set to execute in a new thread.
In TestStand there are always multiple ways to solve a problem, but this is a simple approach to what you're trying to do and should get you started on it. The advantage to putting the tests for each type of card in a separate file is that it logically organizes your code and makes things easier to develop and debug. You can work on each set of tests individually and be confident that they do not have unknown dependencies on each other.
I hope that helps, and let me know if you have any further questions!
11-25-2013 11:18 AM
Thanks but i didnt understand it. I'm writing my project. If you have solution; please help me.
I make a test system which is the testing two same cards in same time. But test time not same. So i didnt want to wait two test finish. I want to start new test which one to finish.
11-25-2013
11:29 AM
- last edited on
11-05-2024
09:25 AM
by
Content Cleaner
If you have multiple units which are the same (same type of card) but the test time for each card can change, the Parallel process model is the best approach. To do that, you would have a sequence file with all of your tests in it, and just use the Edit > Sequence File Properties setting mentioned earlier to use the ParallelModel.seq. This will allow you to start multiple tests (multiple cards) and when each one finishes, you can go ahead and put a new card in that socket and start another test, even if the other card is still testing. Here is a Help topic on the Parallel process model: https://www.ni.com/docs/en-US/bundle/teststand/page/parallel-process-model.html
11-26-2013 03:09 AM
Thanks for your help. I solve my problem. I want to ask another question. I live in Turkey and my costumer want to translate to sequence result. For example when sequence true, besides writing "passed". I want to change "passed". Is it possible? Thanks for help
11-26-2013
10:08 AM
- last edited on
11-05-2024
09:26 AM
by
Content Cleaner
Hey ergin,
Here's a document on localizing TestStand to your language: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2wjCAA&l=en-US
Hope that helps! Let us know if you have any more questions.
11-28-2013 03:01 AM
Thanks :). I solved it.
11-28-2013 03:28 AM
I changed uut information box, but ı didnt change sequence result. I add a picture. Please send me how can ı do it