def niDigital_IsDone(self, vi, done):
    with self._func_lock:
        if (self.niDigital_IsDone_cfunc is None):
            self.niDigital_IsDone_cfunc = self._get_library_function('niDigital_IsDone')
            self.niDigital_IsDone_cfunc.argtypes = [ViSession, ctypes.POINTER(ViBoolean)]
            self.niDigital_IsDone_cfunc.restype = ViStatus
    return self.niDigital_IsDone_cfunc(vi, done)
def niDigital_IsDone(self, vi, done):
    with self._func_lock:
        if (self.niDigital_IsDone_cfunc is None):
            self.niDigital_IsDone_cfunc = self._get_library_function('niDigital_IsDone')
            self.niDigital_IsDone_cfunc.argtypes = [ViSession, ctypes.POINTER(ViBoolean)]
            self.niDigital_IsDone_cfunc.restype = ViStatus
    return self.niDigital_IsDone_cfunc(vi, done)