To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This examples converts 1D binary arrays of customizable dimensions to its numeric representation.
Description
This example takes 1D arrays filled with ones and ceros and converts them to boolean arrays so they can be converted to their numeric representation.
Requirements
Steps to Implement or Execute Code
Modify the binary array to have the number of bits needed.
Manually fill the array.
Run the VI.
Additional Information or References
Main 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.
The FOR loop isn't needed. LabVIEW will do the Equals on the array with a scaler (comparing each element to the scaler).
Actually you are right, I totally missed that. Thanks for the feedback.