(self)
return val.value
long: Indicates in samples per channel the current position in
            the buffer.
long: Indicates in samples per channel the current position in
            the buffer.
long : Indicates in samples per channel the current position in the buffer .
def curr_read_pos(self):
        """
        long: Indicates in samples per channel the current position in
            the buffer.
        """
        val = ctypes.c_ulonglong()

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

        error_code = cfunc(
            self._handle, ctypes.byref(val))
        check_for_error(error_code)

        return val.value
def curr_read_pos ( self ) : val = ctypes . c_ulonglong ( ) cfunc = lib_importer . windll . DAQmxGetReadCurrReadPos if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle , ctypes . POINTER ( ctypes . c_ulonglong ) ] error_code = cfunc ( self . _handle , ctypes . byref ( val ) ) check_for_error ( error_code ) return val . value