diff options
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/error_utils.c b/error_utils.c index dfd6f93..24bcd86 100644 --- a/error_utils.c +++ b/error_utils.c @@ -73,6 +73,7 @@ void set_gpib_error_flags (int error_num) case NetworkNotFound: case Startup_Not_Finished: case GPIB_missing: + case Between_0_and_10_Volts: GPIB_Set_Device_Dependent_Error(); break; default: @@ -465,6 +466,10 @@ void get_error_text(gchar **response, int error_num) format_error_text(response,-340,"Percent change is too large."); break; + case Between_0_and_10_Volts: + format_error_text(response,-340,"Must be between 0.0 and 10.0."); + break; + case CalibrationPolarityError: format_error_text(response,-340,"Old and new polarities disagree."); break; |