Converting Binary To String (with out binary representation)
You seem to be a little confused about encoding and representation of
data. Correctly converting data requires to understand what level of
representation you are working with. Then it will become the easiest
thing...
****
There are basically three level of representation that coexist when
using digital data: the "ideal" data (the abstract data itself), the
bit-level code (for the computer) and the displayed data (for you).
1) You should have a clear idea of what you are manipulating as an
"ideal" data: is it letters in a chain of characters ? is it a yes/no -
on/off - true/false boolean ? is it an integer number ? is it a real
number ?
2) To process the abstract data on a machine, it has been necessary to
choose a code. Bit-level code and processing are coherent one to the
other on a given system, so that all you need to care of is which
"abstract" operation you want to do with your "abstract" data. But if
you want to make systems communicate (fortran to labview, unix to dos,
programmable instrument to pc...) you quickly find out it uses another
code/processing mechanism, so you need to understand exactly each code.
3) At last, you may have to eventually let the system communicate the
data to YOU. And according to your sensibility, you may prefer to have
integer numbers displayed or printed as bit fields, as hexadecimal
chains or in any other convention.
If you correctly differentiate and understand those three level of
representation of a data, you shall not be afraid to display in chinese
the unsigned integer numbers stored as octal digits in an ASCII string.
****
Mail me if you just can't &*$!! - oz
Quote:
>I am trying to convert binary data set that represents Hexadecimal
>values. I need to be able to convert this binary/hexadecimal string
>into a regular string so as to be used with the Hexadecimal string to
>Number.VI . If anyone has an Idea how to do this please advise.
>Thanks,
>Joel