08-08-2017 06:36 AM
Hi all,
Does anyone know how to stop two while loops in LabVIEW Communication with one stop button?
Thanks.
Best regards.
Olivia
Solved! Go to Solution.
08-08-2017 01:33 PM
If you're using Communications 2.0 you can use a duplicate terminal in the second loop. I attached a project that shows an example of this.
To get a duplicate terminal you'll need to use a non-latched control (ex. a switch). Drop the accessor for that control on the block diagram, right click and create duplicate. You can now wire that to two stop conditions as shown below.
Code for this VI is attached.
Duplicate terminals created from right-click menu on block diagram
08-10-2017 07:46 AM
Dear Adamarnesen,
Thanks a lot. It works very well for my system.
Best regards.
Olivia
10-10-2017 05:00 AM
You also can use queuing. There is a simple example in the "learn" tab 🙂