(
            self, rate, source="", active_edge=Edge.RISING,
            sample_mode=AcquisitionType.FINITE, samps_per_chan=1000)
"Sets the source of the Sample Clock, the rate of the Sample
        Clock, and the number of samples to acquire or generate. The
        device acquires or generates samples on each Sample Clock edge,
        but it does not respond to certain triggers until a few Sample
        Clock edges later. Pipelining allows higher data transfer rates
        at the cost of increased trigger response latency. Refer to the
        device documentation for information about which triggers
        pipelining affects.\r\n\r\nThis timing type allows handshaking
        using the Pause trigger and either the Ready for Transfer event
        or the Data Active event. Refer to the device documentation for
        more information.\r\n\r\nThis timing type is supported only by
        the NI 6536 and NI 6537."

        Args:
            rate (float): Specifies the sampling rate in samples per
                channel per second. If you use an external source for
                the Sample Clock, set this input to the maximum expected
                rate of that clock.
            source (Optional[str]): Specifies the source terminal of the
                Sample Clock. Leave this input unspecified to use the
                default onboard clock of the device.
            active_edge (Optional[nidaqmx.constants.Edge]): Specifies on
                which edges of Sample Clock pulses to acquire or
                generate samples.
            sample_mode (Optional[nidaqmx.constants.AcquisitionType]): 
                Specifies if the task acquires or generates samples
                continuously or if it acquires or generates a finite
                number of samples.
            samps_per_chan (Optional[long]): Specifies the number of
                samples to acquire or generate for each channel in the
                task if **sample_mode** is **FINITE_SAMPLES**. If
                **sample_mode** is **CONTINUOUS_SAMPLES**, NI-DAQmx uses
                this value to determine the buffer size. This function
                returns an error if the specified value is negative.
"Sets the source of the Sample Clock, the rate of the Sample
        Clock, and the number of samples to acquire or generate. The
        device acquires or generates samples on each Sample Clock edge,
        but it does not respond to certain triggers until a few Sample
        Clock edges later. Pipelining allows higher data transfer rates
        at the cost of increased trigger response latency. Refer to the
        device documentation for information about which triggers
        pipelining affects.\r\n\r\nThis timing type allows handshaking
        using the Pause trigger and either the Ready for Transfer event
        or the Data Active event. Refer to the device documentation for
        more information.\r\n\r\nThis timing type is supported only by
        the NI 6536 and NI 6537."
Sets the source of the Sample Clock the rate of the Sample Clock and the number of samples to acquire or generate . The device acquires or generates samples on each Sample Clock edge but it does not respond to certain triggers until a few Sample Clock edges later . Pipelining allows higher data transfer rates at the cost of increased trigger response latency . Refer to the device documentation for information about which triggers pipelining affects . \ r \ n \ r \ nThis timing type allows handshaking using the Pause trigger and either the Ready for Transfer event or the Data Active event . Refer to the device documentation for more information . \ r \ n \ r \ nThis timing type is supported only by the NI 6536 and NI 6537 .
def cfg_pipelined_samp_clk_timing(
            self, rate, source="", active_edge=Edge.RISING,
            sample_mode=AcquisitionType.FINITE, samps_per_chan=1000):
        """
        "Sets the source of the Sample Clock, the rate of the Sample
        Clock, and the number of samples to acquire or generate. The
        device acquires or generates samples on each Sample Clock edge,
        but it does not respond to certain triggers until a few Sample
        Clock edges later. Pipelining allows higher data transfer rates
        at the cost of increased trigger response latency. Refer to the
        device documentation for information about which triggers
        pipelining affects.\r\n\r\nThis timing type allows handshaking
        using the Pause trigger and either the Ready for Transfer event
        or the Data Active event. Refer to the device documentation for
        more information.\r\n\r\nThis timing type is supported only by
        the NI 6536 and NI 6537."

        Args:
            rate (float): Specifies the sampling rate in samples per
                channel per second. If you use an external source for
                the Sample Clock, set this input to the maximum expected
                rate of that clock.
            source (Optional[str]): Specifies the source terminal of the
                Sample Clock. Leave this input unspecified to use the
                default onboard clock of the device.
            active_edge (Optional[nidaqmx.constants.Edge]): Specifies on
                which edges of Sample Clock pulses to acquire or
                generate samples.
            sample_mode (Optional[nidaqmx.constants.AcquisitionType]): 
                Specifies if the task acquires or generates samples
                continuously or if it acquires or generates a finite
                number of samples.
            samps_per_chan (Optional[long]): Specifies the number of
                samples to acquire or generate for each channel in the
                task if **sample_mode** is **FINITE_SAMPLES**. If
                **sample_mode** is **CONTINUOUS_SAMPLES**, NI-DAQmx uses
                this value to determine the buffer size. This function
                returns an error if the specified value is negative.
        """
        cfunc = lib_importer.windll.DAQmxCfgPipelinedSampClkTiming
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [
                        lib_importer.task_handle, ctypes_byte_str,
                        ctypes.c_double, ctypes.c_int, ctypes.c_int,
                        ctypes.c_ulonglong]

        error_code = cfunc(
            self._handle, source, rate, active_edge.value, sample_mode.value,
            samps_per_chan)
        check_for_error(error_code)
def cfg_pipelined_samp_clk_timing ( self , rate , source = "" , active_edge = Edge . RISING , sample_mode = AcquisitionType . FINITE , samps_per_chan = 1000 ) : cfunc = lib_importer . windll . DAQmxCfgPipelinedSampClkTiming if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle , ctypes_byte_str , ctypes . c_double , ctypes . c_int , ctypes . c_int , ctypes . c_ulonglong ] error_code = cfunc ( self . _handle , source , rate , active_edge . value , sample_mode . value , samps_per_chan ) check_for_error ( error_code )