From c3306fa8066a38938bfbe4558ee0f88d61c53974 Mon Sep 17 00:00:00 2001 From: morefigs Date: Sun, 13 Apr 2014 11:18:10 +1000 Subject: Update README.md --- README.md | 10 ++++++++-- 1 file 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: -- cgit v1.2.3