(self)
return val.tolist()
List[float]: Indicates the coefficients of a linear equation
            that NI-DAQmx uses to scale values from a voltage to the
            native format of the device. Each element of the list
            corresponds to a term of the equation. The first element of
            the list corresponds to the y-intercept, and the second
            element corresponds to the slope. Scaling coefficients do
            not account for any custom scales that may be applied to the
            channel.
List[float]: Indicates the coefficients of a linear equation
            that NI-DAQmx uses to scale values from a voltage to the
            native format of the device. Each element of the list
            corresponds to a term of the equation. The first element of
            the list corresponds to the y-intercept, and the second
            element corresponds to the slope. Scaling coefficients do
            not account for any custom scales that may be applied to the
            channel.
List [ float ] : Indicates the coefficients of a linear equation that NI - DAQmx uses to scale values from a voltage to the native format of the device . Each element of the list corresponds to a term of the equation . The first element of the list corresponds to the y - intercept and the second element corresponds to the slope . Scaling coefficients do not account for any custom scales that may be applied to the channel .
def ao_dev_scaling_coeff(self):
        """
        List[float]: Indicates the coefficients of a linear equation
            that NI-DAQmx uses to scale values from a voltage to the
            native format of the device. Each element of the list
            corresponds to a term of the equation. The first element of
            the list corresponds to the y-intercept, and the second
            element corresponds to the slope. Scaling coefficients do
            not account for any custom scales that may be applied to the
            channel.
        """
        cfunc = lib_importer.windll.DAQmxGetAODevScalingCoeff
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [
                        lib_importer.task_handle, ctypes_byte_str,
                        wrapped_ndpointer(dtype=numpy.float64,
                        flags=('C','W')), ctypes.c_uint]

        temp_size = 0
        while True:
            val = numpy.zeros(temp_size, dtype=numpy.float64)

            size_or_code = cfunc(
                self._handle, self._name, val, temp_size)

            if is_array_buffer_too_small(size_or_code):
                # Buffer size must have changed between calls; check again.
                temp_size = 0
            elif size_or_code > 0 and temp_size == 0:
                # Buffer size obtained, use to retrieve data.
                temp_size = size_or_code
            else:
                break

        check_for_error(size_or_code)

        return val.tolist()
def ao_dev_scaling_coeff ( self ) : cfunc = lib_importer . windll . DAQmxGetAODevScalingCoeff if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle , ctypes_byte_str , wrapped_ndpointer ( dtype = numpy . float64 , flags = ( 'C' , 'W' ) ) , ctypes . c_uint ] temp_size = 0 while True : val = numpy . zeros ( temp_size , dtype = numpy . float64 ) size_or_code = cfunc ( self . _handle , self . _name , val , temp_size ) if is_array_buffer_too_small ( size_or_code ) : # Buffer size must have changed between calls; check again. temp_size = 0 elif size_or_code > 0 and temp_size == 0 : # Buffer size obtained, use to retrieve data. temp_size = size_or_code else : break check_for_error ( size_or_code ) return val . tolist ( )