05-23-2011 04:36 PM
Hello,
This is great...if you change to the build array you can insert as many 2D arrays into a 3d array with each 2 d array in its own page. However Labview pads the smaller arrays with zeroes. Is there a way to have Labview pad the smaller arrays with a "NAN"
05-23-2011 04:40 PM
@Kaspar wrote:
This is great...if you change to the build array you can insert as many 2D arrays into a 3d array with each 2 d array in its own page. However Labview pads the smaller arrays with zeroes. Is there a way to have Labview pad the smaller arrays with a "NAN"
LabVIEW is a full featured programming language, so everything is possible with a little bit of coding. Have you tried?
05-24-2011 06:39 AM
Hello,
Yes I did look at the "build array" and the help for it. I did not find anything that defines the "padding/filler" value for numeric arrays. Does anyone know where this is defined?
05-24-2011 09:42 AM
Hi Kaspar,
You know the row and/or column from which it is getting padded with 0s, right? Use Replace Array Subset function & wire the appropriate row & column indices to replace all unwanted 0s with NaN.
Hope it helps.
10-24-2011 11:43 AM
Hi,
A comment related: I was looking for have 1d arrays with diferent size into a 1d array, i found that is only possible if you put 1d arrays at cluster and later inside of 1d array.
Best Regard,
10-24-2011 11:48 AM
I m not sure if I understood what you mean.
Insert Into Array function is used to Insert an element or N/N-1 dimension array into an N dimension array at a specified index.
Hope it helps.
10-24-2011 12:09 PM
10-24-2011 12:30 PM
@Luis_AM3C wrote:
I was looking for have 1d arrays with diferent size into a 1d array...
Now I understood your requirement after seeing the code. Yeah, this is possible only with cluster(s).
Thats why it is often said (in these forums) that a pcture is worth a 1000 words.