10-06-2006 01:07 PM
10-06-2006 01:10 PM
10-06-2006 01:37 PM
| Robst - CLD |
| Using LabVIEW since version 7.0 |
10-06-2006 01:55 PM
You can also use a functional global such as the one attached. You write a value to the functional global in one loop and read from it in the other loop. This is also good because it allows you to use other conditions for stopping the program, if desired.
Make sure that you write a value of false prior to starting your reader loop so that your second loop doesn't stop prematurely.
10-06-2006 03:10 PM
10-06-2006 03:37 PM - edited 10-06-2006 03:37 PM
Altenbach,
I didn't realize that you could have multiple event structures monitoring the same control. That's a good way to do it. I gave you some stars.
With regard to the latching problem, I have in the past made "latching" functional globals for this purpose, but this only works if there is only one reader (as soon as it's read it returns to False). To accomplish this all that is necessary is to send a False out the right shift register upon any read.
Message Edited by John Rich on 10-06-2006 03:38 PM
10-06-2006 04:46 PM