05-15-2015 08:36 AM
I'm looking for a more eloquent way to perform the conversion:
See the VI for a functional but not scalable example.
Each string will have a value of 0 or 1, and they will be converted into a single byte.
I'm surprised there isn't a native function in the conversions section that allows a user to do this.
I would like to change the conversion into a function with the following inputs:
Output:
Solved! Go to Solution.
05-15-2015 08:58 AM
Okay hows this. If you know each string is only going to be a bit, check to see if the string is not a 0, then you have an array of booleans to turn into a number.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-15-2015 10:15 AM
I'm on LabVIEW 2012 and I can't open your VI, nor Hoovahh's modified version, so perhaps I'm posting exactly the same thing, but does this snippet do what you want?
05-15-2015 11:00 AM
That is more elogant than what I have