NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set serialnumbers in the Batch UUT Identification dialog box?

Hello,

I've configured TestStand to use the 'batch process model' and I'm trying to read serialnumber from a file and then update the 'Batch UUT Identification dialog box' 'test socket' fields with these numbers. How?
0 Kudos
Message 1 of 2
(3,279 Views)
Hi Thom-ve-as,

The serial numbers for each test socket in the batch model are obtained within the "PreBatch" callback sequence, called from within the Test UUTs execution entry point of the model.

If you override this callback within your client sequence file (or customize the process model file inside of your User directory) so that instead of displaying the dialog that the model uses to gather serial numbers from an operator, you can replace this process with functionality that reads a file and then writes to the properties below to set the serial numbers for each test socket and the batch.

Inside of the PreBatch callback sequence, you access the test socket serial numbers and batch serial number with the following respective properties:

Parameters.Mod
elData.TestSockets[i].UUT.SerialNumber

and

Parameters.ModelData.BatchSerialNumber

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,279 Views)