11-21-2012 08:33 AM
Hi all.
I have a 2x8 array like this picture want to change to 1x16 matrix
I use Array to Matrix .vi then use Resize Matrix .vi
but my 1x16matrix appear zero. like following picture
How can i do?
11-21-2012 08:39 AM - edited 11-21-2012 08:40 AM
Instead of doing this you can right click the build array and enable the concatenate option so that you will get a 1 x 16 array (1 D array) directly.
11-21-2012 08:45 AM - edited 11-21-2012 08:46 AM
The other option is to use the Reshape Array.
With the reshape matrix, from the LabVIEW help:
If you increase the row or column dimensions of matrix, the function returns an invalid operation value at each exterior location.
11-21-2012 08:45 AM
If you right click on the build array function and select "Concatenate Inputs", the build array function will append the second 1x8 array to the end of the first 1x8 array. This would give you the desired 1x16 array.