morefigs / pymba

Python wrapper for Allied Vision's Vimba C API
MIT License
105 stars 84 forks source link

Pymba with multiple cameras #93

Open ljc19800331 opened 5 years ago

ljc19800331 commented 5 years ago

Hello,

I am wondering if this API can be used for multiple cameras (two). I tried with multiple camera but not able to obtain the image from different cameraid. The error is:

pymba.vimba_exception.VimbaException: The value was not valid; either out of bounds or not an increment of the minimum.

ID 1. Camera ID: DEV_000F3100A061 ID 2. Camera ID: DEV_000F3100A05F

I am using two Allived Vision cameras (GC1020C)

Is there an example or other better way to use multiple cameras for streaming? Thanks.