QUOTE (Gerod @ Aug 1 2008, 11:46 AM)
Gerod -- This may be way off base but, have you tried calling the decontructor method for your object at the end of your program? i.e. d.del() ? Try that? It appears that the guy who wrote the LabPython may not be properly cleaning up after execution and exit, I don't think its a Labview issue per say, as much as it is a LabPython issue.
Also, try to comment out the instantiation line before you execute a second time (comment the d = canvas.Canvas line) and see if that works.. The object may already be there? If these suggestions don't work, I'll install LabPython tonight after work, and give it a shot locally.
-src
QUOTE (Gerod @ Aug 1 2008, 11:46 AM)
This is the vi i run (once) to call the script.
No loop, no run continuously, only click twice the arrow. I forgot. I tried also to add p=None at the end of the script but without success.
The only way to run twice is to close LabVIEW completely and load again the vi, these suggests me that there is some resource reserved by LV.
Gerod -- This may be way off base but, have you tried calling the decontructor method for your object at the end of your program? i.e. d.del() ? Try that? It appears that the guy who wrote the LabPython may not be properly cleaning up after execution and exit, I don't think its a Labview issue per say, as much as it is a LabPython issue.
Also, try to comment out the instantiation line before you execute a second time (comment the d = canvas.Canvas line) and see if that works.. The object may already be there? If these suggestions don't work, I'll install LabPython tonight after work, and give it a shot locally.
-src