ad_dekkers Posted January 28, 2007 Report Share Posted January 28, 2007 I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! A work around is: open only the enum typedef, change and save it and after that open the big application. Quote Link to comment
Grampa_of_Oliva_n_Eden Posted January 28, 2007 Report Share Posted January 28, 2007 I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! A work around is: open only the enum typedef, change and save it and after that open the big application. LV 8.2? Ben Quote Link to comment
Jim Kring Posted January 28, 2007 Report Share Posted January 28, 2007 I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! It would be helpful to the process if you are able to post an example that demonstrates the bug so that it may be reproduced. Otherwise, it's a needle in a haystack and probably will never be fixed. Quote Link to comment
gleichman Posted January 29, 2007 Report Share Posted January 29, 2007 I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! A work around is: open only the enum typedef, change and save it and after that open the big application. I've had a similar problem with Type Defs embedded within Type Defs (LV 8.2). My solution is to open all related Type Defs and then make my changes. If I follow this procedure, LabVIEW does not crash. Quote Link to comment
i2dx Posted January 29, 2007 Report Share Posted January 29, 2007 I mentioned this behaviour some time ago here ... which reminds me on asking, what happend to my input to NI ... Quote Link to comment
Tomi Maila Posted January 29, 2007 Report Share Posted January 29, 2007 I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! Try to do the following. Make a backup of your project Remove half of the VIs and check if your project still crashes If your project still crashes, make a new backup of the modified project and return to point 2. If your project doesn't crash, return to previous backup and remove other half of the VIs. Go on the above cycle until you end up with absolute minimum number of files that still can generate the crash. You can still try to strip the project up a little bit further by removing stuff from the block diagrams of the remaining VIs. Then post that stripped up project to here and submit a bug report to NI with that stripped up project as an attachment. Quote Link to comment
i2dx Posted January 29, 2007 Report Share Posted January 29, 2007 Try to do the following. Make a backup of your project Remove half of the VIs and check if your project still crashes If your project still crashes, make a new backup of the modified project and return to point 2. If your project doesn't crash, return to previous backup and remove other half of the VIs. Go on the above cycle until you end up with absolute minimum number of files that still can generate the crash. You can still try to strip the project up a little bit further by removing stuff from the block diagrams of the remaining VIs. Then post that stripped up project to here and submit a bug report to NI with that stripped up project as an attachment. the project will crash, independent of the number of VIs. I reproduced this bug with 4 VIs. IMHO and as far as I tracked that down, there is a bug in the updating mechanism, which updates all VIs after the edit, when you confirm the "replace ?" - dialog. This bug seems only to concern CONSTANTS, and does not occur if you use only one instance of that typedef in one VI The service Request Nr. is 396436 (Nov 23. 2006) - as I mentioned above, I forgot to care about that and could not find any responses about this topic. Maybe this one needs a warm up and a CAR# ? Quote Link to comment
Donald Posted January 29, 2007 Report Share Posted January 29, 2007 Hello Ad, For me following approach works (on a fast PC). Load the main VI or a Vi Tree that contains your application's modules. If this fails (labview crashing during loading of VIs) -> try a mass compile of source code directory, and reload again Force a recompile all. (Shift + run arrow) BEFORE edittting the type defs. After the recompilation of everything, depending of your problem- it is possible to edit without crashing. Save all VIs or better (or if you use SCC) save all the VIs you've been editting. Good luck, Donald Quote Link to comment
Aristos Queue Posted January 29, 2007 Report Share Posted January 29, 2007 It would be helpful to the process if you are able to post an example that demonstrates the bug so that it may be reproduced. Otherwise, it's a needle in a haystack and probably will never be fixed. If you can't reduce the size of the application, AND you don't mind sharing the app with NI, please go ahead and file a bug report with NI tech support using all 2000+ VIs. We will investigate a crash like this even on a giant hierarchy. Somehow a rumor got started that we won't do investigations of deep VI hierarchies, so folks have been avoiding submitting them unless they can get the bug to reproduce under a smaller hierarchy. While we certainly appreciate the leg work of you doing the reduction, we have been lately encouraging people to go ahead and submit the bug. Sometimes -- particularly for a bug like a typedef update -- it is a matter of moments to identify the problem VI when a debugger is connected to LV at the time of the crash. Quote Link to comment
ad_dekkers Posted January 29, 2007 Author Report Share Posted January 29, 2007 the project will crash, independent of the number of VIs. I reproduced this bug with 4 VIs. IMHO and as far as I tracked that down, there is a bug in the updating mechanism, which updates all VIs after the edit, when you confirm the "replace ?" - dialog. This bug seems only to concern CONSTANTS, and does not occur if you use only one instance of that typedef in one VIThe service Request Nr. is 396436 (Nov 23. 2006) - as I mentioned above, I forgot to care about that and could not find any responses about this topic. Maybe this one needs a warm up and a CAR# ? Can you post this 4 vi's? For me following approach works (on a fast PC).Load the main VI or a Vi Tree that contains your application's modules. If this fails (labview crashing during loading of VIs) -> try a mass compile of source code directory, and reload again Force a recompile all. (Shift + run arrow) BEFORE edittting the type defs. After the recompilation of everything, depending of your problem- it is possible to edit without crashing. Save all VIs or better (or if you use SCC) save all the VIs you've been editting. Mass compiling doesn't help! Quote Link to comment
snooper Posted March 1, 2007 Report Share Posted March 1, 2007 I am experiencing the similair since LabVIEW 6i. In my opinion this is not VI or project related, it looks more like a memoryheap-problem.The problems occurs in the following situations: 1. If you create a strict. def from a enum and then put this into an array which is also an enum, then dray the constant out of the array and in 10% of the situations LabVIEW crashes (LV 8.0 or lower). 2. If you have a lot of VI's (indeed above 1000, thus large projects) and then start changing a strict def whithin another strict def. LabVIEW crashes somewhere during the update of the VI's. The solutions indeed is to change the stricttype def with no other VI's open. This mostly occurs when the typedef is a big cluster with other clusters inside. 3. Can someone at NI speed up the update process. Try placing a few hundred copies of a simple strict type def enum on a front panel and then change the enum values. A good moment for a lunch break It is annoying, but I learned to life with it. (It helps if your computer restart LabVIEW fast) Arnoud de Kuijper T&M Solutions BV Quote Link to comment
Aristos Queue Posted March 2, 2007 Report Share Posted March 2, 2007 QUOTE(ad_dekkers @ Jan 28 2007, 11:35 AM) I have an application with moe then 2000 vi's, when i want to update an enum typedef labview crashes! A work around is: open only the enum typedef, change and save it and after that open the big application. Please contact NI tech support and file a bug report. If you don't mind sharing the entire VI hierarchy. We do investigate crashes on these large hierarchies when customers are willing to share their VIs. What version of LV? Quote Link to comment
TG Posted March 4, 2007 Report Share Posted March 4, 2007 Snooper I totally agree with your observation " ...and then start changing a strict def whithin another strict def. LabVIEW crashes somewhere during the update of the VI's. The solutions indeed is to change the stricttype def with no other VI's open. This mostly occurs when the typedef is a big cluster with other clusters inside." That is the closest (in my failing memory) as one could get to the conditions that cause the crash. Ive had many (crashes) but my LV starts fast and Im not an analyist so I don't have the time to investigate myself/.. I think this could be implemented with as few as 10 VI"S Im sure NI is already on top of this one. IF not they should be. We paid em Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.