# Close Channel-Grid Window

**URL:** <https://casparcgforum.org/t/close-channel-grid-window/3307>\
**Category:** General\
**Created:** [July 8, 2020, 8:58am UTC](https://casparcgforum.org/t/close-channel-grid-window/3307 "2020-07-08T08:58:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ingo](https://casparcgforum.org/user_avatar/casparcgforum.org/ingo/32/1419_2.png) [@Ingo](https://casparcgforum.org/u/Ingo)\
**Post date:** [July 8, 2020, 8:58am UTC](https://casparcgforum.org/t/close-channel-grid-window/3307/1 "2020-07-08T08:58:25Z")

</div>

Hello again,

improving my playout client I was fiddeling around with the channel\_grid (CapsarCG Server 2.11 NRK).  
I understand that the “channel\_grid”-command generates the grid view on the last defined channel. Additionally it opens a window on the desktop showing the same.  
I only need the preview on the desktop so I defined a “dummy”-channel with a “dummy”-consumer in the config. That works fine so far.

I now come to the point that I like my user so control if he or she wants the grid to appear or not. So I was wondering if there is way to close the desktop window by command.  
I tried “CLEAR channel” which at least empties the window.

If I type “channel\_grid” in the console while the channel-grid is already active the server responses with “Channel Grid Window Uninitialized” and then inititializes the Channel Grid again. The desktop windows flickers for a split-second. So there might be a function to close the desktop window. But is it possible to do that by a server command?

Has anybody an idea or solution for that?

Thanks a lot.

Regards  
Ingo

P.S.: I cannot use Windows-Handles to close the window because my client is not running locally on the same machine.

---

<div class="post-metadata">

**Author:** ![vimlesh1975](https://casparcgforum.org/user_avatar/casparcgforum.org/vimlesh1975/32/1608_2.png) [@vimlesh1975](https://casparcgforum.org/u/vimlesh1975)\
**Post date:** [July 8, 2020, 9:45am UTC](https://casparcgforum.org/t/close-channel-grid-window/3307/2 "2020-07-08T09:45:12Z")

</div>

Last channel screen consumer is reconfigured as channel\_grid. So if there are total 4 channels, Following command works good.

```auto
clear 4
mixer 4 clear
remove 4 screen

```

If we then issue following command, normal screen consumer opens.

```auto
add 4 screen

```

---

<div class="post-metadata">

**Author:** ![Ingo](https://casparcgforum.org/user_avatar/casparcgforum.org/ingo/32/1419_2.png) [@Ingo](https://casparcgforum.org/u/Ingo)\
**Post date:** [July 8, 2020, 10:11am UTC](https://casparcgforum.org/t/close-channel-grid-window/3307/3 "2020-07-08T10:11:46Z")

</div>

Thanks vimlesh!  
That was exactly what I’m looking for 😀

Ingo
