To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Compare each element in the first row of a 2D array with its corresponding element in other rows.
Description
The polymorphic nature of the subtract node makes the “row subtraction” possible. In other words, there is no need to subtract elements in each row one by one. The polymorphic subtract node will detect the subtractor and subtractee to be arrays and perform the “row subtraction” directly. The two dimensional array in the example code can be extended to the length you want.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.