P
Pete
Only just started using VB and I've got a problem, not sure how to
solve this one.
I'm receiving a string from a comm port containing hex values which
need to be converted into characters using 7 bit ASCII encoding.
For example I receive "82" as hex from the comm port. This would
translate to "10000010". Using just the first 7 bits this would give
me the character "A". How would I do this in VB .Net?
If I had multiple characters being transmitted in hex for example
"9124". Which would translate to "1001000100100100". Using a multiple
of 7 bits I end up with the characters "HI". What do I need to do to
get VB .Net to translate these hex values into characters?
Hope someone can help I'm getting V confused by convert functions.
Pete
solve this one.
I'm receiving a string from a comm port containing hex values which
need to be converted into characters using 7 bit ASCII encoding.
For example I receive "82" as hex from the comm port. This would
translate to "10000010". Using just the first 7 bits this would give
me the character "A". How would I do this in VB .Net?
If I had multiple characters being transmitted in hex for example
"9124". Which would translate to "1001000100100100". Using a multiple
of 7 bits I end up with the characters "HI". What do I need to do to
get VB .Net to translate these hex values into characters?
Hope someone can help I'm getting V confused by convert functions.
Pete