# Automatic ajustment of iris, exposure and gain

**URL:** <https://forum.commonvisionblox.com/t/automatic-ajustment-of-iris-exposure-and-gain/1004>\
**Category:** C++ API\
**Created:** [January 7, 2020, 4:29pm UTC](https://forum.commonvisionblox.com/t/automatic-ajustment-of-iris-exposure-and-gain/1004 "2020-01-07T16:29:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxu](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@lxu](https://forum.commonvisionblox.com/u/lxu)\
**Post date:** [January 7, 2020, 4:29pm UTC](https://forum.commonvisionblox.com/t/automatic-ajustment-of-iris-exposure-and-gain/1004/1 "2020-01-07T16:29:43Z")

</div>

For p-iris installed camera for instance GT 2460C from Allied Vision, is it possible to automatically control the iris position, exposure time, and gain with CVB? If possible, it will be very much appreciated if such an example (in c++) can be provided.

Regards,  
Lei

---

<div class="post-metadata">

**Author:** ![rtp\_derahs](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/rtp_derahs/32/79_2.png) [@rtp\_derahs](https://forum.commonvisionblox.com/u/rtp_derahs)\
**Post date:** [January 8, 2020, 9:45am UTC](https://forum.commonvisionblox.com/t/automatic-ajustment-of-iris-exposure-and-gain/1004/2 "2020-01-08T09:45:51Z")

</div>

Hi @lxu 🙂

All these features can be read and manipulated via the nodemap of the camera. An example of how to access the cameras nodemap using CVB can be found in your CVB installtion direcotry: %CVB%Tutorial\Hardware\GenICam\VC\VCGenicamExample

Even better would be to use our new C++ wrappers. An example is available in [this post](https://forum.commonvisionblox.com/t/multistreamhandler-example/696).

A list of the whole set of nodes available can be found in the [document here](https://www.alliedvision.com/fileadmin/content/documents/products/cameras/various/features/GigE_Features_Reference.pdf)

Hope this helps 🤓

---

<div class="post-metadata">

**Author:** ![lxu](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@lxu](https://forum.commonvisionblox.com/u/lxu)\
**Post date:** [January 8, 2020, 9:49am UTC](https://forum.commonvisionblox.com/t/automatic-ajustment-of-iris-exposure-and-gain/1004/3 "2020-01-08T09:49:56Z")

</div>

Thanks a lot. I’ll take a look at it.  
/Lei
