05-31-2012 10:36 AM - edited 05-31-2012 10:36 AM
Just curious why replace array subset when replacing a column in a 2D array requires a 2D array to be the input if you wire up a row index? But, if you do not wire up a row index, it will allow you to just wire up the column index and will accept a 1D array. Why does a row offset matter? See image:
05-31-2012 10:46 AM - edited 05-31-2012 10:47 AM
It's because you are specifying 2 dimentions. LabVIEW will replace the array elements starting at the given coordinate and within the size of the new array subset. See if my example explains it better. Plus, how would LabVIEW know which direction it is to replace if given a new 1D array and both dimentions specified.
05-31-2012 10:52 AM
@crossrulz wrote:
Plus, how would LabVIEW know which direction it is to replace if given a new 1D array and both dimentions specified.
Doh, so obvious.
05-31-2012 11:01 AM
@for(imstuck) wrote:
Doh, so obvious.
Yeah, we all have those moments...