To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates a simple technique for counting the occurrences of integer numbers in an array.
Description
This VI demonstrates a simple technique for counting the occurrences of integer numbers in an array, the output array will show the integer number at corresponding index.
For example, if the input array is [2, 5, 3], then the size of output array will be 5+1=6, and output array will be [0, 0, 1, 1, 0,1].
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**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.