NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Read 2 barcode serial numbers

Is it possible to read to separate barcodes in TestStand 3.0 without over writing the barcode of the first read and if so how would I do it?
 
Tony
0 Kudos
Message 1 of 4
(3,610 Views)
Are you talking about when you are running Test UUT's and you might be scanning more than one barcode as the serial number before the next step executes?  Or how are you reading in the barcodes? 
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(3,595 Views)
I have two barcodes that need to be scanned, compared and loaded into EEPROM.  So I'd like to scan, do some work and then scan the second barcode and move one to my Main Sequence.
 
Tony
0 Kudos
Message 3 of 4
(3,591 Views)
Hi Tony,

The great thing about TestStand is you can make it do pretty much whatever you want. Since TestStand can call code modules from just about any programming language, if you can write a program to do what you want, TestStand can use it. It's just a matter of determining where in the Process Model / Test Sequence to insert your code module.

In my experience people have used bar codes as a serial number entry method. Serial number entry is handled by the Process Model, specifically in the Pre UUT portion. You could use the Pre UUT callback in your sequence file to call a code module that does all the work involving your barcode entry, then pass it on to the Serial Number variable within TestStand that gets used in your report.

Hope this helps Tony, have a great weekend!

Dan Weiland
Applications Engineer
National Instruments`
Dan Weiland
Message 4 of 4
(3,578 Views)