Continuous data flow on COM port

Discussion in 'Java' started by carmelo, Dec 2, 2008.

  1. carmelo

    carmelo Guest

    Hi everybody,
    I'd like to know if is it possible to read a continuous data flow sent
    to a port COM. I'm able to read it at each x seconds, but is there any
    way to read it continually?


    Thank you
    Carmelo
     
    carmelo, Dec 2, 2008
    #1
    1. Advertisements

  2. carmelo

    Tom Anderson Guest

    On Tue, 2 Dec 2008, carmelo wrote:

    > I'd like to know if is it possible to read a continuous data flow sent
    > to a port COM. I'm able to read it at each x seconds, but is there any
    > way to read it continually?


    Just read from the stream. If there's no data available, the read will
    block; it'll return as soon as there's data.

    tom

    --
    I could tell you a great many more particulars but suppose that you are
    tired of it by this time. -- John Backhouse, Trainspotter Zero
     
    Tom Anderson, Dec 2, 2008
    #2
    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. John T. Goodman

    Overhead of 4-port over 2-port SRAM

    John T. Goodman, Jan 25, 2005, in forum: VHDL
    Replies:
    0
    Views:
    833
    John T. Goodman
    Jan 25, 2005
  2. Sean Wolfe
    Replies:
    1
    Views:
    2,545
    Joerg Jooss
    Apr 28, 2005
  3. b3ny
    Replies:
    11
    Views:
    1,145
    Babu Kalakrishnan
    Nov 20, 2004
  4. Pom
    Replies:
    2
    Views:
    2,141
    Bas-i
    Jan 31, 2007
  5. Jack Dowson
    Replies:
    0
    Views:
    601
    Jack Dowson
    May 7, 2007
  6. THurkmans
    Replies:
    14
    Views:
    2,842
    Mike Treseler
    Aug 11, 2009
  7. Merciadri Luca
    Replies:
    2
    Views:
    1,244
    Merciadri Luca
    Nov 2, 2010
  8. Borked Pseudo Mailed

    Java Applet vs. AJAX for continuous data

    Borked Pseudo Mailed, Apr 29, 2008, in forum: Javascript
    Replies:
    2
    Views:
    229
    Laser Lips
    Apr 29, 2008
Loading...