LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading from wrong path

When I try to open a VI in my project, it presents me with a “Resolve Load Conflict” dialogue. Apparently the VI is presently loading a .lvclass from a path that a VI within that class does not expect. LabVIEW indicates the correct path, but won’t allow me to select and load it. It says that if the already-loaded pat his not correct, to cancel loading and close that copy of the .lvclass. How would I close a copy of a particular .lvclass?220330-007-close this copy of modbus master.png

0 Kudos
Message 1 of 3
(738 Views)

Find that file and find all it's callers from (the project). For the class, (sadly) you'd have to search for all users of it's methods.

 

The resource is probably used in a VI that is in the project, but that isn't loaded. That VI has another path stored, and it will keep a link to the other path until you change it. The conflict won't go away until you have changed all code that refers to the old location.

 

You can sometimes take a shortcut, and simply open all top level VIs that are not loaded by default. VIs in classes are always loaded, so that leaves main VIs, test VIs, etc.. If you've opened them all, you probably ran into a few conflicts. Resolve them, save all...

Message 2 of 3
(700 Views)

Okay thanks for that background. It’s helpful context. I opened up the class files outside of the project and I think that reset the paths for some of them in memory… or something. I was able to resolve the paths this way. I’ll keep your answer in mind if I continue to face issues…

Message 3 of 3
(683 Views)