qcodes/instrument_drivers/Keysight/N9030B.py
def _available_modes(self) -> Tuple[str, ...]:
        """
        Returns present and licensed modes for the instrument.
        """
        available_modes = self.ask(":INSTrument:CATalog?")
        av_modes = available_modes[1:-1].split(',')
        modes: Tuple[str, ...] = ()
        for i, mode in enumerate(av_modes):
            if i == 0:
                modes = modes + (mode.split(' ')[0], )
            else:
                modes = modes + (mode.split(' ')[1], )
        return modes

        Returns present and licensed modes for the instrument.
        
Returns present and licensed modes for the instrument.
Returns present and licensed modes for the instrument .
def _available_modes(self) -> Tuple[str, ...]:
        available_modes = self.ask(":INSTrument:CATalog?")
        av_modes = available_modes[1:-1].split(',')
        modes: Tuple[str, ...] = ()
        for i, mode in enumerate(av_modes):
            if i == 0:
                modes = modes + (mode.split(' ')[0], )
            else:
                modes = modes + (mode.split(' ')[1], )
        return modes
def _available_modes ( self ) -> Tuple [ str , ... ] : available_modes = self . ask ( ":INSTrument:CATalog?" ) av_modes = available_modes [ 1 : - 1 ] . split ( ',' ) modes : Tuple [ str , ... ] = ( ) for i , mode in enumerate ( av_modes ) : if i == 0 : modes = modes + ( mode . split ( ' ' ) [ 0 ] , ) else : modes = modes + ( mode . split ( ' ' ) [ 1 ] , ) return modes
Returns present and licensed modes for the instrument.
Returns present and licensed modes for the instrument .
"""
        Returns present and licensed modes for the instrument.
        """
self