pylab_ml.attributes.Child
- class Child(root, instName)[source]
Bases:
create_attributesMethods
__init__(root, instName)createattributes(dictionary[, parent, ...])Create attributes or methods from a dictionary.
read()write(msg)Attributes
if something wrong with your called methode, than set the result to self.ATTR_ERROR
last set/get attribute name.
last set attribute value.
- ATTR_ERROR
if something wrong with your called methode, than set the result to self.ATTR_ERROR
- attrLast
last set/get attribute name.
- attrLastvalue
last set attribute value.
- createattributes(dictionary, parent=None, child=None, childname='')
Create attributes or methods from a dictionary.
syntax from the dictionary see example in the class documentation.
- Parameters:
dictionary (dict) – {attribute/methode name : (Device command for read/write) , range, call functions}.
- Returns:
None.