NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Get the UUT SerialNumber??

Your VI is much too complicated. You can make this VI a popup. No need to call another. If you want the use to have the ability to manually enter a serial number, create a string control and for the VISA Read, write to a local variable of this control.

A keyboard wedge type of scanner is one that is connected in series with the pc's keyboard. It acts just like a keyboard. You only need a front panel string control. The USB scanner is seen as another keyboard as well. With either, you just use a string control and you could also use the Prompt User for Input directly as a serial number input.

0 Kudos
Message 11 of 13
(2,278 Views)

You are right! My code is too crowded and I might just use a string control not a popup window. Tha way, as you mentioned, I can update the string with the SN from the scanner.

I'll try that.

Thank you much for your help.

Bahaa

0 Kudos
Message 12 of 13
(2,277 Views)
Hello all,
Finaly, I modified the preUUT in the model sequence and I could scan and get the SN of the UUT. then I could display it using PostUIMessageEx.
Now I'd like to:
1- show the progress percentage of the test.
2- Since I used myown PreUUT, I lost the button to cancel the test! So I need to create that button for the UI.
 
Hope some one gives me a hint.
 
Thanks
Bahaa
0 Kudos
Message 13 of 13
(2,244 Views)