11-05-2020 04:08 AM
Hello,
i have textfile with multiple lines.
Each line should become the name of a label in a testplan.
How could i do this automatically?
Thank you
Solved! Go to Solution.
11-09-2020 01:38 PM
I might be confused by what you are asking.
Are you looking to turn each line in your ascii file into a step in TestStand?
Are they all going to the same file and sequence? Which step group would you want them to show up in?
I don't think this is completely achievable in TestStand only. You would need to use a code module like LabVIEW or C#. But basically you could create a Tool in TestStand that would call some code to read the ascii file and iterate through each line. Then using the TestStand API inject steps into a sequence and sequence file.
11-09-2020 03:17 PM
Hello,
Ok, what if i have the ASCII file then in a Stationglobal stringarray.
How can i create for each Index of the array a new labelstep in mainsequence?
Thanks
11-09-2020 05:06 PM
I threw this together real quick. Just run the Insert Label Steps sequence and the MainSequence will have the label steps.
Hope this helps.
11-10-2020 03:31 AM
IMHO, that's a great example. Quick, simple and efficient.