def get_controller(equipment, accessmethod, logfile=None):
    path = _CONTROLLERMAP[accessmethod]
    constructor = module.get_object(path)
    return constructor(equipment, logfile)
Return controller instance that is based on the equipment role.
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/controller.py/get_controller