03-18-2011 08:37 AM
Hello,
I have an old and dirty VI that runs automatically when opened. I cannot see the block diagram because when I stop it, LabVIEW shuts down. There is probably that 'evil' function Stop LabVIEW at the end.
Is there a way to avoid that behavior?
The VI was written a while back in LabVIEW 7.0.
Thanks for the help!
Vincent
Solved! Go to Solution.
03-18-2011 08:42 AM
Drag it into a the BD of another VI and double click it from there or...
Find one of the VIS it calls and break it first or
There may be other ways...
Ben
03-18-2011 08:50 AM
It work!
I dragged it in anoother VI BD and opened it from there... I really can't think of a worst way to shut down a VI... It should be illegal!
Thanks!
Vincent
03-18-2011 09:06 AM
Well, some people think that the GOTO statement was evil and should be illegal. Some think that C pointers are evil and should be illegal. Some think that local variables are evil and should be illegal. Some think that sequences are evil and should be illegal. ....
Me? I think that "reality shows" are evil and should be illegal. Who's with me?
03-18-2011 10:25 AM
I'm with you 110%
I barely have enough time for my own life let alone watching some elses ahem life. I think Plato's Socrates would have thought similarly and advocated outlawing artist in general. I think it was book X of THe Republic or there abouts.
Ben
03-18-2011 11:26 AM - edited 03-18-2011 11:27 AM
One other possible trick to stop the vi without it exiting might be, on Windows machines, to do a "Ctrl ." (holding the CTRL control key while pressing the "period" key)
Not sure there was a "Book X", don't think the Greeks used Roman numerals! 😉
03-18-2011 11:30 AM
Nice, didn't know the "Ctl" trick... I will remember this one for sure!
Thanks!
03-18-2011 11:37 AM
Brace yourself... Its all Greek to me.
Socrates (Plato) focuses on Poets (They wrote the scripts) saying;
"
But worst of all, poetry weakens the mind by leading us to sympathise too deeply with the afflictions of others, and thus rendering us unfit to bear up under our own troubles.
"
Ben
03-18-2011 12:13 PM
@vgravel wrote:
Nice, didn't know the "Ctl" trick... I will remember this one for sure!
Thanks!
It's all in the Quick Reference Guide.
03-18-2011 12:59 PM
@LV_Pro wrote:
One other possible trick to stop the vi without it exiting might be, on Windows machines, to do a "Ctrl ." (holding the CTRL control key while pressing the "period" key)
Not sure there was a "Book X", don't think the Greeks used Roman numerals! 😉
I have actually seen cases where this doesn't work. Most of the time it happens when in a producer/consumer architecture where the exit logic is not correct and the loop with the event structure exits and the consumer is waiting for something to happen. I was aware of the "Ctrl ." abort but have been forced to kill LabVIEW because the abort wasn't processed.