NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom serial number

I'm new to TestStand and I'm sure this is an easy question. I'm using a custom serial number VI in testStand to, well, get serial numbers. I understand how to modify the PreUUT callback to use my VI, however, how do I programmatically get that number to show up in the filename? I'm sure there must be some property that needs to be set, but after much searching, I have not been able to discover that.

 

Please advise.

 

Thanks so mcuh.

 

0 Kudos
Message 1 of 3
(987 Views)

Hi,

 

The serial number you read from the custom VI should be transferred to parameters.serialNumber.

You can use a statement step and add parameters.SerialNumber = locals.serialnumber ( assuming your VI returns serial number gets stored in locals.serialnumber). Thats it for the reports.

 

RaviShrigiri_0-1649694706613.png

 

 

FYI...parameters.continuetesting decides if the sequence has to continue or stop testing.

Ravi

0 Kudos
Message 2 of 3
(955 Views)

Hi Ravi,

 

Thanks for this input. I got everything working based on your suggestion.

 

Cheers,

0 Kudos
Message 3 of 3
(950 Views)