def updateConfig(self, eleobj, config, type='simu'):
        """ write new configuration to element

            :param eleobj: define element object
            :param config: new configuration for element, string or dict
            :param type: 'simu' by default, could be online, misc, comm, ctrl
        """
        eleobj.setConf(config, type=type)
def updateConfig ( self , eleobj , config , type = 'simu' ) : eleobj . setConf ( config , type = type )
write new configuration to element

            :param eleobj: define element object
            :param config: new configuration for element, string or dict
            :param type: 'simu' by default, could be online, misc, comm, ctrl