Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialevent in comm api

 
sun919
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,
Can anyone help me on this topic which involve java and serial port. Basically I have wrote a program which allow the computer to listen to serial port. The program itself is in the data_Available state so the serial port is listening to event. once i have send data from external machine to serial port, the data react by displaying the data on the screen and drive machine to set ouput.Once it is done i can not repeat the program where the serialevent is listening to the incoming data. Instead the program stop. Is there a way in which would allow the data to be transfer continuously?
man thanks
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sun919,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic