LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview crash when opening a certain vi

Solved!
Go to solution

Dear all,

 

I got a serious problem about Labview.

Labview crashed when I was programming a vi just now. The last operation before it crashed is copying a In Place Element Structure by pressing Ctrl+left click.

After that, Labview will always crash once I open this vi.

 

Would you have any suggestion to solve it?

 

Thank you!

Download All
0 Kudos
Message 1 of 8
(2,822 Views)

Hi jhuang,

 

it crashes for me, too.

But well, no problem: simply pull an older version from your SCC tool. Or get a copy from your backup.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(2,799 Views)

thank you for your kindly reply.

 

But I wonder which is SCC tool or where I can find this tool in my computer?

In addition, where to get the copy? I

0 Kudos
Message 3 of 8
(2,797 Views)

Hi jhuang,

 

But I wonder which is SCC tool or where I can find this tool in my computer?

I don't know where you will find that on your computer.

SCC means Source Code Control, like (Tortoise)SVN or GIT. You need to have that installed AND in use before you start programming and ofcourse you need to commit your source code regularly…

 

In addition, where to get the copy?

From your backups. You made backups from your source code, in case you don't use any SCC tool?

 

When you don't use a SCC tool and even "forgot" to create backups of your work then you have learned a very valuable lesson today: Create safe backups of important/critical/expensive software/source code/data!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 8
(2,795 Views)

I think it might be salvable.

 

The VI still loads, but showing it is problematic. The crash report mentions:

Insane object at BDHP+1B8927D0, UID 6348, in "data graph main.vi": {dupe } (0x100): List (LIST)

 

If I click on that item in the heap peek, I do get the diagram, and a broken wire on the IPS. However, deleting it crashes LV.

 

I'll give it a few tries...

 

How much work will you loose? Obviously you have some backup mechanism going on:

C:\YJ\0-Program\SMZ\LabTest SMZ - backup\code\sub VI\data - graph\data graph main.vi

 

EDIT: Never mind. I can see the diagram, but any change to it, manually or with scripting, will crash LV. Even opening a reference to the diagram will crash... I wander if the messed up wire table of the IPS is the real problem, as the crash is fpsane, suggesting a front panel problem...

0 Kudos
Message 5 of 8
(2,773 Views)
Solution
Accepted by topic author jhuangy4

Fixed it!

Spoiler
Opening with Open VI Reference still worked.

That corrupt list is connected to a terminal, with UID=31578. Deleting the connected wire solved the problem!

Fix Corrupted Terminal Wire.png
Message 6 of 8
(2,763 Views)

Dear wiebe,

 

Thank you sosososo... much~~

 

The last operation that I did just befor Labview crashed was copying a In Place Element Structure in the "RClickGraph" branch of the Case Structure.

 

Hope this infomation is halpful to you. 

0 Kudos
Message 7 of 8
(2,760 Views)

@jhuangy4 wrote:

Dear wiebe,

 

Thank you sosososo... much~~


Cheers!

 

Get that SCC in place, it will make your life so much easier Smiley Wink.

0 Kudos
Message 8 of 8
(2,753 Views)