# Line scan camera crashes while setting the buffers in the driver

**URL:** <https://forum.commonvisionblox.com/t/line-scan-camera-crashes-while-setting-the-buffers-in-the-driver/1718>\
**Category:** General Questions\
**Tags:** acquisition, ringbuffer, linescan, genicam, gigevision\
**Created:** [June 22, 2022, 9:13am UTC](https://forum.commonvisionblox.com/t/line-scan-camera-crashes-while-setting-the-buffers-in-the-driver/1718 "2022-06-22T09:13:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![keerthitheja](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@keerthitheja](https://forum.commonvisionblox.com/u/keerthitheja)\
**Post date:** [July 4, 2022, 8:11am UTC](https://forum.commonvisionblox.com/t/line-scan-camera-crashes-while-setting-the-buffers-in-the-driver/1718/6 "2022-07-04T08:11:58Z")

</div>

Hi @c.hartmann  
So, for DS0, the component selector is RGB and DS1 the component selector is NIR. I set these values individually for each stream and run the acquisition and it runs fine. But, when I close the camera and open it again, the component selector goes back to RGB for both the streams, I need to manually changed the value for DS1. Now, this problem happens when I use CVB++ as well.

The issue has been answered by you here  
[https://forum.commonvisionblox.com/t/modifying-individual-pixelformat-settings-for-dual-streams-of-a-multispectral-camera/1696/10?u=keerthitheja](https://forum.commonvisionblox.com/t/modifying-individual-pixelformat-settings-for-dual-streams-of-a-multispectral-camera/1696/10)

---

_[View the full topic](https://forum.commonvisionblox.com/t/line-scan-camera-crashes-while-setting-the-buffers-in-the-driver/1718)._
