That looks good, what does the active configuration of your device look
like? Also what is the time when you submit 40? 80?
I have not worked with iso pipes, so other people on the list might be
able to help you more. But I think setting the device config right
(specifically interface settings) and using list(s) of UsbIrps is the
right way to go.
On Wed, 6 Jul 2005, Charles Chen wrote:
>Hi, Dan,
>Do you mean I should use Irp list? Here is my code below, but the time for
>submitting the list is 240ms. Do I misunderstand something? Thanks for help.
>
> List usbIrpList = new ArrayList();
> int nBuffer = 20;
> for (int i = 0; i < nBuffer; i++) {
> byte[] buffer = new
> byte[wMaxPacketSize];
> UsbIrp usbIrp = pipe.createUsbIrp();
> usbIrp.setData(buffer);
> usbIrpList.add(usbIrp);
> }
> long startT = System.currentTimeMillis();
> pipe.syncSubmit(usbIrpList);
> long endT = System.currentTimeMillis();
> System.out.println("count=" + count + ", time="
> + (endT - startT));
>
>Charles Chen
>
>_________________________________________________________________
>Don?t just search. Find. Check out the new MSN Search!
>http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>_______________________________________________
>javax-usb-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>
--
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel