• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Serial Interfacing ....

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wanting some information about Interfacing two computers
We are a group of software engineers working on a project which require data transfer from one pc to another via serial port . We are using C++ to accomplish our job.
Infact we have done the data communication succesfully when we outport a single character from one PC and which is inported by the other pc. But in order to trnsfer array of characters we are having the problem.
The two pc's are not working at the same speed . i.e speed variation occurs as a result The computer which inports the character is unable to read all the
characters in the arrray completely and accurately .
One solution in my mind is to make a logical buffer which could first takes the input and store it and then read by the inport command solving the speed problem .
If u people have any suggestion then please do not hesitate to contact me.
To Solve this problem I need ur Assistance . Please refer some web content
Fahad Shahab
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this supposed to be a Java question?
In any event, that kind of stuff is normally handled by the lower levels of the I/O services. In C/C++, there are multiple solutions, depending on how much direct control of the process/vs. OS control/ language-supported control you want.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
javax.comm package is available in java Through which u can do serial port communication very easely and efficiently .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic