LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview is not responding when I open a specific VI

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

0 Kudos
Message 1 of 7
(797 Views)
  • How long did you wait?
  • Are all VIs saved locally or are some located on a network resource?
  • Did you check your HD for errors?
  • What is your LabVIEW version?
0 Kudos
Message 2 of 7
(774 Views)

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

0 Kudos
Message 3 of 7
(767 Views)

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?

0 Kudos
Message 4 of 7
(758 Views)

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

0 Kudos
Message 5 of 7
(753 Views)

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

0 Kudos
Message 6 of 7
(696 Views)

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

Alfredo_VM_0-1700769500840.png

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

0 Kudos
Message 7 of 7
(693 Views)