NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing many VI paths?

Hi All,

 

I am new to TestStand, and hoping there is an easy answer to this one. We have about 100 LabVIEW modules called from our various TestStand sequences and want to upgrade from LabVIEW 8.2.1 to a newer version (say LV 2011). Our LabVIEW modules are each stored separated by LV version in a separate folder with the top level VI having the same name as the folder. For example, module 1 might be stored in the following location prefixed by its "part number", which is a number we give it for internal tracking. 

 

LV 8.2.1

C:/ LabVIEW Code/LabVIEW 8.2.1/1234567-001 Module 1/1234567-001 Module1.vi

 

LV 2011

C:/ LabVIEW Code/LabVIEW 2011/2345678-001 Module 1/2345678-001 Module1.vi

 

TestStand just uses the 2 relative paths: "/1234567-001 Module 1/1234567-001 Module1.vi" and "/2345678-001 Module 1/2345678-001 Module1.vi"

Note that the part number prefix is different for different versions of LabVIEW.

 

So my question is, how do I update all of these relative paths quickly, without going to each place a VI is called?

 

0 Kudos
Message 1 of 3
(2,968 Views)

You have given yourself one big headache.

I am guessing that module 1 done in LabVIEW 8.2.1 would be the same VI in LabVIEW 2011 but because you have prefixed it with a 'part number' it has made it awkward to link to the new file.

You can use the Find/Replace or Find/Replace in files function in the Edit Menu to change all '1234567-001'  to '1234567-001'.

 

regards

Ray Farmer

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

Hi Ray,

 

Thank you for the suggestion. I did not create the naming system, I think it started about 10 years ago (hence the LV 8.2.1) and now I am trying to make everything compatible with Windows 7.

 

If the find/replace works well, it should not bee too hard. The first section of the part number corresponds to a LV version, but the last 3 digits correspond to module or function of the VI. If it can replace all of the "1234567" with "2345678" then that should be all I need. I'll give it a try!

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