Hi!
This may be a stupid question.
But i try to ask it, however...
I'm trying to communicate with a motor throu rs-232.
The manual says that the commands should have the following form: (an example)
SXWT <0H><0H><0H><32H> <88H><cr>
Where <0H><0H><0H><32H> is the data in a four byte long integer. <88H> is a checksum, that is easy to calculate.
My problem is how do I send the hex. data in a string(combined with the ascii-string in the beginning)?

Hard to say because it depends on whether the instrument wants that information as ASCII characters or as raw hex values. It could be one of these:
or something else. What does the manual say?
