We help IT Professionals succeed at work.

how to read a non printable ASCII character from a COM port.

cmdolcet
cmdolcet used Ask the Experts™
on
I am trying to compare if my serial command ACK or NACK however I can;t seem to find a good way to compare my non printable value (ACK,NACK)

Can someone help out!

Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Glanced up at my screen and thought I had coded the Matrix...  Turns out, I just fell asleep on the keyboard.
Most Valuable Expert 2011
Top Expert 2015
Commented:
Compare the byte received to:
CONST ACK As Byte = &H6

--OR--

CONST NACK As Byte = &h15

Open in new window