diff options
| author | morefigs <morefigs@gmail.com> | 2019-01-29 10:18:21 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2019-01-29 10:18:21 +1100 |
| commit | e3d3291bea56a9c7185aad27ba4084c615f7e661 (patch) | |
| tree | 11041dc1e9791c97d6c68d70098346f7bad09ced /examples/get_camera.py | |
| parent | 8f6ac20bf8e090cca1ce537f27079bcd5b3dea46 (diff) | |
| download | pymba-e3d3291bea56a9c7185aad27ba4084c615f7e661.tar.gz pymba-e3d3291bea56a9c7185aad27ba4084c615f7e661.zip | |
clean up and add new examples
Diffstat (limited to 'examples/get_camera.py')
| -rw-r--r-- | examples/get_camera.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/get_camera.py b/examples/get_camera.py index 3821053..5a9285b 100644 --- a/examples/get_camera.py +++ b/examples/get_camera.py @@ -1,16 +1,9 @@ from pymba import Vimba -from time import sleep if __name__ == '__main__': with Vimba() as vmb: - - # required for discovering GigE cameras - if vmb.system().GeVTLIsPresent: - vmb.system().run_feature_command("GeVDiscoveryAllOnce") - sleep(0.2) - # provide camera index or id camera = vmb.camera(0) print(camera) |
