LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update 2d array is not working?

Dear all,
 
I have a 1d array read out from binary file, I want to fill the element of 1d array to a 2d array, but for some reason, my vi doesn't work. I retrieved a subset of my vi, please check the attached "update 2d array.vi". After I run this vi, I can see only the last element of the 2d array is updated, that is strange to me.
 
Thank you very much.
 
chenhc
0 Kudos
Message 1 of 3
(2,294 Views)
What you need are shift registers.  The code you have now will make changes on the value of the array first passed to it, rather than the array with the changes from the previous iteration.

I straightened out the wires a bit for clarity.


Message Edited by jasonhill on 07-11-2006 04:46 PM

0 Kudos
Message 2 of 3
(2,290 Views)
Thank you very much, jasonhill
0 Kudos
Message 3 of 3
(2,281 Views)