diff options
| -rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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: |
