CVBPy find devices by Device Configurator config ini file

Hi, we have encountered some problems after update to 13.04.005.

Earlier we were opening cameras using

with cvb.DeviceFactory.open(cvb.install_path() + "/Drivers/GenICam.vin", self.parameters.cvb_port) as device:
 self.stream = device.stream

but after updating to 13.04.005 it has stopped working and we started to get exception.

 {C-API call failed} ({LoadImageFileW})

Using open_port method also fails.

cvb.DeviceFactory.open_port(cvb.install_path() + "/Drivers/GenICam.vin", self.parameters.cvb_port) as device:

Using

with cvb.DeviceFactory.open(cvb.install_path() + "/Drivers/GenICam.vin",cvb.AcquisitionStack.Vin, self.parameters.cvb_port) as device:

I receive Exception:

no IBoardSelect or IBoardSelect2

Cameras are added in GenicamBrowser on right side and config is saved.

One solution I have found is to use this method: https://forum.commonvisionblox.com/t/api-device-discovery-with-allow-broadcast-acknowledge-ignore-subnet/1260/2 but then we are not able to rotate and set camera order easily using configurator.

So my question would be, is there any solution, to load cameras defined in Device Configurator from CVBPy like in earlier versions.

Hi,

Thank you for the report and sorry for the inconvenience.

As the first step, I would like to clean up the environment first if you do not mind.

( Excuse me, I know, I start speaking without hearing your opinion. :wink: )

  • First, remove CVB by using Windows’ “Add or remove programs”.
  • Next, make sure the installation directory has been completely empty; if something is still remaining then please manually delete them.
  • Then, install CVB 13.05 again.
  • Finally, please try to run the original script that you listed on the top.

If the phenomenon can be observed even if the installation was fresh, then it may imply there’s a defect that prevents CVB to work with your setup.

I’ll be looking forward to hearing from you.

Thanks.