Using a Malleable VI for Different Data Types

Malleable VIs adapt to input data types. All terminals of malleable VIs are polymorphic. Each time you wire an input data type to a terminal, type propagation runs to check if the wired type is acceptable. If type propagation errors are not detected, the malleable VI adapts the terminal to the input data type. For example, the Sort 2D Array VI is a malleable VI. The 2D array input accepts an array of any data type except refnums. The index input accepts a signed 32-bit integer or an array of signed 32-bit integers.

Refer to the labview\examples\Malleable VIs\Basics\Malleable VIs Basics.lvproj for an example of using a malleable VI for different data types.

Open example� Find related examples

Related Information

Using a Malleable VI for Different Classes

Choosing between Malleable VIs and Polymorphic VIs