03-26-2007 01:00 PM
Dear Labview gurus,
I wish to concatenate N 1 Dimensional arrays of the same size to form a 2D array which I then wish to display as an intensity chart. I’m trying to do this by initialising an array using the two sizes I need and then by replacing the contents with the Replace function. Thing is, because the of the location of the initialize function, I end up with an array of zeros with just the last column replaced. Can someone help me out?
Thank you.
03-26-2007 02:43 PM - edited 03-26-2007 02:43 PM

Message Edited by altenbach on 03-26-2007 12:44 PM
03-26-2007 03:38 PM
Thank you,
I'll try those two methods tomorrow.
03-27-2007 09:03 AM
Thank you Altenbach,
That seems to work. ......Except it would be nice to have the 2D array formed from the 1D arrays (coming from the inner For Loop) at the end of each step in the outer For Loop. What I actually get is the last 1D array coming from the Build Array function or the built array (which is what I want) right at the end of the Loop cycles. I know it's about putting things in the right places but I'm stuck.
Is there a way to give me the 2D array updated in real time, as it is built?
Another little thing is that when I reopen my vi's the Front Face/Panel is often reformatted and badly at that - can I stop this?
Raff
03-27-2007 10:42 AM - edited 03-27-2007 10:42 AM
@raff wrote:
Is there a way to give me the 2D array updated in real time, as it is built?
Just build the 2D array in a shift register.

Sorry, I don't understand what you mean. Can you show a screenshot before and after bad formatting?
@raff wrote:
Another little thing is that when I reopen my vi's the Front Face/Panel is often reformatted and badly at that - can I stop this?
Message Edited by altenbach on 03-27-2007 08:43 AM
03-27-2007 11:31 AM
Thank you,
That's exactly what I needed to know how to do. I'll get there in the end though I'm a little slow - brain fever, you see!
I've attached the result of reopening the Front Panel of this VI to show you what I mean by "reformatting badly". Some terminals become overlapped...
03-27-2007 11:49 AM