aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: