Thread: serial port, reading from

  1. #1
    Unregistered
    Guest

    Question serial port, reading from

    Question:
    I need help to figure out how to open and read from a serial port. My C application runs under visual C++ (I don't know if that matters or not) on an PC running NT. Is there any sample code out there that will show me how it's done? Suggestions?
    Thanks!!!

  2. #2
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    this prog might help you

  3. #3
    Unregistered
    Guest
    Thanks Dog, but the info you provided is only for serial comm problems, that is to say, baud rate, etc. What I'm looking for is how to open the serail port for reading (not writing) and how do I read the data that comes across the serial port. Does anyone out there have experience doing this?

  4. #4
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    maybe this one, then

  5. #5
    Unregistered
    Guest

    Thumbs up

    Hey dog,
    Thanks! This looks to have good info...may be just what I need.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading and writing to a serial port
    By SwarfEye in forum C Programming
    Replies: 2
    Last Post: 08-18-2006, 12:28 AM
  2. Serial Port problems
    By BeBu in forum Linux Programming
    Replies: 1
    Last Post: 04-01-2005, 08:18 AM
  3. Problem with string and serial port
    By collinm in forum C Programming
    Replies: 2
    Last Post: 03-23-2005, 10:19 AM
  4. Reading game port with a simple compiler like BuilderX?
    By MaxxMan-X in forum Game Programming
    Replies: 7
    Last Post: 02-27-2005, 11:15 AM
  5. serial port still wont work
    By alcoholic in forum C++ Programming
    Replies: 6
    Last Post: 10-31-2001, 12:51 PM