NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Two step serial number verification in PreUUT

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

0 Kudos
Message 1 of 2
(3,368 Views)

First of all why would you need to put both on the Report?  If they are forced to enter the same serial number then it seems to me that you only need to display one of them.

 

Secondly- See my example.

 

Hope this helps

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(3,358 Views)