11-15-2019 01:32 PM - edited 11-15-2019 01:45 PM
EDIT: I found out the issue, the array itself was initialized as multi-dimensional. Hence the result.
I have a 6 element array, and I want to reposition the 3rd and 6th elements as the 1st and 3rd elements.
The block diagram code below attempts to do that. The array is initialized for 6 elements but I am not sure those additional zero elements gets appended when I build the array. My final array should also be a 6 element array.
11-15-2019 01:48 PM - edited 11-15-2019 01:51 PM
"insert into array" Is never the right tool for fixed size arrays. Use replace array subset or the IPE.
(Also, please use typical default data for the input array and tell us what result you actually want, not what you currently get.)
11-15-2019 01:52 PM
I would do it this way: