12-02-2005 09:18 AM
12-09-2005 12:39 PM
Hi Joe,
That doesn't look like a standard LabVIEW error log. Is that from a Dr. Watson error or something similar? Also, when you restart LabVIEW, does it give you any indication that something was wrong or that it shutdown prematurely the last time it ran. If so, you should have an option to contact NI and send the resulting error log.
Regards,
Chris J
12-09-2005 12:45 PM
Hey there Chris,
Thanks for the feedback. I didn't get any indication from LabVIEW about it crashing when I started back up again, so maybe it wasn't a LabVIEW error log at all. I actually managed to resolve the problem - apparently I didn't give the side communications thread enough time to notice the global had changed to "Quit", and when the main VI front panel closed (as I do manually) before the side process quit, it gave that error. Giving it time to quit first eliminated the problem.
If I run into the problem again ever, I'll look into the error message more and post again.
Cheers!
-Joe
12-09-2005 12:55 PM
12-09-2005 12:57 PM
Lynn,
Good idea! I'll consider putting that in the next time I do upgrades on this product. 🙂 Thanks for the tip.
-Joe
12-09-2005 01:45 PM
I actually had some similar problems with labview crashing on close... though I don't know what exactly was causing the problems I can tell you this much...
My original labview setup was using a bunch of globals as well as sending vars through wires into various subvi's when they were loaded. I changed the entire program so that instead of loading subVIs the regular way I am now using my "main menu" screen as a loader which uses VI server to process each subVI. I'm still using a sufficient amount of globals, though no wiring whatsoever. I've eliminated almost all wires from my program using VI server, and VI server allows me to decide when to close all of the VI refs. Because of using a loader screen with VI server, I know exactly when each and every bit is loaded in the various initialization sequences as well as closing sequences.
Now, labview doesn't crash.
I'm sure that's no help, but just something to consider and go "Wha?"
jonathan
Oh and switching the the VI Server loader method also increased the performance of my software 10 fold, no joke. (for imaging software thats AWESOME!)
12-09-2005 01:49 PM
Jonathan,
Interesting idea - I've been looking into a overall calling VI, for entirely different reasons I'm sure, but one of the issues I encountered was that I couldn't figure out how to the have the top-level calling VI not show it's front panel while I loaded and processed the others. Any suggestions?
(I suspect this is different to how "VI Server" works, but I don't have any experience with that, so I'm assuming they're similar for the moment).
-Joe