def niDigital_GetTimeSetDriveFormat(self, vi, pin, time_set_name, format):
    with self._func_lock:
        if (self.niDigital_GetTimeSetDriveFormat_cfunc is None):
            self.niDigital_GetTimeSetDriveFormat_cfunc = self._get_library_function('niDigital_GetTimeSetDriveFormat')
            self.niDigital_GetTimeSetDriveFormat_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ctypes.POINTER(ViChar), ctypes.POINTER(ViInt32)]
            self.niDigital_GetTimeSetDriveFormat_cfunc.restype = ViStatus
    return self.niDigital_GetTimeSetDriveFormat_cfunc(vi, pin, time_set_name, format)
def niDigital_GetTimeSetDriveFormat(self, vi, pin, time_set_name, format):
    with self._func_lock:
        if (self.niDigital_GetTimeSetDriveFormat_cfunc is None):
            self.niDigital_GetTimeSetDriveFormat_cfunc = self._get_library_function('niDigital_GetTimeSetDriveFormat')
            self.niDigital_GetTimeSetDriveFormat_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ctypes.POINTER(ViChar), ctypes.POINTER(ViInt32)]
            self.niDigital_GetTimeSetDriveFormat_cfunc.restype = ViStatus
    return self.niDigital_GetTimeSetDriveFormat_cfunc(vi, pin, time_set_name, format)