From 9c0934c05cfd93881d2c4cc713d0cf91e874b2c7 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 01:14:34 +0900 Subject: Add commands to add EA distort voltages based on existing ampl cal points --- error_utils.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'error_utils.c') 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; -- cgit