Re: reliable rs-232

2010-04-11 Thread Grzegorz Daniluk

Thank you very much for all your advices.
The device I'm going to 'talk to' is cesium clock with rs-232 interface. 
So it is not possible to simply change the interface to differential 
one. Connection cable can be short and the transmission speed can be 
slow. The most important thing for me is to ensure the long term 
communication. Not to lose any data is very important when periodically 
monitoring cesium parameters. We are speaking here about months and 
years of continous operation. That is why I'm afraid of something 
'strange' happens to my rs-232 interface and communication. Maybe I'm 
too afraid of strange magic, but still, is it possible that my rs-232 
could change its transmission parameters as a result of e.g. nearby 
elecrical interference ? Or, in general, what bad thing could happen to 
me in such scenario.


Thanks a lot,
Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


reliable rs-232

2010-04-10 Thread Grzegorz Daniluk

Hi everybody,
I have a question regarding rs-232 under FreeBSD.
I need to write an application for FreeBSD to operate an industrial 
controller via rs-232. The trick is that it should have very good long 
term stability (reliably operation over years). It should be able to 
detect and correct (e.g by reconfiguration of rs-232 port parameters) 
when rs-232 hangs or changes its transmission parameters as a result of 
electrical interference/disturbances etc. First thought is to simply 
close and reopen rs-232 port every given time interval, so even if 
something 'strange' happens the failure would be fixed after finite time 
period. But maybe there is smarter way of doing that. Maybe some special 
fault-tolerant rs-232 kernel drivers ?
Any help appreciated, maybe someone has other helpful advieces regarding 
reliable rs-232 programming ini general ?


Thanks for all help and advices.
Best regards,
Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"