From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent teststand from crash if array index out of bounds for one of the test sockets

I have to test 20 UUTs using batch model. 

I go to SQL server and read 20 serial numbers that  have to use in my tests.

I have to use 7 test sockets.

Each time I tun sequence, seven serial numbers are passed to the tests.

So...in first run of batch sequence, parts 1-6 are tested, in second run parts from 7 - 14 are tested.

The problem is when sequence runs for the third time, when parts from 15-20 are tested. Test socket number 6 does not have UUT to test since there are only 20 UUTs (serials) to test and no 21.

The test socket 6 error is presented : "Array Index out of bound".

 

Please help how to solve my problem 

 

 

0 Kudos
Message 1 of 1
(1,859 Views)