qcodes/instrument_drivers/Keysight/N9030B.py
def _get_data(self, trace_num: int) -> ParamRawDataType:
        """
        Gets data from the measurement.
        """
        try:
            timeout = self.sweep_time() + self.root_instrument._additional_wait
            with self.root_instrument.timeout.set_to(timeout):
                data_str = self.ask(f":READ:"
                                    f"{self.root_instrument.measurement()}"
                                    f"{trace_num}?")
                data = np.array(data_str.rstrip().split(",")).astype("float64")
        except TimeoutError as e:
            raise TimeoutError("Couldn't receive any data. Command timed "
                               "out.") from e

        trace_data = data[1::2]
        return trace_data

        Gets data from the measurement.
        
Gets data from the measurement.
Gets data from the measurement .
def _get_data(self, trace_num: int) -> ParamRawDataType:
        try:
            timeout = self.sweep_time() + self.root_instrument._additional_wait
            with self.root_instrument.timeout.set_to(timeout):
                data_str = self.ask(f":READ:"
                                    f"{self.root_instrument.measurement()}"
                                    f"{trace_num}?")
                data = np.array(data_str.rstrip().split(",")).astype("float64")
        except TimeoutError as e:
            raise TimeoutError("Couldn't receive any data. Command timed "
                               "out.") from e
        trace_data = data[1::2]
        return trace_data
def _get_data ( self , trace_num : int ) -> ParamRawDataType : try : timeout = self . sweep_time ( ) + self . root_instrument . _additional_wait with self . root_instrument . timeout . set_to ( timeout ) : data_str = self . ask ( f":READ:" f"{self.root_instrument.measurement()}" f"{trace_num}?" ) data = np . array ( data_str . rstrip ( ) . split ( "," ) ) . astype ( "float64" ) except TimeoutError as e : raise TimeoutError ( "Couldn't receive any data. Command timed " "out." ) from e trace_data = data [ 1 : : 2 ] return trace_data
Gets data from the measurement.
Gets data from the measurement .
"""
        Gets data from the measurement.
        """
self
trace_num
int