If you've got a two-byte BINARY number, none of the above will work.
😞 I think you mean a two-byte integer number. Also, the string to byte array converts strings to an array of their raw ASCII byte values. I thought that's what you wanted, but if what you are talking about is a string like "12 34 56 78" and you want an array with elements {12, 34, 56, 78}, you'll have to do some more fiddling. You could use the "Spreadsheet String to Array" function with
as the delimiter. Just remember to slap an =CR LF at the end of your string. Also, make a %d (or %x if your string is hex) as the format specifier. Wire up a 2D (!) array of U16 and then index the output to get your 1D array of words.
Dan Press
www.primetest.com