• Support
  • Articles
  • Resources
  • Products

Transmitting a series of hex values or binary data over comm port.

Moderator: boris

2 postsPage 1 of 1

yogeshk
Newbie

Posts:
6
Joined: Sat May 06, 2017 5:35 am
by yogeshk » Sat May 06, 2017 5:49 am
I am aware that I could transmit a string via the "send" command, however I am not sure how do I transmit an equivalent of a binary buffer via COMM port.

so basically as an example I am trying to transmit the data buffer say an array of hex values [0x10, 0xFD, 0x0D] over the comm port. Every time I transmit just the decimal equivalent of those numbers it results in an invalid data received at the other end of the application listening on that comm port.

Here is a sample code



Thanks,
Yogesh
yogeshk
Newbie

Posts:
6
Joined: Sat May 06, 2017 5:35 am
by yogeshk » Sat May 06, 2017 6:13 am
Figured that out, found an old forum article, to just switch the language to English and it worked.

Thanks,
Yogesh
Display posts from previous:
Sort by:

2 postsPage 1 of 1

Users browsing this forum: No registered users