def niDigital_self_test(self, vi, test_result, test_message):
    with self._func_lock:
        if (self.niDigital_self_test_cfunc is None):
            self.niDigital_self_test_cfunc = self._get_library_function('niDigital_self_test')
            self.niDigital_self_test_cfunc.argtypes = [ViSession, ctypes.POINTER(ViInt16), ctypes.POINTER(ViChar)]
            self.niDigital_self_test_cfunc.restype = ViStatus
    return self.niDigital_self_test_cfunc(vi, test_result, test_message)
def niDigital_self_test(self, vi, test_result, test_message):
    with self._func_lock:
        if (self.niDigital_self_test_cfunc is None):
            self.niDigital_self_test_cfunc = self._get_library_function('niDigital_self_test')
            self.niDigital_self_test_cfunc.argtypes = [ViSession, ctypes.POINTER(ViInt16), ctypes.POINTER(ViChar)]
            self.niDigital_self_test_cfunc.restype = ViStatus
    return self.niDigital_self_test_cfunc(vi, test_result, test_message)