PJM_labview Posted October 19, 2005 Report Share Posted October 19, 2005 The Bug (Abort VI Method Will Generate VI Mouse Events) is still present in Labview 8.0 :thumbdown: Here is a description of the Bug: I have a main VI that start a spawn which mission is to execute code after a some delay :clock: (ex:2s). The spawn is start when the "VI:Mouse leave" is triggered. Now, if the user re enter the VI before the delay :clock: expire (ex: before 2s has elapsed), I do no longer wish to execute the code, so I kill my spawn using VI:Abort.VI method. As long as I do not kill my spawn, everything work like a charm, but as soon as I kill my spawn, "VI:Mouse leave" and "VI:Mouse enter" events are generated (?!?!!?) :thumbdown: and I am entering an infinite loop because in "VI:Mouse leave" I generate the spawn and in "VI:Mouse enter" I kill it which generate VI:Mouse leave .... If someone could confirm this (or even better prove me wrong) that will be great. System: Win2k with LV7.0 Attached is some code that will demonstrate the issue Attached File(s) Abort_VI_Bug_Demonstration.zip ( 23.35k ) PJM 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.