Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • 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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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