# Read image counter

**URL:** <https://forum.commonvisionblox.com/t/read-image-counter/763>\
**Category:** C++ API\
**Tags:** discovery, genicam\
**Created:** [May 13, 2019, 7:12am UTC](https://forum.commonvisionblox.com/t/read-image-counter/763 "2019-05-13T07:12:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [May 13, 2019, 1:52pm UTC](https://forum.commonvisionblox.com/t/read-image-counter/763/2 "2019-05-13T13:52:53Z")

</div>

Hi @lhartu and welcome to the CVB Forum,

If you use a GenICam compliant camera you need to access most of the features by using the NodeMap.  
I found an example in this post:  
[https://forum.commonvisionblox.com/t/genapi-stringnode-value-access/263/2?u=sebastian](https://forum.commonvisionblox.com/t/genapi-stringnode-value-access/263/2)

In your case it would probably be an integer node so you need to use the IntegerNode class:

```
auto integerNode = deviceNodeMap->Node<Cvb::IntegerNode>(CVB_LIT(DeviceVendorName));
auto value = integerNode->Value();
```

---

_[View the full topic](https://forum.commonvisionblox.com/t/read-image-counter/763)._
