• Polymorphism in LabView

    From azhar uddin@21:1/5 to All on Wed Jan 18 23:10:24 2017
    POLYMORPHISM

    All LABVIEW arithmetic functions are polymorphic. This means that the inputs to these functions can be different DATA STRUCTURES such as scalar values and arrays. By definition, polymorphism is said to be the ability of a numeric function to adjust to
    input data of different data structures.

    For example, the Add function can be used in the following ways.

    1. Scalar + Scalar = Scalar addition.

    2. Scalar + Array = The scalar is added to each element of array.

    3. Array + Array = Each element of one array is added to the corresponding element of other array.

    The arithmetic functions take numeric input data. With some exceptions noted in the function descriptions, the default output has the same numeric representation as the input or, if the inputs have different representations, the default output is the
    larger of the inputs. For example, if you add an 8-bit integer and a 16-bit integer, the default output is a 16-bit integer. If you configure the output of a Numeric function, the settings you specify override the default behavior.

    For more information, click the link below. http://mindmajix.com/labview/polymorphism

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)