summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:14:34 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:14:34 +0900
commit9c0934c05cfd93881d2c4cc713d0cf91e874b2c7 (patch)
tree32853ef683caed0fe83062d511af0f1331088714 /error_utils.c
parent635528d0cb0590f5578cb6ab1d0e0b97b51f0c15 (diff)
Add commands to add EA distort voltages based on existing ampl cal points
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 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;