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. Advertising

  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. Advertising

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. Replies:
    13
    Views:
    2,405
    Thomas Weidenfeller
    Jan 16, 2006
  2. Martin Blume

    continuous plotting with Tkinter

    Martin Blume, Feb 2, 2005, in forum: Python
    Replies:
    3
    Views:
    403
    Martin Blume
    Feb 4, 2005
  3. Nicolas Pernetty

    Continuous system simulation in Python

    Nicolas Pernetty, Oct 7, 2005, in forum: Python
    Replies:
    19
    Views:
    1,475
    Nicolas Pernetty
    Oct 12, 2005
  4. Jack Dowson
    Replies:
    0
    Views:
    482
    Jack Dowson
    May 7, 2007
  5. Borked Pseudo Mailed

    Java Applet vs. AJAX for continuous data

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

Share This Page