def write(self, data):
    'Send raw bytes to the instrument.\n\n        :param data: bytes to be sent to the instrument\n        :type data: bytes\n        '
    try:
        return self.usb_send_ep.write(data)
    except usb.core.USBError as e:
        raise ValueError(str(e))
Send raw bytes to the instrument.

:param data: bytes to be sent to the instrument
:type data: bytes
def write(self, data):
    'Send raw bytes to the instrument.\n\n        :param data: bytes to be sent to the instrument\n        :type data: bytes\n        '
    try:
        return self.usb_send_ep.write(data)
    except usb.core.USBError as e:
        raise ValueError(str(e))