Hello all,
I am using sequential model and trying to modify PreUUT so that I can implement two step verification for serial number using "Do While" loop with Message Popup. e.g. if the operator doesn't enter matching serial number it will loop again unitl matching serial number are entered in both popup entries. The issue is I could not save this, serial number, into global variable and print it in the report. Any help would be appreciated. Below is the example of my implementation within PreUUT;
Do While (RunState.Sequence.Main["Message Popup1"].Result.Response) != (RunState.Sequence.Main["Message Popup2"].Result.Response)
Message Popup1 -- "Enter UUT Serial Number"
Message Popup2 -- "Re-Enter UUT Serial Number"
End
f(x) Statement -- Parameters.UUT.SerialNumber=locals.SerialNumber
using NI TestStand 4.2