Thang Nguyen Posted May 6, 2013 Report Share Posted May 6, 2013 (edited) Hi, I am quite new with TestStand. I know how to develop a test sequence already. Now my project becomes more complicated with checking if it is the first test sequence to implement some extra task such as scan bar code for a set of test sample. What should I do to make this happen? Thank you for your time! Thang Nguyen Edited May 6, 2013 by Thang Nguyen Quote Link to comment
BramJ Posted May 7, 2013 Report Share Posted May 7, 2013 Check if "RunState.Root.Locals.UUT.UUTLoopIndex" is 1 Quote Link to comment
Thang Nguyen Posted May 7, 2013 Author Report Share Posted May 7, 2013 Thank you! Quote Link to comment
Thang Nguyen Posted May 7, 2013 Author Report Share Posted May 7, 2013 I think using a text file is a better idea cause in case system crash in the middle of the test that index will be reset. Quote Link to comment
martin_g Posted May 10, 2013 Report Share Posted May 10, 2013 The best way to do barcode scanning at the start of a test sequence, is within the sequence model. Test Stand comes with some default models that have this functionality e.g. Sequential Model. If the default models don't meet your needs, you can customise them. Look in the Test Stand examples for different model demos. This is a slightly advanced Test Stand topic, but I think would be a better solution. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.