VimbaPython
VimbaPython copied to clipboard
how to change Device Link Throughput Limit parameter in Vimba Viewer?
Hello! I'm facing an issue with AlliedVisionCamera USB3, Model: 1800 U-1240c.
I was trying to grab images using NI MAX (is a packag in the installation of LabVIEW).
I selected the Vimba Driver in NI MAX to the software recognize the USB3 Camera model, and I was able to see the detected camera, as you can see in image below:
But when I click on grab button, is displayed the following message:
If I click on SIM (Yes) button, NI MAX ignore camera validation errors and try to grab the image, but I have an uncompleted image displayed, as shown below:
I tried to change the Device Link Throughput Limit parameter in Vimba Viewer, but was not successful and as you can see there are some inconsistencies: the minimum value of this parameter is greater than the maximum value.
Can you tell me how I can change this parameter? I believe that the incorrect parameterization of this parameter is the reason for the error I am facing.
May you advice me how to reset vimba to manufaturer parameters?
Hello, this is not a problem regarding "How to set the parameter", but that the camera connection is recognized as a USB2 connection. Either your cable, USB port or maybe switch could be the error source. The minimum throughput limit comes from what Pixel Format and SensorBitDepth you have set, because the sensor needs a certain datarate to be read out. The maximum comes from what USB connection/USB speed is recognized from the host. Your host/swich/cable is recognized as USB2, so the maximum datarate is lowered. This also explains the incomplete frames, because the datarate is not enough for the camera and data is getting lost.
To remedy the issue:
- check which port of your PC is USB3, if possible use a PCIE card
- check that any devices between the camera and host are also USB3 (cable, switches, adapters)
- if possible, have no switches or adapters between host and camera that could limit the bandwidth
To set the camera to the default settings, you can use the device reset feature or unplug/plug the camera.
If you need to use a USB2 connection, make sure that you use a 8bit pixel format and, if possible, use 8bit ADC (so 8bit SensorBitDepth). That will lower the minimum datarate and could enable you to send frames. However, the camera is a USB3 device and a USB2 connection can cause unwanted behaviour, lie with the mismatched upper and lower end of the datarate, due to the settings of pixel format.
Teresa, thank you for your comprehensive response.
We have just updated the Windows system and the camera acquisition has started working as expected.