# Could anyone help with getting current exposure time in C++?

**URL:** <https://forum.commonvisionblox.com/t/could-anyone-help-with-getting-current-exposure-time-in-c/1054>\
**Category:** Programming Questions\
**Created:** [February 11, 2020, 11:09am UTC](https://forum.commonvisionblox.com/t/could-anyone-help-with-getting-current-exposure-time-in-c/1054 "2020-02-11T11:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunsid123](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@arunsid123](https://forum.commonvisionblox.com/u/arunsid123)\
**Post date:** [February 11, 2020, 11:09am UTC](https://forum.commonvisionblox.com/t/could-anyone-help-with-getting-current-exposure-time-in-c/1054/1 "2020-02-11T11:09:12Z")

</div>

I am using CVB libraries in linux to get images from GeniCam,and i need to do a calculation based on present exposure time.How could i get this?Could someone help me?

---

<div class="post-metadata">

**Author:** ![Frank](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/frank/32/42_2.png) [@Frank](https://forum.commonvisionblox.com/u/Frank)\
**Post date:** [February 11, 2020, 12:46pm UTC](https://forum.commonvisionblox.com/t/could-anyone-help-with-getting-current-exposure-time-in-c/1054/2 "2020-02-11T12:46:57Z")

</div>

You can use the nodemap to retrieve the value. I think CVB comes with a few tutorials that use the nodemap to access camera properties. For instance there is the VCGenICamGrabConsoleExample in _%CVB%Tutorial\Hardware\GenICam\VC\VCGenICamGrabConsoleExample_. There, have a look at the method _void genicam\_access(IMG hCamera)_. In this method, the camera parameter “Width” is queried. You can do the same for the exposure time.

Also, there are a few threads regarding nodemaps that might be worth checking out.

[https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246/7](https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246/7)

[https://forum.commonvisionblox.com/t/nodes-mit-cvgenapi-dll/826](https://forum.commonvisionblox.com/t/nodes-mit-cvgenapi-dll/826)
