11-23-2023 09:19 AM
I was working in a VI from a project. It has many sub vis. When i was editing it got frozen and close itself. When I tried to open again labview got frozen and didn't open the project. Is there a solution for that? Addittionally when I was working on the project and I saved changes labview got frozen by 3 minutes but after that it works correctly
11-23-2023 10:27 AM
11-23-2023 10:33 AM
I've waited for a hour but the vi doesn't open
All the vis are saved locally
Yes, i've check and nothing. I'm using a SSD
And I'm using labview 2021 f2 64 bits
Adittionally I've check the task manager and labview is using almost 22 ram gb to open the file.
The vi has a size of 4207 kb
11-23-2023 10:41 AM - edited 11-23-2023 10:43 AM
That's gigantic. Do you know where all that bulk comes from? (e.g. graphs, array controls, diagram constant with huge default data? Huge background images?) Inside the VI file this is stored compressed, but must uncompress when opened, so the file size is not a good indicator of the real size. Is this a huge toplevel VI or just a subVI? How big is the diagram?
Do you "separate compiled code" or is the compiled code inside the VI file? Maybe there is something corrupt in the external code cache.
Could it be that it actually opens, but in an offscreen location? Are there any progress dialogs that get stuck?
11-23-2023 10:44 AM
How are the VIs and other components (TypeDefs, etc.) organized on your PC? Do you have a single folder that contains the Project file (??.lvproj) and all of the other components of the Project (possibly within sub-folders inside the "Project Folder"? Are you making use of external libraries downloaded from, say, VIPM (and that reside "somewhere" on your C: drive, but known to your LabVIEW installation)?
What version of LabVIEW are you using? Tell us Year and "Bit setting". Can you make an estimate of the number of VIs + TypeDefs (or other .ctl files) are in your Project ("many" can mean "around 100" or "more than 2000")? Are you using LVOOP?
I have "survived" similar issues (usually brought about from failing to keep my developing code "committed" to my Version Control System + "carelessness" on my part when moving VIs around on disk). In several of the cases, the problem was resolved by deleting, and then re-creating, the Project file. We might have more specific suggestions for you if you can provide more specific descriptions of your LabVIEW environment and the specific Project that is causing you problems.
Bob Schor
11-23-2023 01:55 PM
I'm not sure about what is generating the size. I'm working with 2d boolean arrays and cluster with 20 attributtes of strings, arrays and numbers.
About the compiled code, i think it's inside the vi file because i have no idea about that.
The file doesn't oppen, there is no progress indicators. When i open the file from the project the project window got frozen and there is no additional windows
11-23-2023 02:00 PM
I have a folder for sub vis and other for type defs. I'm not using external librariesm only dqmh.
The version that i'm using is the following
Aproximately I'm using 70 VIs and Type defs. I'm not using LVOOP, only DQMH without additional objects.
I had to get back to a specific commit nut actially i'm working to rework this vi to reduce the size