aboutsummaryrefslogtreecommitdiff
path: root/examples/system
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2019-02-01 09:31:18 +1100
committermorefigs <morefigs@gmail.com>2019-02-01 09:31:18 +1100
commit293e2aef2f05b0e58ad2974f02458af825de11c7 (patch)
tree05e0d70b2083454b0010fdf28820d947a865cd76 /examples/system
parentc11421c950d0512886d5b967092e7a8e63fbf5e9 (diff)
downloadpymba-293e2aef2f05b0e58ad2974f02458af825de11c7.tar.gz
pymba-293e2aef2f05b0e58ad2974f02458af825de11c7.zip
list feature names examples
Diffstat (limited to 'examples/system')
-rw-r--r--examples/system/list_feature_names.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/system/list_feature_names.py b/examples/system/list_feature_names.py
new file mode 100644
index 0000000..6243500
--- /dev/null
+++ b/examples/system/list_feature_names.py
@@ -0,0 +1,10 @@
+from pymba import Vimba
+
+
+if __name__ == '__main__':
+
+ with Vimba() as vimba:
+ system = vimba.system()
+
+ for feature_name in system.feature_names():
+ print(feature_name)