blob: f61d55da452d6491520da8d8c84635120b4792a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/python
from __future__ import absolute_import, print_function, division
from pymba import *
def test_systemfeature():
# get system object
with Vimba() as vimba:
system = vimba.getSystem()
# list system features
for featureName in system.get_feature_names():
print('System feature:', featureName)
fInfo = system.get_feature_info(featureName)
for field in fInfo.getFieldNames():
print("\t", featureName, ":", field, getattr(fInfo, field))
if __name__ == '__main__':
test_systemfeature()
|