summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:23:15 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:23:15 +0900
commitfb0f69cbe938b310a1d3e3d9697f132cb711a2ae (patch)
tree10a9a56f04328ad7d996e6a3e3b102d31148545d /error_utils.c
parent4a98427b540b45ac2504546184fc42c500a058ae (diff)
show error message on LCD if GPIB chip not detectedINSTRUMENT_6_0_15
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;