04-19-2018 07:20 AM
I have an edited copy of subvi from lvlib in my lvproj. I don't want to make any changes in original lvlib, but i want it to use this edited subvi instead of original one when calling other lvlib vi's. Is there a way to inject it without editing manufacturer lvlib?
04-19-2018 08:56 AM
@viteo_sen wrote:
I have an edited copy of subvi from lvlib in my lvproj. I don't want to make any changes in original lvlib, but i want it to use this edited subvi instead of original one when calling other lvlib vi's. Is there a way to inject it without editing manufacturer lvlib?
The manufacturer's code in the LVLib calls "their" VI (TheirVI.vi) from its name-space. I would think you have two choices -- inject "your" VI (MyVI.vi) into the Library (putting it in the correct name-space) and change all the calls to "TheirVI" to "MyVI" (a whole lot of editing!) or rename "TheirVI" to "TheirOriginalVI" and rename "MyVI" to "TheirVI". This involves a minimum of editing and preserves "TheirOriginalVI" (so it is easy to "back out").
Bob Schor
04-20-2018 04:19 AM
Thank you for your reply. I get the approach, but it looks a bit more difficult in my case. They have llb file with lvlib and vi's inside it. And i dont want to edit their llb (for the purpose of portability). I attach a sample project that repeats my problem.