This commit is contained in:
gobbo_a
2017-06-07 10:59:53 +02:00
parent c9a61d49a7
commit a6733e4cc5
6 changed files with 164 additions and 55 deletions

View File

@@ -0,0 +1,20 @@
camtool.start("SLG-LCAM-C041")
v=camtool.stream.take()
ids = v.getIdentifiers()
vals = v.getValues()
for i in range(len(ids)):
if "__len__" in dir(vals[i]):
print ids[i] + " = " + str(type(vals[i]))
else:
print ids[i] + " = " + str(vals[i])
for id in ids:
obj = camtool.getValue(id)
if (obj is None):
obj="null"
elif "__len__" in dir(obj):
obj = type(obj)
print str(id) + " = " + str(obj)