def METHOD_NAME(self):
    mode = self.get_measurement_mode()
    com_str = "%s:RANGe:AUTO?" % mode
    self._visainstrument.write(com_str)
    res_str = self._visainstrument.read()
    return int(res_str)