Closed ghost closed 5 years ago
@GavinJia same problems here. Are you using a GigE camera? The viewer might initialize something related to MTU / bandwidth. Try this:
camera0 = vimba.getCamera(cameraIds[0])
camera0.runFeatureCommand('GVSPAdjustPacketSize')
You could compare differences in feature values with the camera started before and after Vimba Viewer. There are 3 files that output feature values:
https://github.com/morefigs/pymba/blob/master/examples/camera/list_feature_values_and_ranges.py https://github.com/morefigs/pymba/blob/master/examples/interface/list_feature_values_and_ranges.py https://github.com/morefigs/pymba/blob/master/examples/system/list_feature_values_and_ranges.py
Did the above help? Is this still an issue?
@morefigs setting low GevSCPSPacketSize
and StreamBytesPerSecond
fixed it for me. I haven't tried the scripts. Unfortunately I do not have access to the hardware anymore.
If I open the camera via Vimba Viewer first, it can be opened via python. It is workable and shows image. If I open the camera directly via python, it can't be opened.
Do you have any idea for this?