def niDigital_GetFailCount(self, vi, channel_list, buffer_size, failure_count, actual_num_read):
    with self._func_lock:
        if (self.niDigital_GetFailCount_cfunc is None):
            self.niDigital_GetFailCount_cfunc = self._get_library_function('niDigital_GetFailCount')
            self.niDigital_GetFailCount_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViInt64), ctypes.POINTER(ViInt32)]
            self.niDigital_GetFailCount_cfunc.restype = ViStatus
    return self.niDigital_GetFailCount_cfunc(vi, channel_list, buffer_size, failure_count, actual_num_read)
def niDigital_GetFailCount(self, vi, channel_list, buffer_size, failure_count, actual_num_read):
    with self._func_lock:
        if (self.niDigital_GetFailCount_cfunc is None):
            self.niDigital_GetFailCount_cfunc = self._get_library_function('niDigital_GetFailCount')
            self.niDigital_GetFailCount_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViInt64), ctypes.POINTER(ViInt32)]
            self.niDigital_GetFailCount_cfunc.restype = ViStatus
    return self.niDigital_GetFailCount_cfunc(vi, channel_list, buffer_size, failure_count, actual_num_read)