LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subvi's with the same name

Hello

I have an instrument that i want to use in my main program. For this instrument "A" i made two vi's:

initA.vi
measureA.vi

On the Disk, they are in the Folder ...\instruments\A\
Both of them have several subVi's.
The subVi's are in the Folder ..\instruments\A\subVi's\

I have a second Instrument "B" (which is very similar to instrument "A") and I copied the whole Folder A and named it B, and renamed the Vi's to:

initB.vi
measureB.vi

they are now in ...\instruments\B\ and the subVi's in ..\instruments\B\subVi's

the subVi's have all the same name (they must have the same name), but I have to make some little changes in some of them

When I place initB.vi in my main program, I get many warnngs, that the subVi's from instrument A now were loaded from ..\instruments\B\subVi's

But they are no the same, they only have the same name!

Is it possible to tell Labview it mustn't load the SubVi's from another location?

Thanks


0 Kudos
Message 1 of 3
(2,542 Views)
I don't have an answer to the question you asked, but here's a rule of thumb I use: If two VIs have different content, they should be saved with different names. 
 
Best of luck,
Michelle
0 Kudos
Message 2 of 3
(2,532 Views)
Unless you're using LabVIEW 8, you cannot load different VIs with the same name.
Message 3 of 3
(2,520 Views)