LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't open vi.

Hi,

 

I'm trying to open the main vi in a project and Labview immediately crashes. I restart Labview and try to open a sub-vi. They all open except one which causes Labview to immediately crash. I'm opening vi's developed with version 8.6 with Labview 2010. It worked fine using version 8.6 years ago.

I'm fairly new to Labview but I'm guessing this sub-vi has a problem with Labview 2010 and is causing the main to crash when I open it. I'm not sure what's in this vi other than it calls other sub-vi's for common processes. How do I diagnose and correct this problem?

Thanks!

0 Kudos
Message 1 of 7
(4,289 Views)

Hi Shok,

 

maybe you should attach the VI so others may investigate the problem?

Best regards,
GerdW


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

One possibility is that the main VI is probably set to run when opened, and that something the main VI is doing is causing a crash. Perhaps it's related to some hardware control. Try placing the main VI on the block diagram of a new VI and then double click the main VI's icon from the new block diagram. The VI should open but not run. If it doesn't crash then that's the problem. You'd need to see what the VI is doing when it starts up that's causing the crash.

Message 3 of 7
(4,263 Views)

Good idea! I was able to put the main vi in a new vi. I was able to open the main vi. If I try to save the new vi or save the main vi it crashes. In the main vi if I try to open the suspect sub-vi Labview crashes.

 

I tried again but I placed the suspect sub-vi in the new vi. I cannot add the sub-vi it crashes. It seems that if Labview 2010 does anything with this suspect sub-vi it crashes. Is there a fault log or another way to investigate this problem?

Thanks!

0 Kudos
Message 4 of 7
(4,257 Views)

As it was suggested, attach the problem VI so we can see if we have problems opening it.  Then we can narrow down if it is truly a problem with the VI, or something particular about your PC causing the problem.

0 Kudos
Message 5 of 7
(4,232 Views)

What I figured out is that the "Insert Into Array" function from version 8.6 is not compatible with Labview2010. I was able to open it with Labview2009 and delete the functions and save it which enabled me to open it with Labview2010.

 

Thanks!

0 Kudos
Message 6 of 7
(4,203 Views)

@Shok wrote:

What I figured out is that the "Insert Into Array" function from version 8.6 is not compatible with Labview2010.


This makes no sense. That function is perfectly compatible with LabVIEW 2010. I suspect you may have had a small corruption in your VI and once you deleted the function the recompilation "cleared it up".

0 Kudos
Message 7 of 7
(4,198 Views)