05-13-2008 10:22 AM
To option come to mind.
1) Find the offending VI and do a "save as" to a unique name and a folder with the rest of your code. You could just prefix the name with AAA for example.
2) Trick LV by opening the VI you want to use explicitely and THEN opening your app. LV will use the VI already in memory and will forget abou the other one.
Ben
05-13-2008 10:27 AM
05-13-2008 10:34 AM
05-13-2008 10:38 AM
@Ben wrote:"... (excuse my French) ..."No problem here. I'm and ex-sailor and know how to conjugate the word f%#$.Did you try to mass compile?ctrl+shift+run_arrowBen
05-13-2008 11:18 AM
Ok. I did the mass compile, and still the same problem! This is the dialog for the mass compile:
#### Starting Mass Compile: Tue, May 13, 2008 12:14:00 PM
Directory: "C:\Documents and Settings\<my name>\My Documents\LabVIEW 8.5\<my folder>\<my project name>.lvproj"
### Bad VI: "<my project name>.vi" Path="C:\Documents and Settings\<my name>\My Documents\<my folder>\<my project name>.vi"
#### Finished Mass Compile: Tue, May 13, 2008 12:14:03 PM
I don't know what's bad about it. It still works?? Any ideas?
05-13-2008 11:41 AM
Do you mean that if you open the BAD VI that is located <e-x-a-c-t-l-y> in the folder described in the Mass Compile, that you can run it? As in running that one VI by itself? And after running it, if you go under properties and look at the path, it also matches the one in your mass compile?
I've seen something like this recently. Someone had copied the poject I was working on and pasted it to another location. Little did I know that when I was opening the project, it was pulling the file from this guy's new location (he must have done something somewhere... we won't get into that). However, I was not catching it with a Mass Compile. I found the new clone (copy-cat) of the project and removed it. Started the project and it claimed the one nasty VI was missing. Linked it to the original one from the project and everything was fine afterwards.
So maybe you are in the same predicament. The Bad VI may not be loading and when running the project, a copy of this one may get loaded.
Strange things do happen in life.
RayR
05-13-2008 01:49 PM - edited 05-13-2008 01:53 PM
05-13-2008 01:57 PM
05-13-2008 02:02 PM
05-13-2008 02:08 PM