LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search for text in main VI crashes labview

I'm using Labview 8.6 under Windows Vista Business.  I'll update to Labview 2009 once I finish the current project.  While working on the current project, when I do a text search in the main vi, the Labview environment crashes without error and without warning.  When restart, it recovers any unsaved VIs, but the same problem occurs.  Rebooting the PC doesn't help.   If I go back far enough in my archives, I can get around this error, but I'll lose a week of work.  Since there is no warning or error message, I don't have any way to trouble shoot the bug.  I've looked under theLavVIEW Data/lvfailurelog folder, but no new log file is generated.

 


0 Kudos
Message 1 of 8
(3,674 Views)
It's possible it's an 8.6 bug, but it's also possible you may have a corruption in your VI. Try forcing a recompile by holding down the control key on your keyboard and pressing the run button in the toolbar. You can also try posting the VI to see if anyone else can reproduce the problem.
0 Kudos
Message 2 of 8
(3,663 Views)

>It's possible it's an 8.6 bug, but it's also possible you may have a corruption in your VI.

>Try forcing a recompile by holding down the control key on your keyboard and pressing

>the run button in the toolbar. You can also try posting the VI to see if anyone else can reproduce the problem.

 

Thanks for the suggestion. Recompiling doesn't make any difference.  If I open the Main.vi outside of my project, it has the same problem, so it must be within that VI.That VI uses a ton of classes and a number of customer control types, so I doubt that anyone could open just that VI without the rest.  I know a local NI rep pretty well...I'll check with him on Monday.

 

I ran VI analyzer and found a number of items, none of which justifies crashing the Labview environment, particularlly without an error message.  I can attempt to fix all of the items found, but I don't have any guarantee that it will fix the problem, since I don't know what is causing it in the first place.  If this is a known issue, that would help to narrow down the fix.

 

 

 

0 Kudos
Message 3 of 8
(3,655 Views)

Hello PointOnePa,

 

Is it possible to have you post the crash log? If possible, I'd like to see if I can replicate the issue in LabVIEW2009.

Andy Chang
National Instruments
0 Kudos
Message 4 of 8
(3,640 Views)

>Is it possible to have you post the crash log?

>If possible, I'd like to see if I can replicate the issue in LabVIEW2009.

 

I can't post what I don't have...no log files are/were generated due to this error. It just crashes hard.

 

Two weeks ago when I was having this problem and I had just received LabVIEW2009, I decided to install LabVIEW2009 to see if it would fix the problem.  After a 90 minute installation time, I found that LabVIEW2009 would not load my LabVIEW 8.6 project without complaining about missing VI's.  Not wanting to wrestle with THAT issue, I then spent another 90 minutes UNinstalling LabVIEW2009.  I was dispointed at having spend 3 hours to say the least.

 

 

0 Kudos
Message 5 of 8
(3,638 Views)

Hello PointOnePa,

 

When you restart LabVIEW, it should ask you if you would like to investigate the error and will generate a crash log. As for loading your LabVIEW 8.6 project in 2009, did you have modules/toolkits installed for 8.6 and used in your project?

 

Does it crash LabVIEW when you have a blank VI and do the text search as well? If so, I would suggest to do a repair for LabVIEW 8.6

Andy Chang
National Instruments
0 Kudos
Message 6 of 8
(3,625 Views)

I'm just trying to understand the issue.

Did you get this problem prior to installing LV2009?

 

Have you (or someone) open your VI on a different machine with LV8.6, where LV2009 has naver been installed?

 

I've learned (ever again recently) that it is important to do a full disk backup before installing new applications.  Restoring a backup does a much cleaner job and allows you to have a coffee (or tea) while the PC gets back to it's initial state. 

 

It seems that as we evolve technically, the software quality seems to digress. The statement is general in nature and does not point to a particular software product or company.  

0 Kudos
Message 7 of 8
(3,620 Views)

>When you restart LabVIEW, it should ask you if you would like to investigate the error and will generate a crash log.

 

   It did not.

 

>As for loading your LabVIEW 8.6 project in 2009, did you have modules/toolkits installed for 8.6 and used in your project?

 

  I have a  Developer's Suite license and I install those options.

 

>Does it crash LabVIEW when you have a blank VI and do the text search as well?

> If so, I would suggest to do a repair for LabVIEW 8.6

 

  I didn't try that, but I believe I have resolved the problem.

  I used the VI analyzer, (no longer a free addition to labview), and then attempted to fix as many issues as it could find.  I believe the root cause had to do with a custom control that contained a cluster that did not have automatic resizing set on it and some of the controls were outside of the bounds of the cluster.  I don't know why that could cause a problem, but its the best candidate that I could find without digging into it further.

 

 

0 Kudos
Message 8 of 8
(3,607 Views)