def niDigital_CreateTimeSet(self, vi, name):
    with self._func_lock:
        if (self.niDigital_CreateTimeSet_cfunc is None):
            self.niDigital_CreateTimeSet_cfunc = self._get_library_function('niDigital_CreateTimeSet')
            self.niDigital_CreateTimeSet_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar)]
            self.niDigital_CreateTimeSet_cfunc.restype = ViStatus
    return self.niDigital_CreateTimeSet_cfunc(vi, name)
def niDigital_CreateTimeSet(self, vi, name):
    with self._func_lock:
        if (self.niDigital_CreateTimeSet_cfunc is None):
            self.niDigital_CreateTimeSet_cfunc = self._get_library_function('niDigital_CreateTimeSet')
            self.niDigital_CreateTimeSet_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar)]
            self.niDigital_CreateTimeSet_cfunc.restype = ViStatus
    return self.niDigital_CreateTimeSet_cfunc(vi, name)