Showing results for 
Search instead for 
Did you mean: 

Strange Behaviour of VI as well as Exe

Go to solution
Attached example shows strange behavior i.e. sometime works but sometime doesn't.
LabVIEW Ver. 8.2.1
Win XP Service Pack2
Any comment would be appreciable.
0 Kudos
Message 1 of 3
Accepted by topic author I_I
I am amazed it even ever works...
The following code will get you into trouble:

Instead of Close you should set the state (with a property node) to hidden, and after running the sub-vi set the FP to Standard.
Instead of opening a reference with the path node you should use 'this vi' in the application control palette.
The reason your exe fails is quite simple, for a very short time there is no front panel open. Without any front panel open the executable will terminate itself.


Message Edited by TonP on 07-22-2008 07:36 AM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
This makes sense. Thank you.
0 Kudos
Message 3 of 3