Jump to content

Replace missing SubVI with different name


Recommended Posts

Hi,

i just had again the problem my colleague has changed the names of our subvis :thumbdown: and now my VIs do not find the correct VIs. I know the correct VIs but it is annoying to go to every VI and change the reference myself and in the VI missing dialog form LV I only can select VIs with the same name. :headbang: .

Has anybody already the same problem or an idea how to change the subVIs with VI scripting. :lightbulb:

Link to comment

Close all vi's that call the old subvi. Rename the new subvi so it has the same name as the new subvi. Open all vi's that call the old subvi. Open the new subvi (that currently has the old name) and save it with the new name. All calling vi's will update their paths to the subvi.

Link to comment
Close all vi's that call the old subvi. Rename the new subvi so it has the same name as the new subvi. Open all vi's that call the old subvi. Open the new subvi (that currently has the old name) and save it with the new name. All calling vi's will update their paths to the subvi.

2239[/snapback]

That works. :thumbup:

thanks

alex

But still a lot to do manually, especially when you have lot of VIs and even more subVIs.

I am going to make a research if it is not possible to change the subVI names directly in the main VI.

Ciao.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.