Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202541

Re: Converting a string of numbers into an array of booleans

$
0
0

Ok, I figured it out:smileyhappy:.  I converted the string to an unsigned byte, which I then auto-indexed into a for loop.  I then used the quotient and remainder function and modded each element by 2.  I then used a case structure.  I set 1 as the default, which output false, and had 0 output true.  I then auto-indexed this out of the loop and put a boolean indicator.  P.S. This was only a small part of a bigger assignment.  Part of the problem was that another part of my code was messing everything up.  Thank you so much for the help!


Viewing all articles
Browse latest Browse all 202541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>