Industrial Cameras FAQ/Grabbing an image with a size ...

Grabbing an image with a size exceeding 5 Mbytes by NI MAX (Measurement & Automation Explorer) results in timeout.(Uses Fresco Logic USB host controller)(No.250)

Device driver for Fresco Logic's USB host controller creates a default number of buffers for stream reception ring buffer, assuming HDD, WbCam, etc as target device, in default.

On receiving a high-speed large-capacity data stream such as a USB3 Vision camera, a newly received packet data might be discarded because all buffers in the ring buffer is filled with unprocessed received data. Discarding a part of image stream wil result in image receiving timeout.

Do the followings for improving the performance of USB host controller to grab images exceeding 5MBytes.

1. Update the xHCI device driver of Fresco Logic host controller to the latest version.
You can download the latest xHCI device driver by clicking the link of [USB3.0 Host Driver] in
[Downloads] column shown at right side of the page of following URL.
<https://support.frescologic.com/portal/home>

2. Edit the registry to change the value of BulkInRingBuffers to 256.
Search the following key and change BulkInRingBuffers DWORD value to 256. The default value is 48.
KEY: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FLxHCIc\Parameters
If BulkInRingBuffers DWORD value does not exist, create it.

There is a possibility that the registry change may seriously affect PC on occasion.
Be sure to acquire a backup of the registry before making changes.

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.