Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69576

Bug in Build Array Function - Inserted to row 1 instead of row 0

$
0
0

Using the build array block;

Step 1: Concatenate a 2D empty array with a 1D empty array = empty 2D array, 

Step 2: Concatenate a 1D array of data with an empty 1D array = 1D array

Step 3: Concatenate the 1D into the 2D and you get the 1D at row 1 instead of row 0

 

This can be fixed by transposing the empty 2D array created in step 1 before concatenating in step 3.

I'm a bit perplexed by this.Why would transposing an "empty" 2D array fix anything


Viewing all articles
Browse latest Browse all 69576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>