def niDigital_error_message(self, vi, error_code, error_message):
    with self._func_lock:
        if (self.niDigital_error_message_cfunc is None):
            self.niDigital_error_message_cfunc = self._get_library_function('niDigital_error_message')
            self.niDigital_error_message_cfunc.argtypes = [ViSession, ViStatus, ctypes.POINTER(ViChar)]
            self.niDigital_error_message_cfunc.restype = ViStatus
    return self.niDigital_error_message_cfunc(vi, error_code, error_message)
def niDigital_error_message(self, vi, error_code, error_message):
    with self._func_lock:
        if (self.niDigital_error_message_cfunc is None):
            self.niDigital_error_message_cfunc = self._get_library_function('niDigital_error_message')
            self.niDigital_error_message_cfunc.argtypes = [ViSession, ViStatus, ctypes.POINTER(ViChar)]
            self.niDigital_error_message_cfunc.restype = ViStatus
    return self.niDigital_error_message_cfunc(vi, error_code, error_message)