# Rigbuffer size depends on how device is opened

**URL:** https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110
**Category:** .Net API
**Tags:** csharp, genicam, gigevision
**Created:** [February 1, 2024, 10:56am UTC](https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110 "2024-02-01T10:56:14Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![B9611](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@B9611](https://forum.commonvisionblox.com/u/B9611)
#### Post date: [February 6, 2024, 12:54pm UTC](https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110/4 "2024-02-06T12:54:20Z")

</div>

Thank you @illusive and @Chris ,  
I’m now setting `NumBuffer` and `PacketSize` using the `SetParameter` method on the devices found before opening them. It works as desired now. The CVB version is 14.0.9.  
If I understand [Setting PacketSize with Device.Discover](https://forum.commonvisionblox.com/t/setting-packetsize-with-device-discover/1014) correctly, the values in the GenICam.ini file are completely ignored, if the `Discover` interface is used. So the information is here, you just have to find and understand it 😉 .  
Thanks again.

---

_[View the full topic](https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110)._
