09-27-2012 07:11 PM
Hello;
sorry for my english
I have to stop a subvi from my main vi, the subvi contains a while loop and an event structure so I need to stop this loop while directly from my main vi I have tried global variable but it did not work
any help please or example !!!
Solved! Go to Solution.
09-27-2012 07:38 PM - edited 09-27-2012 08:24 PM
A global variable will work if the event completes regularly. If you actually want to fire an event, you need to use a signaling value porperty.
Can you attach the VI instead?
09-28-2012 01:41 AM - edited 09-28-2012 01:47 AM
How about something like this (see attached solution using a user event).
Explore the Dialog and User Interface --> Events Palette. To display the dynamic event terminals at the event structure just right-click it and select "Show dynamic event terminals".
09-28-2012 11:55 AM
@IYED wrote:
Hello;
sorry for my english
I have to stop a subvi from my main vi, the subvi contains a while loop and an event structure so I need to stop this loop while directly from my main vi I have tried global variable but it did not work
any help please or example !!!
If this is an example of how your code looks, I'd clean it up before the developer who has to work on it next hits you over the head with his LabVIEW Style Book. 😉
09-28-2012 02:46 PM
thank you very much