def read(self, size):
    'Receive raw bytes to the instrument.\n\n        :param size: number of bytes to receive\n        :return: received bytes\n        :return type: bytes\n        '
    if (size <= 0):
        size = 1
    data = array_to_bytes(self.usb_recv_ep.read(size, self.timeout))
    return data
Receive raw bytes to the instrument.

:param size: number of bytes to receive
:return: received bytes
:return type: bytes
def read(self, size):
    'Receive raw bytes to the instrument.\n\n        :param size: number of bytes to receive\n        :return: received bytes\n        :return type: bytes\n        '
    if (size <= 0):
        size = 1
    data = array_to_bytes(self.usb_recv_ep.read(size, self.timeout))
    return data