NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Change UUT Serial List to read from a database

Is there a way to change to UUT Serial Entry that pops up when you run a Test UUT? I would like to change it so that the list is populated from a SQL database. Is this possible? Thanks in advance.
0 Kudos
Message 1 of 2
(2,922 Views)

Yes

You need to write the code that will make the calls to your data base and add that to the PreUUT call back seq. Under "Edit > Sequence Callbacks ..." add the PreUUT callback to your sequence file. Note the Parameters that are passed into the PreUUT sequence. One being Parameters.UUT.SerialNumber. This is where you store the UUT serial number so TestStand can add it to reports files and such.

Parameters.ContinueTesting is the boolean you set to true if there is another UUT to test or false if testing is to stop.

Take a look at the default PreUUT seq in <TestStand #.#>\Components\NI\Models\TestStandModels\SequentialModel.seq. I fact you can copy and paste PreUUT into your seq and edit as you need.

Jim D.

0 Kudos
Message 2 of 2
(2,906 Views)