05-06-2010 09:32 AM
I'm very new to TestStand, can someone point me to a ForEach example or totorial? I'm iteratiing through a Local array of strings and i'm not sure how to access each of the elements.
regards,
terrell
Solved! Go to Solution.
05-06-2010 10:06 AM
I recently used the For Each loop in an application for a self-test where the user can select to run a certain subset of tests based on a selection. It does take a bit of work to get used to the syntax.
See attached sequence, saved in TestStand 4.0.
Locals.TestList is an array of 3 elements: test 1, test 2, test 3.
Locals.test is the current item being processed.
Thanks,
Paul Holzrichter
05-06-2010 10:10 AM