LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I move data from one loop to another?

I am using LabVIEW to record and display data.  The problem that I have run into is that if I try to collect and display the data all in one loop data points are lost because the loop takes so long to execute.  I decided to break my program into two independent loops and the data is recorded at proper speeds, but now I cannot get the data out of the first loop and into the second loop.

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

Use a Queue

 

Look up LabVIEW Producer Consumer example.

Omar
0 Kudos
Message 2 of 3
(2,876 Views)

See my example for one method of how to setup the Queue which Omar suggested. You'll also see many other ways, most of which should be avoided until you get more experience.

 

Communicating Between Loops

Richard






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