Skip to content
Prev 40447 / 398498 Next

R and RS232-Interface?

Hi,

Personally, I would avoid Java for hardware handling - in my experience 
this is tricky and very hardware specific.

Sascha, is this for a Unix type machine or under windows?  If under 
Unix/Linux, it should not be  particularly difficult to send characters 
and receive characters in C through a plain rs-232 port - though I don't 
have any code examples for you.  Just open the relevant /dev/cua0 (or 
whatever it is called on your machine) in character mode and treat it 
like a file.

cheers,
Sean
Henrik Bengtsson wrote: