by tafoxx » Mon Jun 29, 2009 8:42 am
by tafoxx
Mon Jun 29, 2009 8:42 am
I've heard some talk of latency issues using the default serial port driver in Linux. I've seen for myself that I can't get much more than 40 read-writes per second, which for my purposes should be pretty sufficient, but if I could increase that by an order of magnitude without a huge amount of work, I'd be very interested in doing so. I've been looking at
libFTDI, and
this post about latency, but I still have a few questions.
First of all, let's see if I have my basic assumptions right. This seems to be a library, not a driver, which will fulfill the function of using a (specifically FTDI-powered) USB-to-serial connector as a serial bus, but with much faster response than the default Linux solution? So it will not require installing any special drivers or anything more complicated than using a different library? The device this code is for has several other serial devices connected via USB converters, so I don't think switching the drivers is an option.
Is this library compatible with Windows? Right now I'm communicating with the serial port device with POSIX-standard methods, but I'm considering adding in Windows support... but it would be great if libFTDI could provide a one-stop solution.
Oh, I guess I should have asked this first: Will this library work with the USB2Dynamixel device? The post I linked to seemed to be about custom devices... this library is for PC-side communications, right?
Thanks for the help.
I've heard some talk of latency issues using the default serial port driver in Linux. I've seen for myself that I can't get much more than 40 read-writes per second, which for my purposes should be pretty sufficient, but if I could increase that by an order of magnitude without a huge amount of work, I'd be very interested in doing so. I've been looking at
libFTDI, and
this post about latency, but I still have a few questions.
First of all, let's see if I have my basic assumptions right. This seems to be a library, not a driver, which will fulfill the function of using a (specifically FTDI-powered) USB-to-serial connector as a serial bus, but with much faster response than the default Linux solution? So it will not require installing any special drivers or anything more complicated than using a different library? The device this code is for has several other serial devices connected via USB converters, so I don't think switching the drivers is an option.
Is this library compatible with Windows? Right now I'm communicating with the serial port device with POSIX-standard methods, but I'm considering adding in Windows support... but it would be great if libFTDI could provide a one-stop solution.
Oh, I guess I should have asked this first: Will this library work with the USB2Dynamixel device? The post I linked to seemed to be about custom devices... this library is for PC-side communications, right?
Thanks for the help.