LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loops in VI not executing

The I have a three timed loop structures in my VI.
 
Only one of them execute and the other two do not.
 
I can't seem to figure out why they do not.
 
I am attaching the VI
 
Any advice?
0 Kudos
Message 1 of 3
(2,817 Views)
The fact that your loops are timed loops has nothing to do with your problem.  You might find it helpful to run your VI with debugging enabled (the lightbulb on the toolbar) and watch what is happening.  Data dependency is preventing the top two loops from executing: they are waiting for for the bottom loop to finish because there are wires that takes data out of the bottom loop and bring it to the top loops.  There is no stop condition wired to the bottom loop, so it never finishes; there is never data available on the wires to the top two loops so they never run.
0 Kudos
Message 2 of 3
(2,806 Views)
Hi Auden,

I hope you are doing well today! nathand is absolutely right. You should also consider using local or global variables in your VI. More information about them can be found in the Help document.

Also, you should consider taking a LabVIEW course. It will definitely help create efficient programs. More information about courses can be found at Training and Certification.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 3
(2,790 Views)