LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving SUBVIs in 2 folders in Version 7.1

Hello, am trying to save a copy of 3 SUBVIs in 2 different folders. Everytime i save into the new folder, it keeps calling the SUBVIs from the initial folder. I want both of them to stand alone and not dependent on each other.
 
I created the new folder so that i can play around with some of the functions, but it keeps changing data that i do not want to change from the original folder.
 
Thanks.
0 Kudos
Message 1 of 4
(2,646 Views)
Bunmi,

As I understand it, you have a main VI which is calling three subVI's. When you create new copies of these subVI's, you want your main VI to call the new sub VI's from the new folder. Actually, there is no way in which LabVIEW can know to relink these new subVI's. You would need to relink the VI's yourself by right-clicking on the subVI's and choosing Replace -> Select a VI... and then selecting the new VI's.


Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 4
(2,626 Views)
thank you adnan.
0 Kudos
Message 3 of 4
(2,615 Views)

This seems to be "pick on NI day" for me.

"....there is no way in which LabVIEW can know to relink these new subVI's. "

As long as the caller is open when the subs are saved, LV will update the caller to point at the subs in their new location. Just make sure you save the caller AFTEr you save the sub's.

See these threads were I have written more on keeping track of sub-VI's

http://forums.ni.com/ni/board/message?board.id=170&message.id=143104&query.id=59863#M143104

http://forums.ni.com/ni/board/message?board.id=170&message.id=96142&query.id=59863#M96142

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,607 Views)