qcodes/instrument_drivers/Keysight/N9030B.py
def _set_stop_offset(self, val: float) -> None:
        """
        Sets stop offset for frequency in the plot
        """
        start_offset = self.start_offset()
        self.write(f":SENSe:LPLot:FREQuency:OFFSet:STOP {val}")
        stop_offset = self.stop_offset()

        if abs(val - stop_offset) >= 1:
            self.log.warning(
                f"Could not set stop offset to {val} setting it to "
                f"{stop_offset}"
            )

        if val <= start_offset or abs(val-start_offset) < 10:
            self.log.warning(f"Provided stop frequency offset {val} Hz was "
                             f"less than preset start frequency offset "
                             f"{start_offset} Hz. Provided stop frequency "
                             f"offset {val} Hz is set and new start freq offset"
                             f" is: {self.start_offset()} Hz.")

        Sets stop offset for frequency in the plot
        
Sets stop offset for frequency in the plot
Sets stop offset for frequency in the plot
def _set_stop_offset(self, val: float) -> None:
        start_offset = self.start_offset()
        self.write(f":SENSe:LPLot:FREQuency:OFFSet:STOP {val}")
        stop_offset = self.stop_offset()
        if abs(val - stop_offset) >= 1:
            self.log.warning(
                f"Could not set stop offset to {val} setting it to "
                f"{stop_offset}"
            )
        if val <= start_offset or abs(val-start_offset) < 10:
            self.log.warning(f"Provided stop frequency offset {val} Hz was "
                             f"less than preset start frequency offset "
                             f"{start_offset} Hz. Provided stop frequency "
                             f"offset {val} Hz is set and new start freq offset"
                             f" is: {self.start_offset()} Hz.")
def _set_stop_offset ( self , val : float ) -> None : start_offset = self . start_offset ( ) self . write ( f":SENSe:LPLot:FREQuency:OFFSet:STOP {val}" ) stop_offset = self . stop_offset ( ) if abs ( val - stop_offset ) >= 1 : self . log . warning ( f"Could not set stop offset to {val} setting it to " f"{stop_offset}" ) if val <= start_offset or abs ( val - start_offset ) < 10 : self . log . warning ( f"Provided stop frequency offset {val} Hz was " f"less than preset start frequency offset " f"{start_offset} Hz. Provided stop frequency " f"offset {val} Hz is set and new start freq offset" f" is: {self.start_offset()} Hz." )
Sets stop offset for frequency in the plot
Sets stop offset for frequency in the plot
"""
        Sets stop offset for frequency in the plot
        """
self
val
float