LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 7.1 freezes (remains unresponsive) when opening block diagrams

Solved!
Go to solution

While opening some bigger VIs (block diagram) LabVIEW hangs for a while and does not respond for several minutes. It turns to normal after several minutes and any kind of interaction with the block diagram in question makes it freeze again.

Did anyone have a similar problem? Is there a way to fix it?

 

Thanks.

0 Kudos
Message 1 of 5
(3,257 Views)

This has happened to me while using older equipment.  When that happens, open the block diagram and go make some coffee.  By the time you get back (5-10 mins), the block diagram is ready to go.

 

The main issue is RAM, you should have as much as possible.  It's very cheap these days.  Or it might be your video card; if it's onboard that might be your slowdown.  It might just be time to upgrade your computer.

 

If hardware isn't the issue, I am as lost as you.

0 Kudos
Message 2 of 5
(3,242 Views)
Solution
Accepted by topic author mgerceker

I have seen LV getting slow on older hardware when using nested clusters on a tab control. But this is on the front panel.

It could also be some large default data set (again FP). How big is the size of your vi (on disc).

 

One more thing to watch out would be the run arrow, if it is broken during the hang, it is due to a recompile. In this case mass compile could do some improvements.

 

Also monitor CPU usage and Memory consumtion with the task manager (or similar tools if not on win).

 

Do you have old HW or OS? Can you share a sample vi that is so slow? Any clues about bad coding (overlaping, nested structures) that could cause subsequent redrawing of the window?

 

Felix

0 Kudos
Message 3 of 5
(3,236 Views)

Felix covered most of the first things to check.

 

Also check for old non-existing devices in MAX if there are DAQ task controls on the FP and I believe thee is another setting for VISA.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(3,226 Views)

Here's the sysinfo.

 

OS Name    Microsoft Windows XP Professional   
Version    5.1.2600 Service Pack 3 Build 2600   
OS Manufacturer    Microsoft Corporation   
System Name    MG-LAPTOP   
System Manufacturer    Dell Inc.   
System Model    Precision M65   
System Type    X86-based PC   
Processor    x86 Family 6 Model 15 Stepping 6 GenuineIntel ~2327 Mhz   
BIOS Version/Date    Dell Inc. A10, 10/16/2008   
SMBIOS Version    2.4   
Windows Directory    C:\WINDOWS   
System Directory    C:\WINDOWS\system32   
Boot Device    \Device\HarddiskVolume2   
Locale    United States   
Hardware Abstraction Layer    Version = "5.1.2600.5512 (xpsp.080413-2111)"   
User Name    NEURO-KINETICS\MGerceker   
Time Zone    Eastern Daylight Time   
Total Physical Memory    4,096.00 MB   
Available Physical Memory    2.01 GB   
Total Virtual Memory    2.00 GB   
Available Virtual Memory    1.95 GB   
Page File Space    5.09 GB   
Page File    C:\pagefile.sys    

 

---

Recompiling the VI helped. Thank you for your help.

0 Kudos
Message 5 of 5
(3,192 Views)