LabVIEW Communications System Design Suite

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop two while loops in LabVIEW Communication with one stop button?

Solved!
Go to solution

Hi all,

Does anyone know how to stop two while loops in LabVIEW Communication with one stop button?

Thanks.

 

Best regards.

Olivia

0 Kudos
Message 1 of 4
(3,573 Views)
Solution
Accepted by yh10915

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 diagramDuplicate terminals created from right-click menu on block diagram

0 Kudos
Message 2 of 4
(3,539 Views)

Dear Adamarnesen,

 

Thanks a lot. It works very well for my system.

 

Best regards.

Olivia

0 Kudos
Message 3 of 4
(3,515 Views)

You also can use queuing. There is a simple example in the "learn" tab 🙂

0 Kudos
Message 4 of 4
(3,355 Views)