diff options
| -rw-r--r-- | pymba/vimba.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pymba/vimba.py b/pymba/vimba.py index a943083..795e03f 100644 --- a/pymba/vimba.py +++ b/pymba/vimba.py @@ -50,8 +50,7 @@ class Vimba: vmb_version_info.minor, vmb_version_info.patch)) - @staticmethod - def startup(): + def startup(self): """ Initialize the Vimba C API. """ @@ -59,6 +58,10 @@ class Vimba: if error: raise VimbaException(error) + # automatically check for the presence of a GigE transport layer + if self.system().GeVTLIsPresent: + self.system().run_feature_command('GeVDiscoveryAllOnce') + @staticmethod def shutdown(): """ |
