• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

How can I send non-ASCII characters like Ctrl-S to the serial communication port?

How can I send non-ASCII characters like Ctrl-S to the serial communication port?

MSComm.output = "A Special Char. will follow: " & chr(??)

I'd also like a link to a convertion table.

Thanks
0
davemiles
Asked:
davemiles
1 Solution
 
AzraSoundCommented:
http://www.asciitable.com/

However, ASCII does not define control keys like Ctrl, Alt, and Shift as far as I know.  If you need that functionality, you probably need to designate your own protocol to define how to describe these special requirements.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Ctrl-S, also know as DC3 or XOFF, is Chr$(19).

http://www.csgnetwork.com/asciiset.html

Idle_Mind
0
 
gajendraCommented:
Ctrl A to Ctrl Z are used as chr(1) to chr(26)

Gajendra
0
 
davemilesAuthor Commented:
Chr$(19) works great

chr(19) does not ....

Thanks for the input!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now