C++ getting data from serial/parallel port, how to?

Discussion in 'C++' started by Sonoman, Jul 30, 2004.

  1. Sonoman

    Sonoman Guest

    Hi all:
    I tried searching on the net, but I do not even know what I am looking
    for. What I want to do is to write aprogram using C++ that will gather
    data from an external microprocessor, format it and write it to a file
    for later use. I can handle pretty much everything exept the part where
    I "listen" to either the serial or parallel (may be USB?) ports for data
    from the external source. Any help will be greatly appreciated.

    Sonoman
     
    Sonoman, Jul 30, 2004
    #1
    1. Advertisements

  2. On Fri, 30 Jul 2004 01:14:11 -0400, Sonoman <>
    wrote:

    > Hi all:
    > I tried searching on the net, but I do not even know what I am looking
    > for. What I want to do is to write aprogram using C++ that will gather
    > data from an external microprocessor, format it and write it to a file
    > for later use. I can handle pretty much everything exept the part where
    > I "listen" to either the serial or parallel (may be USB?) ports for data
    > from the external source. Any help will be greatly appreciated.
    >
    > Sonoman


    You question is off topic for this group, please read this groups welcome
    message for a description of what this group is about and some suggestions
    for alternative groups where your question might be on topic.

    http://www.slack.net/~shiva/welcome.txt

    john
     
    John Harrison, Jul 30, 2004
    #2
    1. Advertisements

  3. Sonoman

    JKop Guest

    Sonoman posted:

    > Hi all:
    > I tried searching on the net, but I do not even know what

    I am looking
    > for. What I want to do is to write aprogram using C++

    that will gather
    > data from an external microprocessor, format it and write

    it to a file
    > for later use. I can handle pretty much everything exept

    the part where
    > I "listen" to either the serial or parallel (may be USB?)

    ports for data
    > from the external source. Any help will be greatly

    appreciated.
    >
    > Sonoman


    OFF-TOPIC

    If your platform is MSWindows, then:

    CreateFileEx(...

    DeviceIoControl(...


    See msdn.microsoft.com

    -JKop
     
    JKop, Jul 30, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. b3ny
    Replies:
    11
    Views:
    1,166
    Babu Kalakrishnan
    Nov 20, 2004
  2. Malik Asif Joyia

    Problem Getting the Serial Port.

    Malik Asif Joyia, Jun 25, 2005, in forum: Java
    Replies:
    4
    Views:
    2,426
    Dale King
    Jun 29, 2005
  3. MNQ

    Sending data to the parallel port

    MNQ, Jan 6, 2004, in forum: C Programming
    Replies:
    9
    Views:
    678
    Richard Heathfield
    Jan 10, 2004
  4. =?ISO-8859-1?Q?St=E9phane?= Nufer

    serial, parallel and USB port

    =?ISO-8859-1?Q?St=E9phane?= Nufer, Jul 30, 2003, in forum: Python
    Replies:
    6
    Views:
    1,093
    Lonnie Princehouse
    Jul 16, 2004
  5. Pom
    Replies:
    3
    Views:
    2,240
    AlexxGreen
    Jul 15, 2016
  6. Soren
    Replies:
    4
    Views:
    1,598
    c d saunter
    Feb 14, 2008
  7. JSreeniv
    Replies:
    3
    Views:
    1,545
    backhus
    Aug 18, 2009
  8. msalerno
    Replies:
    3
    Views:
    660
    Ilmari Karonen
    Jul 14, 2005
Loading...