LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview crashes with intensity chart

Solved!
Go to solution

Twice this morning, LV2010 has hung ("program is not repsonding") when I have tried to reposition an intesity chart on my front panel.  In one case I copied the chart from a NI example program into my VI.  When I tried to reposition the chart on my front panael, LV stopped responding.  Same thing happened when I tried again; the second time, I got the intensity chart from the charts and graphs palette.  I have LV 2010, version 10.0f2, and windows XP.  Thanks.

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

Post your VI and provide steps to reproduce.

0 Kudos
Message 2 of 5
(2,683 Views)
Solution
Accepted by WCR

Hi there!

 

The following KnowledgeBase explains why this might be happening.

http://digital.ni.com/public.nsf/allkb/9A8FB888BFCED9658625721500434A31

 

Basically, that chart might be holding a lot of data, and when you move it, LabVIEW has to rearrange all that information in RAM as you move the chart. You can either write smaller data, or save all that data in an array separate from the chart at the end of execution so you can save it. If you want to view it in a chart later, just input it back into a chart.

Ravi A.
National Instruments | Applications Engineer
Message 3 of 5
(2,664 Views)

Thank you.  I experienced a similar error under similar circumstances, on a different computer.  In that case, I got an error message. 

An NI engineer says:

"I did a bit of research on this issue and the problem you are experiencing is related to LabVIEW itself and not your code. The error is related to the drawmgr.cpp script that is used to draw objects on the block diagram. There has been a bug report filed for LabVIEW 2010 under Corrective Action Request #254388. The good news is that this bug was fixed in LabVIEW SP1. You can download this service pack."

 

0 Kudos
Message 4 of 5
(2,648 Views)

Excellent. Did updating to SP1 fix this similar issue and the original one you detailed? Redrawing elements on the front panel can be quite CPU-intensive, so if you're ever setting up a system that automatically does a lot of redraws on the front panel and you're getting a whole lot of CPU usage you want to avoid, then if there isn't some kind of service pack update to it, then one go-to move is to try and reduce how often you do a redraw. Hopefully your issue got resolved. 🙂

Ravi A.
National Instruments | Applications Engineer
Message 5 of 5
(2,615 Views)