def METHOD_NAME(
    self,
    request_type_bitmap_field: int,
    request_id: int,
    request_value: int,
    index: int,
    length: int = 0,
) -> bytes:
    """Performs a USB control pipe transfer from the device.
    Parameters
    ----------
    request_type_bitmap_field : int
        bmRequestType parameter of the setup stage of a USB control transfer.
    request_id : int
        bRequest parameter of the setup stage of a USB control transfer.
    request_value : int
        wValue parameter of the setup stage of a USB control transfer.
    index : int
        wIndex parameter of the setup stage of a USB control transfer.
        This is usually the index of the interface or endpoint.
    length : int
        wLength parameter of the setup stage of a USB control transfer.
        This value also specifies the size of the data buffer to receive
        the data from the optional data stage of the control transfer.
    Returns
    -------
    bytes
        The data buffer that receives the data from the optional data stage
        of the control transfer.
    """
    return self.visalib.usb_control_in(
        self.session,
        request_type_bitmap_field,
        request_id,
        request_value,
        index,
        length,
    )[0]