11

I'm searching for an industrial serial to USB converter. I want to use it within my JAVA application to communicate with various devices. Therefore the serial adapter has to provide a mode for RS232, RS422 and RS485. Furthermore there should be a library which enables me to enable and disable the buffer in the serial adapter.

I tried the MOXA Uport 1150, which does a great job. The problem with this adapter is, that the serial mode (232,422,485) can't be changed within a Java-application and the buffer of the MOXA can't be enabled/disabled either.

I hope someone can help me!

Michael

dsolimano
  • 8,870
  • 3
  • 48
  • 63
msp
  • 153
  • 1
  • 8
  • Which `Java` library are you using for communicating via serial ports? – Jagger Oct 05 '12 at 20:33
  • 1
    I use a Moxa NPort device. I haven't tried changing the 232/422/485 setting programmatically, but you can certainly change it in the web interface. I use another Moxa product in which I toggle settings via CGI commands using libcurl, so it may be possible to change the 232/422/485 settings this way, provided you knew the correct commands (Moxa tech support is good about providing this info). As for custom buffer size, I couldn't find anything there, but maybe the "Data Packing" functionality might help to give you data in a specific size you need? Why would you disable the buffer? – mnajera Oct 25 '12 at 20:03
  • 1
    Have you considered an Ethernet to serial converter implementing RFC2217? While slightly more expensive, they are much better to work with in Java. – thedayofcondor Oct 26 '12 at 20:41

0 Answers0