LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 8.2 crashes on opening a specific VI

Hi all - I really hope you can help me on this, because this problem is rather bizarre.
 
I have a VI that opens fine and runs fine. It's a rather massive VI, with upward of 30 subVIs.
 
If I open the VI, save it (even without making any changes!), close it, and then repeat that process a few times, on average about the 4th time I try to open it, LabView cannot display it; my CPU usage jumps to 50% (corresponding, I think, to maxing out one of the two CPUs), and Labview becomes unresponsive (and the front panel never shows up, and I can't ctrl-E into the block diagram).
 
This, of course, makes it rather difficult for me to edit the VI.
 
It seems like the file is corrupt, or something of the sort, so what I really need is some kind of workaround on making a not-corrupt copy, because re-writing it would be a huge pain.
 
Thanks,
 
Natalia
 
P.S I'm not sure if posting the VI would do any good, since so much of it is various subVIs. I am also quite certain that there is not anything wrong with the code.
0 Kudos
Message 1 of 6
(2,666 Views)

Are you able to open the VI?

If so, select the entire Block Diagram and copy everything into a blank, new VI.  See if that helps...

Strange things do happen.  In the past, there were bizzare "insane objects" which were resolved by copying the block diagram into a new blan vi.  Saving it, and everything was fine afterwards..

Let us know how it goes.

RayR

0 Kudos
Message 2 of 6
(2,664 Views)

Thank you for reply -

I can open the VI - but what happens now is that, when I copy the block diagram over, the front panel remains completely blank.

...Help!

0 Kudos
Message 3 of 6
(2,629 Views)

Blank?

Did you copy from LV8.2 to LV8.2? 

Blank??  Humm...  You do have controls & indicators in the code, right?  If it FP is blank, that sounds as if it copied the contents as an image (picture) and not code.. which usually happens if you try to paste into a different version of LV (older version?). 

Now I'm curious..  Can you select and move objects on the block diagram?  or does selecting something end up selecting everything you pasted?

Copying from one BD to another within the same version will preserve all FP objects that appear on the BD... So things like FP decorations will not be copied..

RayR

0 Kudos
Message 4 of 6
(2,618 Views)

Yes, I copied from 8.2 to 8.2. There are plenty controls and indicators in the code, and yes, after I've copied the Block Diagram over I can move stuff around, make changes, etc, as well as add new controls on the Front Panel.

If I try to locate a control by double-clicking on it in the Block Diagram, it takes me to a completely blank spot on the Front Panel.

 

...Whoa! I just tried copying again on a whim and it worked this time. But I didn't do anything differently. I guess this resolves the problem, but this is so weird.

Thanks for your help - I'd appreciate to hear from you if you have other ideas.

-Natalia

0 Kudos
Message 5 of 6
(2,616 Views)

That was quite strange indeed.

How is everything after the final copy/paste?  If everything is okay, then I would simply continue with this copy.  make sure you keep a backup of your work.

Strange things happen to everybody...  And usually the eve of a presentation to a client or boss..  😞 😮

Glad to read that the second attempt was better. 🙂

RayR

0 Kudos
Message 6 of 6
(2,601 Views)