def receiveData(self, cmd):
        if self.mode == SIMTRACE_OFFLINE:
            return []
        try:
            return self.usbCtrlIn(cmd)
        except:
            time.sleep(0.2)
            return self.usbCtrlIn(cmd)