Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. RS 232 communication [modified]

RS 232 communication [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajeev82
    wrote on last edited by
    #1

    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

    L K T 3 Replies Last reply
    0
    • R rajeev82

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The RS232 interface is just that, a simple interface. How you send data depends on your protocol. The tigress is here :-D

      1 Reply Last reply
      0
      • R rajeev82

        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

        K Offline
        K Offline
        khan
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • R rajeev82

          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

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups