(self, ports_to_connect)
Adds a cDAQ Sync connection between devices. The connection is
        not verified.

        Args:
            ports_to_connect (nidaqmx.types.CDAQSyncConnection):
                Specifies the cDAQ Sync ports to connect.
Adds a cDAQ Sync connection between devices. The connection is
        not verified.
Adds a cDAQ Sync connection between devices . The connection is not verified .
def add_cdaq_sync_connection(self, ports_to_connect):
        """
        Adds a cDAQ Sync connection between devices. The connection is
        not verified.

        Args:
            ports_to_connect (nidaqmx.types.CDAQSyncConnection):
                Specifies the cDAQ Sync ports to connect.
        """
        port_list = flatten_channel_string(
            [ports_to_connect.output_port, ports_to_connect.input_port])

        cfunc = lib_importer.windll.DAQmxAddCDAQSyncConnection
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [ctypes_byte_str]

        error_code = cfunc(port_list)
        check_for_error(error_code)
def add_cdaq_sync_connection ( self , ports_to_connect ) : port_list = flatten_channel_string ( [ ports_to_connect . output_port , ports_to_connect . input_port ] ) cfunc = lib_importer . windll . DAQmxAddCDAQSyncConnection if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ ctypes_byte_str ] error_code = cfunc ( port_list ) check_for_error ( error_code )