qcodes/instrument_drivers/rigol/DG4000.py
def _upload_data(self, data: Union[Sequence[float], np.ndarray]) -> None:
        """
        Upload data to the AWG memory.

        data: list, tuple or numpy array containing the datapoints
        """
        if 1 <= len(data) <= 16384:
            # Convert the input to a comma-separated string
            string = ','.join(format(f, '.9f') for f in data)

            self.write('DATA VOLATILE,' + string)
        else:
            raise Exception('Data length of ' + str(len(data)) +
                            ' is not in the range of 1 to 16384')

        Upload data to the AWG memory.

        data: list, tuple or numpy array containing the datapoints
        
Upload data to the AWG memory.
data: list, tuple or numpy array containing the datapoints
Upload data to the AWG memory . data : list tuple or numpy array containing the datapoints
def _upload_data(self, data: Union[Sequence[float], np.ndarray]) -> None:
        if 1 <= len(data) <= 16384:
            string = ','.join(format(f, '.9f') for f in data)
            self.write('DATA VOLATILE,' + string)
        else:
            raise Exception('Data length of ' + str(len(data)) +
                            ' is not in the range of 1 to 16384')
def _upload_data ( self , data : Union [ Sequence [ float ] , np . ndarray ] ) -> None : if 1 <= len ( data ) <= 16384 : string = ',' . join ( format ( f , '.9f' ) for f in data ) self . write ( 'DATA VOLATILE,' + string ) else : raise Exception ( 'Data length of ' + str ( len ( data ) ) + ' is not in the range of 1 to 16384' )
Upload data to the AWG memory.
Upload data to the AWG memory .
"""
        Upload data to the AWG memory.

        data: list, tuple or numpy array containing the datapoints
        """ # Convert the input to a comma-separated string
self
data
Union[Sequence[float], np.ndarray]