def niDigital_DeleteAllTimeSets(self, vi):
    with self._func_lock:
        if (self.niDigital_DeleteAllTimeSets_cfunc is None):
            self.niDigital_DeleteAllTimeSets_cfunc = self._get_library_function('niDigital_DeleteAllTimeSets')
            self.niDigital_DeleteAllTimeSets_cfunc.argtypes = [ViSession]
            self.niDigital_DeleteAllTimeSets_cfunc.restype = ViStatus
    return self.niDigital_DeleteAllTimeSets_cfunc(vi)
def niDigital_DeleteAllTimeSets(self, vi):
    with self._func_lock:
        if (self.niDigital_DeleteAllTimeSets_cfunc is None):
            self.niDigital_DeleteAllTimeSets_cfunc = self._get_library_function('niDigital_DeleteAllTimeSets')
            self.niDigital_DeleteAllTimeSets_cfunc.argtypes = [ViSession]
            self.niDigital_DeleteAllTimeSets_cfunc.restype = ViStatus
    return self.niDigital_DeleteAllTimeSets_cfunc(vi)