aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2014-04-13 11:18:10 +1000
committermorefigs <morefigs@gmail.com>2014-04-13 11:18:10 +1000
commitc3306fa8066a38938bfbe4558ee0f88d61c53974 (patch)
treefec4355204b521c38273e623f99729b11a299e3a
parentfdf65a291476ae1deebf2a81f3772497e663a752 (diff)
downloadpymba-c3306fa8066a38938bfbe4558ee0f88d61c53974.tar.gz
pymba-c3306fa8066a38938bfbe4558ee0f88d61c53974.zip
Update README.md
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index a6bef6d..f1d5050 100644
--- a/README.md
+++ b/README.md
@@ -99,14 +99,17 @@ Get a reference to the Vimba system object and list available system features.
from vimba import *
+ vimba = Vimba()
+ vimba.startup()
+
# get system object
system = vimba.getSystem()
-
+
# list system features
for featureName in system.getFeatureNames():
print 'System feature:', featureName
- # shutdown Vimba
+ # shutdown Vimba
vimba.shutdown()
### Interacting with transport layer interfaces
@@ -115,6 +118,9 @@ Get a reference to an interface object and list available interface features.
from vimba import *
+ vimba = Vimba()
+ vimba.startup()
+
# get list of available interfaces
interfaceIds = vimba.getInterfaceIds()
for interfaceId in interfaceIds: