Showing results for 
Search instead for 
Did you mean: 

problem feeding multiple analog physical channels into while loop

Go to solution


I am reading multiple analog physical channels through DAQ Assistant.

when I split the signal and feed the values to a time loop, they don't update to the current value?

Why is this a problem. The values cannot come out of the while loop. (used probe to check this). How do i achieve the task.

0 Kudos
Message 1 of 5

I don't believe you've taken any LabVIEW tutorials.  I highly recommend you do.
LabVIEW Introduction Course - Three Hours
Learn LabVIEW


You missed the concept of data flow.  Data only flows out of a structure or node when all the code inside of it is finished.  Your loop never finishes because it is an infinite while loop.  Also, the corollary is that a structure or can't begin execution until it has received all of its inputs.

0 Kudos
Message 2 of 5
Accepted by topic author siril01
06-20-2019 07:44 AM


I have solved the problem using QUEUE function.

Thank You.

0 Kudos
Message 3 of 5

I'm every curious to see how you went from the code in your first post to using queues in a span of 1.5 hours.

(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 4 of 5

I just looked up some examples. Seems its pretty easy.

0 Kudos
Message 5 of 5