LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VIs seem disconnected from project

Some of my VIs seem disconnected from the project.  I am using LabVIEW 2018 and in most projects if I have VIs open and close the project, the VIs close also.  I am also asked to save some VIs only after I close the LabVIEW getting started window, not the project.

0 Kudos
Message 1 of 5
(2,354 Views)

I admit I haven't seen this before, so I can only guess.  I think that if you open a VI in a dependency from Windows Explorer, it won't close when you close the project that depends on it.  If it was recompiled, it will ask you to save the VI when exiting LV.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(2,336 Views)

I've not seen this, neither has Billko.  Why don't you find a Project that shows this (strange) behavior, compress its folder into a Zip file, and attach that file.  We'll take a look.  You might also mention the Version of LabVIEW (and whether you are using 32-bit or 64-bit LabVIEW).  Something sounds "wrong" (it may be something you are doing ...).

 

Bob Schor

0 Kudos
Message 3 of 5
(2,280 Views)

If you open some VIs Before opening a Project file, they'll be handled outside of the Project. Then you'll see this behaviour.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(2,257 Views)

I've had this happen many times.  Never really dug into it.  What's happening is that after you close the project something is still in memory that depends on some VIs in the project and thus holds them in memory.

This tends to happen more often when VIs in the project use XControls.

Also, if you've copied any LabVIEW code to the clipboard, all the dependencies of whatever is in the clipboard are held in memory (you can clear that by just copying some non-LabVIEW item to the clipboard).

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 5
(2,244 Views)