NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Continous testing the same UUTs in batch

Hi everyone, 

 

my colleage and i are new in teststand, unfortunatly we have to do teststand without any teststand training.

 

We need to setup a workstation were we have/want/need:

 

  1. 6 Testsockets
  2. Continous testing in batch
    1. We want to use the standard user dialog (SN input..) only on the first loop of the sequence (as we have always the same UUT)
    2. We want to restart the same sequence on all sockets without any more dialog (continous run over some weeks)

 

We are struggling, deactivating the starting and ending dialog, because the .net assembly which manages the threads is doing some kind of magic in the background. We are aware of the sequence and model context, but we really dont understand how to skip this dialog 😉

 

Probably there is a easy way, in any case, help is highly appriciated....

 

Cheers and thanks

 

Chris

0 Kudos
Message 1 of 5
(2,592 Views)

Do you need a new report for each iteration?  If not then just loop in the MainSequence.  You could use a GoTo step as the last step in Cleanup and a blank step as the first step in Setup.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(2,565 Views)

I have a need for the same type of test flow. Did you ever figure this out?

0 Kudos
Message 3 of 5
(2,178 Views)

Hi,

yes we did. I cant give you the code but thats what we did (Note all changes are made in the process model - if i remember right it was the batch model):

 

We wrote a very simple vi for user interaction, which just waits 20s and then resets some model variables so the loop goes invinitive until u press stop in this vi (it pops up before a batch starts).

We put it inside a sequence which is before the actual batch starts, but behind the original gui which lets u enter the serial numbers and select how many dut u have...

 

Actually the solution was not that hard, the tricky part is to know which sequence u have to change in the model.

 

Hope this helps, its defently possible 🙂


BR

0 Kudos
Message 4 of 5
(2,167 Views)

I've done continuous testing of a unit. The testing loops until it is manually stopped.

 

I added a PostUUT callback and removed the "Call DoPostUUT" step so that the callback contains no steps. This eliminates the dialog saying testing is completed.

 

I also added a PreUUT callback and replaced the "Call DoPreUUT" step with a statement:

 

Parameters.UUT.SerialNumber = "abc123"

This eliminates the dialog requesting a serial number.

 

0 Kudos
Message 5 of 5
(2,139 Views)