def niDigital_TDR(self, vi, channel_list, apply_offsets, offsets_buffer_size, offsets, actual_num_offsets):
    with self._func_lock:
        if (self.niDigital_TDR_cfunc is None):
            self.niDigital_TDR_cfunc = self._get_library_function('niDigital_TDR')
            self.niDigital_TDR_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViBoolean, ViInt32, ctypes.POINTER(ViReal64), ctypes.POINTER(ViInt32)]
            self.niDigital_TDR_cfunc.restype = ViStatus
    return self.niDigital_TDR_cfunc(vi, channel_list, apply_offsets, offsets_buffer_size, offsets, actual_num_offsets)
def niDigital_TDR(self, vi, channel_list, apply_offsets, offsets_buffer_size, offsets, actual_num_offsets):
    with self._func_lock:
        if (self.niDigital_TDR_cfunc is None):
            self.niDigital_TDR_cfunc = self._get_library_function('niDigital_TDR')
            self.niDigital_TDR_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViBoolean, ViInt32, ctypes.POINTER(ViReal64), ctypes.POINTER(ViInt32)]
            self.niDigital_TDR_cfunc.restype = ViStatus
    return self.niDigital_TDR_cfunc(vi, channel_list, apply_offsets, offsets_buffer_size, offsets, actual_num_offsets)