# Discover camera and check this connection state

**URL:** https://forum.commonvisionblox.com/t/discover-camera-and-check-this-connection-state/536
**Category:** Python API
**Tags:** discovery, genicam, python
**Created:** [August 28, 2018, 9:31am UTC](https://forum.commonvisionblox.com/t/discover-camera-and-check-this-connection-state/536 "2018-08-28T09:31:18Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)
#### Post date: [September 3, 2018, 11:36am UTC](https://forum.commonvisionblox.com/t/discover-camera-and-check-this-connection-state/536/4 "2018-09-03T11:36:36Z")

</div>

Hi @gsFra

youi should use `def discover_from_root(flags = cvb.DiscoverFlags.FindAll, time_span = 300 )`  
Discover from a level is used to discover only on a single interface (e.g NIC or USB HC) which you have already discoverd before.

Connection monitoring is not yet implmented in CVBpy. What is your usecase here?

For example could periodically discover and check if your device is still there.  
Depending on your acquisition you may also get an disconnection error while waiting for an image.

---

_[View the full topic](https://forum.commonvisionblox.com/t/discover-camera-and-check-this-connection-state/536)._
