07-26-2013 03:39 AM
Hi,
I would like to know if it is possible to find unused variable through sequence in order to suppress them ?
Thank you
07-26-2013 03:46 AM
07-26-2013 04:24 AM - edited 07-26-2013 04:24 AM
I use TS 4.2 2009. Is there another way?
07-26-2013 07:30 AM
I used to do a search for the variable. You can limit the search to a single sequence if you are looking for a local.
07-26-2013 08:01 AM
Ok difficulty comes with many variables declared and not used in the project I have to finish.
Doing a manual search of all variables will take time
07-26-2013 08:10 AM
niva wrote:
Doing a manual search of all variables will take time
It's not really a manual search. There is a search tool and you can limit the search to a single sequence. But yes, you will have to do the search one variable at a time. This is exactly why I was excited when I got to upgrade TestStand and found the sequence analyzer.
07-26-2013 09:44 AM
If you have access to a newer version of TestStand you could use it just to determine which variables are unused and then go back to the older version to actually make the edits to the file.
-Doug
07-27-2013 04:38 PM
07-29-2013 02:30 AM
I think I will do this automation to search all unsed vars 'cause I will be to the same version for a long
Just suprised that it does not exist.
Thank you
08-06-2013 08:19 AM
I have tried this example that works fine on a local seq file (In directoriesAndFilesPath I have entered C:\pathtoseqfile\myseqfile.seq)
But if I search for words as Locals.myVar, the search does not find myVar as parameter of one TS method.