NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts To Change Sequence File

Group,
At our company we use TestStand 3.0 and I'm running on a Win2K,
controller PXI 8184. My application is rather large with the sequence file
approaching 3000 lines. I don't use subsequences mainly because this is a
multi-threaded app. My question, is there a script tool or application that
allows me to do a search and replace for a list of changes? I launch Word
and can do a single search and replace. I want to have a list of things
that if different will make the change in the sequence file. Sample below:

Software ID "0x45AF"
Flash ID "0x4FAC"
Part Number "3938313031323134"

Obviously making the changes in TestStand can be very time consuming.
Especially where there are up to 50 changes at a time. How do I approach
this? Considered VBA in Word, but have to learn VBA. What is the best
course of action in an example like this?

Tony


0 Kudos
Message 1 of 3
(2,998 Views)
Hi,
 
3000 lines, do you mean that you have a sequence file with 3000 steps!!
And I'm not sure the significance of the multi-threaded app and the reason you didn't break this hugh sequence file down into sub sequences.
 
If you have Items such as Software ID, Flash ID, why didn't you make these variables so that you only have to change them in one place.
 
In TestStand 3.5 there is a Find and a Find In Files. These items are found under the Edit menu. I'm guessing that these are not available in TS3.0.
 
One thing you could try using, is the Export / Import Properties under the Tools menu.
You could export the properties out to a file. Make the changes and then Import the change file back into your sequence file.
 
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(2,994 Views)
Ray,
When I started this project, TestStand was just another app to learn.
Why I chose the current way? A sub-sequence was just another thing to
learn. When you're under the gun, the boss wants something done yesterday,
choices are sometimes quick and not to efficient. On my next project, yes
things will be different. But for now, I live with this. The import/export
properties seems interesting. I'll give it try today.

Tony
"Ray Farmer" <x@no.email> wrote in message
news:1179697211770-523781@exchange.ni.com...
> Hi,
> &nbsp;
> 3000 lines, do you mean that you have a sequence file with 3000 steps!!
> And I'm not sure the significance of the multi-threaded app and the reason
> you didn't break this hugh sequence file down into sub sequences.
> &nbsp;
> If you have Items such as Software ID, Flash ID, why didn't you make these
> variables so that you only have to change them in one place.
> &nbsp;
> In TestStand 3.5 there is a Find and a Find In Files. These items
> are&nbsp;found under the Edit menu. I'm guessing that these are
> not&nbsp;available in TS3.0.
> &nbsp;
> One thing you could try using, is the Export / Import Properties under the
> Tools menu.
> You could export the properties out to a file. Make the changes and then
> Import the change file back into your sequence file.
> &nbsp;
> Hope this helps
> Regards
> Ray Farmer


0 Kudos
Message 3 of 3
(2,986 Views)