LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what ´s way of using this loop tunnel ?

I was wondering what is the purpose of this  loop tunnel

 

Captura.JPG

 

 

and this unwired loop tunnel in the program.

 

 

 

Captura1.JPG

 

 

I need to know because I´m adding some basic features to this labview program.

 

Thanks in advance.

0 Kudos
Message 1 of 8
(3,196 Views)

...

0 Kudos
Message 2 of 8
(3,186 Views)

The first one can be used as a way to determine execution flow as the While loop must finish before the For loop start, although it'd be better to wire an error wire to the for loop, or move '1' inside the while loop instead.

 

The 2nd one has no function.

 

From the picture i'd say keep the function 'Anal Enter' and start over with the rest. 😄

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 8
(3,184 Views)

The upper one forces the for loop to run after the while loop by data flow.  The data need not be used but the connection forces the order of execution.  Of course there may be other connections not shown in your image.

 

Lynn

0 Kudos
Message 4 of 8
(3,182 Views)

Given the state of the code it is quite possible the 'a' is wired to something in the second loop and the wire is "hidden". I agree with the early statement that this is a prime example of code in need of a re-write. I can't imagine how bad the entire block diagram would be.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 5 of 8
(3,171 Views)

Silly, but fun. 😄

SillyFunctions.png

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 8
(3,156 Views)

I'd recommend not trying to re-write this program unless it doesn't work or you have a really compelling reason.

 

http://www.joelonsoftware.com/articles/fog0000000069.html

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 7 of 8
(3,131 Views)

Well i agree, rewriting is often costly, but some cleaning up and modularizing is quite helpful for future modifications.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 8
(3,101 Views)