LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multi-rate while loop to pick up local variables array data?

Dear Friends:
i am trying to use two while loop with different rate to update my data.
the first while loop is to generate an array (0,0,1,2,3,,4,5,6,7,8,910) by waiting 100 ms per data, i want to set this array as local varible.
using the second while loop is to pick up the array data. by waiting 200 ms per data is to pick up (0,1,3 5 7 9).
however, i can not make it.
could any one help me to sort out this problem?
please read the vi.
by the way, i do not want use time loop.
cheers
dan
0 Kudos
Message 1 of 2
(2,508 Views)
Your lower loop is simply indexing the upper loop in single increments (index 0, 1, ... n)

I'm guessing you want every other index, so insert a multiplier (x2) into the lower loop indexing wire.

LV 7.1 attached


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 2
(2,503 Views)