diff options
| author | morefigs <morefigs@gmail.com> | 2014-04-13 11:18:10 +1000 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2014-04-13 11:18:10 +1000 |
| commit | c3306fa8066a38938bfbe4558ee0f88d61c53974 (patch) | |
| tree | fec4355204b521c38273e623f99729b11a299e3a | |
| parent | fdf65a291476ae1deebf2a81f3772497e663a752 (diff) | |
| download | pymba-c3306fa8066a38938bfbe4558ee0f88d61c53974.tar.gz pymba-c3306fa8066a38938bfbe4558ee0f88d61c53974.zip | |
Update README.md
| -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: |
