11-16-2008 02:48 PM
Hello,
Start transfer: buffer full 260 us, mixed buffer full period: 160 us, full speed transmit: 160us, then buffer full 260 us, mixed buffer full period 160 us, then full speed transmit 160us. This cycle of 580 us continues for the duration of the transmition, regardless of length (which I have varied from 1 Mbyte to 16 Mbyte).
At the Visa end, I have a pre-allocated array to put the data in (flow through the Visa USB read vi), and I have tried reading the data in chunks from 64K to to 1 Mbyte. There seems to be a little gain in using bigger chunks, but not much. It is clear that the Visa USB read system is limiting the transfer rate - with every device transmit, there is a minimum latency of 2 USB frames (2 x 125us) before data transfer starts, and then this happens again and again. Some NI product information suggests that transfer rates of 26 Mbyte/sec or 30 Mbyte/sec should be achievable.
Is anyone able to explain this, and suggest a work around (we would really like to acheive 30 Mbyte/sec). Other USB devices on the PC are achieving this rate (in particular a USB hard disk).
Thanks.
Bart |
11-17-2008 09:30 AM