Hello,
I have a device, which works with 1-byte commands.
example:
0xD1 has to be sent, where the high nibble (D) is one of six commands and the low nibble (1) is one of 15 possible addresses.
Commands are: E,C,D,8,5,4
Addresses are: 1-F
There are 90 possible combinations of commands and addresses.
I made a program, where i can choose the command and the address separately, and they will be combined individually in one string, which should be one byte.
Now the problem:
If i send this string via RS232 to a PC-Terminal, i see exakt the same string as in my program.
>> 0x51 should be the combined string and I want to see a "Q" at the terminal but the result is "51".
There are sent two bytes (0x35 and 0x31 for "51") than one 0x51 "Q".
When I make a Stringelement (with property "HEX-Display") and typing in the number (51) directly, i get a "Q" on the terminal.
How can i automate this?
I really spent a lot of time on this problem!