LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in "replace array subset"

Dear all,

After I initilized an array, I want to use a for loop to give my data to the array, However,  only  the last row of the original array  was replaced,
I don't know understand why the first, second , third row was not replaced.   Anybody can help me? thanks a lot!

It is LabView 7.1.

Message Edited by hbin on 03-17-2006 08:41 PM

0 Kudos
Message 1 of 4
(2,215 Views)

Hello,

          would you help to save your sample to labVIEW7.0 ? that I can help to view it.

________________________________________________________


Try to make everything Automatic
0 Kudos
Message 2 of 4
(2,207 Views)

You need to use a shift register. 🙂

Do some execution highlighting and you will see that with each iteration of the big loop you'll start out with the virgin array from the input tunnel on the top.

A shift register uses the array modified from the previous iteration. See if this makes sense to you.

Message 3 of 4
(2,203 Views)
Altenbach, thank you so muchSmiley Very Happy
0 Kudos
Message 4 of 4
(2,199 Views)