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)