Reshape 2D Array



=Summary= This function consists of a polymorphic VI which reshapes a 2D array into a 1D array by concatenating its rows. It is an extension of the Reshape Array function of LabVIEW.

=VI Name= Reshape To 1D Array.vi (Name of page and files has not been changed yet so as to not break any links.)

=Minimum LabVIEW Version= This function is written in LV85. A version for LV80 is also provided in SVN but does not support Fixed Point Numerics.

=Palette / Library= This function is part of the [b]OpenG Array[/b] (oglib_array) library, and appears in the [b]OpenG Array[/b] palette.

=Polymorphic VI Setup=

Polymorphic Instances
One instance for each Numeric data type plus instances for String, Path, Boolean, and Variant

Other Poly Settings

 * Draw Instance VI Icon
 * Allow Polymorphic VI to Adapt to Data Type should be [b]CHECKED[/b].

=VI Icon=
 * This function will use a variation of the Reshape Array function's icon. The size pictogram in the lower left corner has been removed and the 2D array pictogram has been moved to be centred with the 1D array pictogram.

=Error Handling=
 * No explicit error handling - Empty 2D array in results in an empty 1D array out. This is consistent with the behavior of the Reshape Array function, and consistent with the behavior of other functions in the Array palettes (NI and OpenG).

=Use Cases=
 * 1) This VI solves the common problem of having to reshape a 2D array, e.g. the output of two nested for loops, into a 1D array. This use case currently requires the use of the Reshape Array function along with the Array Size and the Multiply Array Items functions.

=Personnel=
 * Contributor - Heiko Fettig

=SVN Location= /trunk/candidates/Reshape 2D Array

=Links=
 * Discussion Topic for Reshape 2DArray