11-07-2005 02:33 AM
11-07-2005 02:42 AM
Hi asaf
In your subvi's while loop (which contains the event structure) you wired a true constant to the condition terminal. Just wire the result of the stop button to the terminal (as you did in your main vi).
Hope this helps.
Thomas
11-07-2005 02:52 AM
Hi thomas,
That's what i did in the first time but when i do it it stuck the LABVIEW.
Here is the new vi .
Asaf
11-07-2005 02:56 AM
11-07-2005 03:30 AM
Hi Tomas,
Did you run it as a sub-vi or a vi.
if i run it as stand-alone i also have no problem , but when i call it from the second vi (CTM-Config) than the problem occurs.
Asaf
11-07-2005 05:57 AM
I always ran from CTM-Config and had no problems.
Did you check the loop that checks the path? This may cause problems if you don't enter a value and want to stop the subvi.
11-07-2005 06:04 AM
Hi Tomas,
I don't understand why it can cause a problem ,the vi is waiting for events and if it gets the STOP - change value event it needs to "do"
the event and to stop/close the vi (sub-vi).
Any way even if i don't push the button before selecting the file (only after the file has been selected) i don't succed in returnning to the main vi.(CTM-Config)
by the way how did you manage to return if i did not send you the file ?
can there be any other reason (maybe configuration of the LAB-VIEW or something else ?
I am working on an evaluation demo 7.0
Asaf
11-07-2005 06:20 AM