# Grabbing 2 cameras with same Program

**URL:** <https://forum.commonvisionblox.com/t/grabbing-2-cameras-with-same-program/1158>\
**Category:** Programming Questions\
**Created:** [June 12, 2020, 4:59pm UTC](https://forum.commonvisionblox.com/t/grabbing-2-cameras-with-same-program/1158 "2020-06-12T16:59:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://forum.commonvisionblox.com/u/Peter)\
**Post date:** [June 16, 2020, 2:18pm UTC](https://forum.commonvisionblox.com/t/grabbing-2-cameras-with-same-program/1158/2 "2020-06-16T14:18:47Z")

</div>

Hi,

I found [OpenPort with vin-driver and order of ports](https://forum.commonvisionblox.com/t/openport-with-vin-driver-and-order-of-ports/701):

The solution is enable the following flag in GenICam.ini

`AutoSwitchEnable=1`

which is located in “c:\ProgramData\STEMMER IMAGING\Common Vision Blox\Drivers”

Now I can start the python and .net program independently.

Peter

---

_[View the full topic](https://forum.commonvisionblox.com/t/grabbing-2-cameras-with-same-program/1158)._
