def niDigital_ApplyTDROffsets(self, vi, channel_list, num_offsets, offsets):
    with self._func_lock:
        if (self.niDigital_ApplyTDROffsets_cfunc is None):
            self.niDigital_ApplyTDROffsets_cfunc = self._get_library_function('niDigital_ApplyTDROffsets')
            self.niDigital_ApplyTDROffsets_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViReal64)]
            self.niDigital_ApplyTDROffsets_cfunc.restype = ViStatus
    return self.niDigital_ApplyTDROffsets_cfunc(vi, channel_list, num_offsets, offsets)
def niDigital_ApplyTDROffsets(self, vi, channel_list, num_offsets, offsets):
    with self._func_lock:
        if (self.niDigital_ApplyTDROffsets_cfunc is None):
            self.niDigital_ApplyTDROffsets_cfunc = self._get_library_function('niDigital_ApplyTDROffsets')
            self.niDigital_ApplyTDROffsets_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViReal64)]
            self.niDigital_ApplyTDROffsets_cfunc.restype = ViStatus
    return self.niDigital_ApplyTDROffsets_cfunc(vi, channel_list, num_offsets, offsets)