summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/error_utils.c b/error_utils.c
index c4eae61..e6adb6e 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -57,6 +57,7 @@ void set_gpib_error_flags (int error_num)
case CalibrationPolarityError:
case Soft_Limit_Exceeded:
case SelfCalError:
+ case NetworkNotFound:
GPIB_Set_Device_Dependent_Error();
break;
default:
@@ -494,6 +495,11 @@ void get_error_text(gchar **response, int error_num)
format_error_text(response,-222,"Incorrect old password, or new password is too long or short. ");
break;
+ case NetworkNotFound:
+ format_error_text(response,-240,"Network not found.");
+ break;
+
+
default:
format_error_text(response,-200,"Specific problem unknown.");
}