qcodes/instrument_drivers/tektronix/Keithley_2600_channels.py
def _check_time_trace(self) -> None:
        """
        A helper function that compares the integration time with measurement
        interval for accurate results.

        Raises:
            RuntimeError: If no instrument attached to Parameter.
        """
        if self.instrument is None:
            raise RuntimeError("No instrument attached to Parameter.")

        dt = self.instrument.timetrace_dt()
        nplc = self.instrument.nplc()
        linefreq = self.instrument.linefreq()
        plc = 1/linefreq
        if nplc * plc > dt:
            warnings.warn(f'Integration time of {nplc*plc*1000:.1f} ' +
                          f'ms is longer than {dt*1000:.1f} ms set ' +
                          'as measurement interval. Consider lowering ' +
                          'NPLC or increasing interval.', UserWarning, 2)

        A helper function that compares the integration time with measurement
        interval for accurate results.

        Raises:
            RuntimeError: If no instrument attached to Parameter.
        
A helper function that compares the integration time with measurement
interval for accurate results.
A helper function that compares the integration time with measurement interval for accurate results .
def _check_time_trace(self) -> None:
        if self.instrument is None:
            raise RuntimeError("No instrument attached to Parameter.")
        dt = self.instrument.timetrace_dt()
        nplc = self.instrument.nplc()
        linefreq = self.instrument.linefreq()
        plc = 1/linefreq
        if nplc * plc > dt:
            warnings.warn(f'Integration time of {nplc*plc*1000:.1f} ' +
                          f'ms is longer than {dt*1000:.1f} ms set ' +
                          'as measurement interval. Consider lowering ' +
                          'NPLC or increasing interval.', UserWarning, 2)
def _check_time_trace ( self ) -> None : if self . instrument is None : raise RuntimeError ( "No instrument attached to Parameter." ) dt = self . instrument . timetrace_dt ( ) nplc = self . instrument . nplc ( ) linefreq = self . instrument . linefreq ( ) plc = 1 / linefreq if nplc * plc > dt : warnings . warn ( f'Integration time of {nplc*plc*1000:.1f} ' + f'ms is longer than {dt*1000:.1f} ms set ' + 'as measurement interval. Consider lowering ' + 'NPLC or increasing interval.' , UserWarning , 2 )
A helper function that compares the integration time with measurement
interval for accurate results.
A helper function that compares the integration time with measurement interval for accurate results .
"""
        A helper function that compares the integration time with measurement
        interval for accurate results.

        Raises:
            RuntimeError: If no instrument attached to Parameter.
        """
If no instrument attached to Parameter.
If no instrument attached to Parameter .
RuntimeError
self