07-08-2014 03:22 PM
How can I change the Adapter type in the Step Settings for all of my sequence calls from the "NONE" to "CVI" type.
I have a large number of sequences and don't want to change each one individually.
Thanks
John
Solved! Go to Solution.
07-08-2014 03:47 PM
The easiest way to do it is to select all the none adapter steps and then in the Step Settings window under General change the Adapter to CVI. You should be able to select multiple steps. TestStand follows the Windows rules for using Ctl and Shift to individually select or select a block.
The other option is to write a utility using the API which will update them all. It wouldn't be too hard but this is most likely a one time thing and it will be easier just to select all the steps simultaneously.
Hope this helps,
07-09-2014 06:23 AM
I wish it was that easy. I am using a customer supplied program that created the sequence files, but each test is a separate sequence in the sequence file. So each test is listed as a sequence in the sequence pane. I am not able to change multiple steps by selecting muliple sequences. The attached screenshot might help.
Thanks
John
07-09-2014 08:17 AM
Check out this example.
07-09-2014 08:44 AM
Sorry, I am using TestStand 4.2, your seq is from a newer version.
07-09-2014 08:46 AM
Try this one.
07-09-2014 08:49 AM
BTW- it only changes steps in the Main Step Groups of all the sequences. You'll have to modify the code to include all step groups.
07-09-2014 09:14 AM
Works very nice. I have 96 different sequence files to run this on, with over 1200 test steps. This will save a lot of time. Only thing is, the seq file has to be open in order for it to change the adapter type.
Thanks for the help and the quick replies.
John