RS 232 communication [modified]
-
Hi all, I'd like to know, whether itz possible to send "Integers" and "arrays" through a RS-232 interface??is there any way to do it?? Thanks in advance, rajeev :-D -- modified at 0:40 Tuesday 6th June, 2006
The RS232 interface is just that, a simple interface. How you send data depends on your protocol. The tigress is here :-D
-
Hi all, I'd like to know, whether itz possible to send "Integers" and "arrays" through a RS-232 interface??is there any way to do it?? Thanks in advance, rajeev :-D -- modified at 0:40 Tuesday 6th June, 2006
I believe it is possible, but you would have to send them over byte by byte, and then decoding them back to the original form at the other end. Actually much of the time, you would create an array of some data, either ASCII or Binary, but it takes the same way to send. this is this.
-
Hi all, I'd like to know, whether itz possible to send "Integers" and "arrays" through a RS-232 interface??is there any way to do it?? Thanks in advance, rajeev :-D -- modified at 0:40 Tuesday 6th June, 2006
rajeev82 wrote:
I'd like to know, whether itz possible to send "Integers" and "arrays" through a RS-232 interface??is there any way to do it??
Rs232 only understand Bytes.. so you have to interpret your Sending and receiving data!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You