03-21-2024 11:53 AM
Whenever I try to open any VI in my project I get the project dependency dialog box.
However when I click on the close button I can see the project show a dependency for just a brief second and then it goes away and the VI loads as expected. The project itself does not show any conflicts to be resolved, so I cannot use the normal routes to fix the issue.
For reference I am using DQMH design framework
It is really annoying
03-21-2024 12:01 PM - edited 03-21-2024 12:03 PM
That is indeed a strange issue. I guess you can compare the lvproj file from before and after (assuming you save the project after it allegedly changed the dependency) and see exactly what went on. You should be able to compare it with the last committed project file since it is just xml.
Edit; I've seem similar things happen where the project complains about something changing, has the dirty dot, but after saving, turns out to be identical to the one in the repo.
03-21-2024 12:04 PM - edited 03-21-2024 12:10 PM
Yeah its really strange. I have saved the project multiple times, mass compiled everything and still get the error. I did a comparison of a saved project and after I tried to open a VI and got the dialog box. The two files were identical.
03-21-2024 12:10 PM - edited 03-21-2024 12:18 PM
Notepad++ has the "Compare" plugin to easily compare 2 text files.
Also, I personally wouldn't develop any project from the "LabVIEW Data" folder.
It is a special folder where LabVIEW usually loads plugins (shared with all LV versions), have you tried putting your project somewhere else?
Regards,
Raphaël.
03-21-2024 12:16 PM - edited 03-21-2024 12:36 PM
I do not develop from that folder. The project and all files files are save in a my documents folder. Good catch though because it definitely thinks that something is in that folder. Why I do not know.
No such folder in the LabVIEW Data folder
I have also done a files export and none of the files show the LabVIEW data directory.
03-21-2024 12:22 PM
03-21-2024 12:39 PM
Its possible but I cannot find it. There is no such directory in the LabVIEW data folder. See above. I was editing the reply as you relied back.
03-21-2024 12:42 PM
Unless it may have something to do with DQMH templates.
03-21-2024 01:12 PM
Do you have any Diagram Disable structures in the code the project loads? If so, maybe seeing if deleting all the disabled frames makes this stop happening.
Other than that, if you want to track down the cause, you could try re-creating your project and then gradually trimming it down. If you re-create the project and do not see the message, then it was probably some leftover cruft in your old project file. If it does show up, gradually start removing things from the project starting with the things with the most dependencies, and hopefully you'll eventually get rid of a folder or library and the message goes away, and then you can investigate what was just removed more closely to find the cause.
03-21-2024 02:08 PM
No Diagram disable functions that I can find. So I guess I will just have to recreate the project.