06-04-2008 09:34 AM
06-04-2008 10:05 AM
06-04-2008 10:19 AM
06-04-2008 10:23 AM - edited 06-04-2008 10:23 AM
a local variable set to read a pointless indicator is the simplest way, but it has no other functionality. you should look into queues or notifiers for some more robust methods.
06-04-2008 10:31 AM
06-04-2008 10:47 AM
JeffOverton wrote:
you should look into queues or notifiers for some more robust methods.
06-05-2008 02:10 PM
Okay guys,
I took your advice and looked into the notifier and queues solution because I am all about robustified designs. I just would like to know if I am thinking correctly.
I have two loops one that is operating alittle faster than the other. The one that is faster (the secondary) is the loop being notified and the slower one (primary) is the one that is sending the notification. I figured notifiers would be better because when I run a vi in a subpanel (secondary loop) my loop stops, which would load up the queue and when I actually stop, there will be a huge delay before the secondary stops. Is this what you guys were thinking? It seems to work good this way but is there something I may have missed here?
Thanks
Chris
06-05-2008 02:20 PM
06-05-2008 02:34 PM
Using notifiers is a better way to go than Locals... If it doesn't send data other than "Stop", then it is better than the queue. As Jeff suggested, you can also pass the reference to sub-vi's which can make control over what should stop and when, more robust. 🙂
RayR