(self)
return _TaskAlternateConstructor(task_handle)
Loads this saved task.

        If you use this function to load a task, you must use DAQmx Clear
        Task to destroy it.

        Returns:
            nidaqmx.task.Task: Indicates the loaded Task object.
Loads this saved task.
Loads this saved task .
def load(self):
        """
        Loads this saved task.

        If you use this function to load a task, you must use DAQmx Clear
        Task to destroy it.

        Returns:
            nidaqmx.task.Task: Indicates the loaded Task object.
        """
        task_handle = lib_importer.task_handle(0)

        cfunc = lib_importer.windll.DAQmxLoadTask
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [
                        ctypes_byte_str,
                        ctypes.POINTER(lib_importer.task_handle)]

        error_code = cfunc(self._name, ctypes.byref(task_handle))
        check_for_error(error_code)

        from nidaqmx.system.storage._alternate_task_constructor import (
            _TaskAlternateConstructor)

        return _TaskAlternateConstructor(task_handle)
def load ( self ) : task_handle = lib_importer . task_handle ( 0 ) cfunc = lib_importer . windll . DAQmxLoadTask if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ ctypes_byte_str , ctypes . POINTER ( lib_importer . task_handle ) ] error_code = cfunc ( self . _name , ctypes . byref ( task_handle ) ) check_for_error ( error_code ) from nidaqmx . system . storage . _alternate_task_constructor import ( _TaskAlternateConstructor ) return _TaskAlternateConstructor ( task_handle )