LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary to ascii

Hi,

 

How can I poperly convert the binary data on the ate file to ASCII and HEX characters?

 

Thanks for your help.

0 Kudos
Message 1 of 9
(3,919 Views)

The file is already an ascii representation of binary

 

Here is how to get the ascii to HEX

ReadConcat.png

Omar
0 Kudos
Message 2 of 9
(3,905 Views)

The file already contains ASCII characters (0 or 1), 18 per line followed by three tab characters.

 

Going out on a limb here, I am guessing these represent bits of a binary format. Since there is no native 18 bit data type, we need more information on what you actually want. You could scan the lineas as binary format as U32 type. Have you tried?

 

Thr resulting U32 array could be formatted as hex or whatever you want or even flattened to a binary string. We clearly need more information what kind of output you are looking for.

0 Kudos
Message 3 of 9
(3,904 Views)

Here's one interpretation of the question ...

 

Download All
0 Kudos
Message 4 of 9
(3,898 Views)

Could you help me out with this last option? to U32 and to Hex and Ascii?

0 Kudos
Message 5 of 9
(3,893 Views)

I didn't see the last posting.

0 Kudos
Message 6 of 9
(3,892 Views)

 


@gembo wrote:

...  and to Hex and Ascii?


That can mean many things. You need to be much more specific!

 

0 Kudos
Message 7 of 9
(3,885 Views)

So I have 16bit data to go from binary to decimal. Need help please.

0 Kudos
Message 8 of 9
(3,867 Views)

Did you try Altenbach's VI in message #4?

0 Kudos
Message 9 of 9
(3,864 Views)