05-10-2013 08:59 AM
Hi Jack,
I am trying to do the same thing. I have a labview code which uses TestStand Exec and on the labview code, I have a barcode scanner which incorperate my Serial Number. What I want to do is to disable the TestStand Dialog and pass this Serial Number to my TestStand Test Report. Could you be kind enough to explain how you got yours to work? I can model mine off of yours.
Thanks,
Stan.
01-02-2014 04:28 PM
I'm om the same.
I'm reading the Serial Number using a Cemera and a 2D code on Units, and I would like to put the serial number in the corresponding box of "UUT Information".
At this time I'm puting the serial number on Report using "RunState.Caller.Locals.UUT.SerialNumber".
I need to keep the "UUT information" screen on front.
Thank you
01-02-2014 06:58 PM
Hi Louis,
I was able to get mine to work. I will send you a description and vi on what I did tomorrow when I get to work.
Stan.
01-03-2014 10:00 AM
Thank you Angel,
I'll be waiting.
01-03-2014 10:25 AM
Luis,
Here is an explanation on how I did it.
1. I created a labview vi called "GetBarcode" - This vi basically creates a txt file on your C:\ drive to store the scanned barcode
2. On my "ModelOptions" sequence, I changed my Parameters.ModelOptions.ParallelModel_ShowUUTDlg to fails e.g "Parameters.ModelOptions.ParallelModel_ShowUUTDlg = False" This sequence is included in my sequence file that I saved.
3. I edited the "PreUUT" sequence and included the "GetBarcode vi" I created from step 1. I edited the steps in the sequence as shown in the sequence file that I have attached.
4. I created a StationGlobals Container called "Barcode String". Inside that container, I created a string variable called "Barcode" which stores your barcode that populates into your UUT sequence.
With this, I was able to automatically parse the barcode string into the pop. This barcode is also included in your test report.
I have attached the barcode vi as well as the sequence that you need to include you original saved sequence.
Let me know if you have any question.
Kindest regards,
Angel
01-03-2014 10:36 AM - edited 01-03-2014 10:39 AM
Thank Angel,
I don't whant to modify the "UUT Information Screen",
1.- when I click "Next UUT" (no seril number at this point), My program read the serial number using a 2D code camera,
2.- I need to put that serial number into "UUT Information" Box,
Please see below...
------------------
Hi guys!
I'm reading the Serial Number using a Cemera and a 2D code on Units, and I would like to put the serial number in the corresponding box of "UUT Information".
At this time I'm puting the serial number on Report using "RunState.Caller.Locals.UUT.SerialNumber".
I need to keep the "UUT information" screen on front.
Thank you
-----------------------------
01-03-2014 10:49 AM
Luis,
Did you try the sample I sent to you?
Angel
01-03-2014 11:18 AM
Yes I did,
1.- its just for one threat. I need it for 3
2.- always is asking for serial number
3.- I don't whant to change the "UUT Information", because the Operators are using the same format/Screen in other testers, so I don't whant to change the standard
01-03-2014 06:45 PM
Angel,
At this time, I can Pass the serial number than I'm reading from the 2D code to Report. But I just need to put that number into UUT information BOX.
To put the serial number to report, just put "RunState.Caller.Locals.UUT.SerialNumber" on VI serial number out
01-06-2014 09:22 AM
Luis,
The example that I sent to you should work fine. You have have to do much.