(self)
Stops the task and returns it to the state the task was in before the
        DAQmx Start Task method ran.
Stops the task and returns it to the state the task was in before the
        DAQmx Start Task method ran.
Stops the task and returns it to the state the task was in before the DAQmx Start Task method ran .
def stop(self):
        """
        Stops the task and returns it to the state the task was in before the
        DAQmx Start Task method ran.
        """
        cfunc = lib_importer.windll.DAQmxStopTask
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [lib_importer.task_handle]

        error_code = cfunc(self._handle)
        check_for_error(error_code)
def stop ( self ) : cfunc = lib_importer . windll . DAQmxStopTask if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle ] error_code = cfunc ( self . _handle ) check_for_error ( error_code )