summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-17 08:15:13 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-17 08:15:13 -0400
commitb7d456868f90f6c6f763d18922be9f8fe6ce15e6 (patch)
treedc3f5955011415f5aa127b288e1f16a4f7837290 /error_utils.c
parent54bbd8c592c1679c182dd7aad7860331ea8b4868 (diff)
implemented Go_sys_net_91
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.");
}