LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking while loops

Hello,

 

is it possible to link while loops

 

ie. if i had two separate while x1 and x2 loops

when the start button is pushed only x1 starts.  

is it possible when a condition is met (true) in x1 then x1 stops and x2 starts?

 

or is there a equivalant solution that is normally used in this case?

 

Thanks

0 Kudos
Message 1 of 3
(2,587 Views)

Yes. Just run a wire from inside the first loop to the second loop. LabView will wait until the first loop is complete before executing the second.

 

 

 

0 Kudos
Message 2 of 3
(2,577 Views)

Steven,

 

If you are going to embed an image in your message, you can't do it while in preview mode.  That just points the image to a temporary location on the NI webserver.  You must attach the image file then submit the message.  Then the message and thus the image will have a permanent ID number and location on the server.  Then you use that path (found by right-clicking and selecting properties on the attachment in the now posted message) by going back in, editing the message and inserting the image with the link to the permanent location.

 

Here is that image.

0 Kudos
Message 3 of 3
(2,561 Views)