aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2014-03-08 13:27:02 +1100
committermorefigs <morefigs@gmail.com>2014-03-08 13:27:02 +1100
commit318ec3a28a35a58e620bc2f0d23f4cb512925fa4 (patch)
tree8c5133e33bcac457b78c25da68a4fdf6fd326241
parent16261001b401eefb6a0dc575bb3e16b3e32344ce (diff)
downloadpymba-318ec3a28a35a58e620bc2f0d23f4cb512925fa4.tar.gz
pymba-318ec3a28a35a58e620bc2f0d23f4cb512925fa4.zip
Update README.md
-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()