CreateOrGetDevice: error opening IGrab3 acquisition, another acquisition stack is already loaded

Hello,
I have interfaced ATC6 2040 GIGE camera using 3rd acqquisition stack drivers be cause I need multipart images.
Now, I am trying to launch my application with 2 cameras:

  • one ATC6 using 3rd stack GENTL
  • one Dalsa Linea 2k Gige using VIN (with LoadImageFile(genicam.vin).

I get an excpetion:
“CreateOrGetDevice: error opening IGrab3 acquisition, another acquisition stack is already loaded”

Is it possible to work in the same process with a camera 3rd stack GenTL and another camera accessed by the VIN?
Will it be the same if I open the Linea cam with DeviceDiscovery::Open(pathxxx, Cvb::AcqStack::Vin)?

If yes, this means I must rewrite the code of all the cameras that will work with ATC6.

Thanks in advance,
Mikael.

Hi @Mikael,

No it is not possible to mix acquisition stacks. So you load all devices either with Cvb::AcqStack::Vin or Cvb::AcqStack::GenTL. However, migrating to Cvb::AcqStack::GenTL should be easy here is a guide:

https://help.commonvisionblox.com/NextGen/14.0/md__c___j_workspace__next_gen_docume___fa12bcb2_theory_of_operation_image_manager__migration_guide__acquisition_stack.html

I hope that will be helpful.

Ok Andreas,
Thanks for your help.
Mikael.