LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Divide 16-bit Word into its HI and LO Bytes, then Convert to ASCII????

Solved!
Go to solution

Lynn,

 

Yes, you answered the question literally, because he wanted to "divide" first, even though it does not make a difference in the end. 😄

 

As I already mentioned, the question was not clear at all:

 

"Divide 16-bit Word into its HI and LO Bytes, then Convert to ASCII"

 

"Convert to ASCII" does not mean anything. It could be interpreted in many ways:


  1. Format as decimal string (13548)
  2. Generate hex formatted string (FFF5)
  3. Generate binary formatted string, consisting of 16 charcaters of zero or one.
  4. Format into words (one hundred and sixty five)
  5. Create a full page of ASCII art, artistically displaying the original values.
  6. Cast to a binary string

The last one seems to be the answer, but unfortunately that's not really ASCII, but just results in binary string of lenght 2, independent of encoding.

 

ASCII defines how bit patterns encode into characters (and control codes, etc.), so "convert to ASCII" is ambiguous.

 

0 Kudos
Message 11 of 13
(659 Views)
The G to G translation was pretty easy once the English to G translation was done. 🙂
0 Kudos
Message 12 of 13
(658 Views)

Thank you Lynn, your response and answer is exactly what I needed, toss in a shift registers and I finished my problem!

 

Kudos 🙂


Danny

0 Kudos
Message 13 of 13
(641 Views)