Hi,
I am assuming in your system your UUT passes through your scanner on a conveyer. Therefore all you need to do is change the call to identifyUUT function in PreUUT to your own function that obtains the serial number from your scanner and returns it to the same location as identifyUUT does. Also you will need to handle the situation if you need to continue testing, if an error occurs such as no serial number available.
Regards
Ray Farmer
Regards
Ray Farmer