aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index 23f214f..1eac3a0 100644
--- a/README.md
+++ b/README.md
@@ -24,14 +24,17 @@ If Vimba and pymba are installed correctly, then the following code should give
### Interacting with cameras
Discover, open, manipulate, and capture frames from a camera.
-
- from vimba import *
- import time
-
+
+ from vimba import *
+ import time
+
# start Vimba
vimba = Vimba()
vimba.startup()
-
+
+ # get system object
+ system = vimba.getSystem()
+
# list available cameras (after enabling discovery for GigE cameras)
if system.GeVTLIsPresent:
system.runFeatureCommand("GeVDiscoveryAllOnce")
@@ -91,7 +94,7 @@ Discover, open, manipulate, and capture frames from a camera.
# close camera
camera0.closeCamera()
-
+
# shutdown Vimba
vimba.shutdown()