summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/error_utils.c b/error_utils.c
index a98c7af..d159e50 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -64,6 +64,7 @@ void set_gpib_error_flags (int error_num)
case SelfCalError:
case NetworkNotFound:
case Startup_Not_Finished:
+ case GPIB_missing:
GPIB_Set_Device_Dependent_Error();
break;
default:
@@ -475,6 +476,10 @@ void get_error_text(gchar **response, int error_num)
format_error_text(response,-240,"Not possible with the current calibration settings.");
break;
+ case GPIB_missing:
+ format_error_text(response,-240,"GPIB chip not detected. Defective hardware?");
+ break;
+
case CalibrationTimingProblem:
format_error_text(response,-221,"Set timing to allow operation at minimum and maximum amplitudes.");
break;