Page 1 of 1

Generic Serial mixed ASCII and Hex

Posted: Thu Sep 04, 2003 10:27 am
by DynamoBen
I'm trying to send a serial string to a device that requires a Hex Wrapper with ASCII string for the data.



The Start, Length, Command, ID, Protocol, and CRC are all Hex commands. The Data is ASCII.



I see that you can either do ASCII or HEX not a mix of both.

Ideas?

Posted: Thu Sep 04, 2003 10:43 am
by ScottBot
You could do a couple of things. You can translate the ASCII data into its HEX values and send it all as one HEX string.



Or you can break the single command into multiple (hex and ascii) commands. Then when assigning the command(s) to the Property Values, select the HEX command, then ASCII command (you can have a single Property Value execute multiple commands).