summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:01:49 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:01:49 +0900
commitfb8121e28a0becdabebc0c87a268c0b2f72d4e02 (patch)
treefce2cc36791bd8bf4894c50a5027a754e5c6c4c0
parent7803d5ba6c602cf3a50c0b62cbebfe3b54e21f13 (diff)
fully implement disable timing cal percentage check
-rw-r--r--device-functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index 76db714..d14f513 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -3360,7 +3360,7 @@ int Set_VI_Add_Cal(int parameter,int channel,float cal_point)
/* check for excessive deviation between old and new amplitudes at this range/word combination */
- if (fabs(cal_point-old_val) > max_in_range/3.0) {
+ if ((fabs(cal_point-old_val) > max_in_range/3.0) && !globals.Sys.disable_timing_cal_percent_check) {
return CalibrationPercentError;
}
/* check for overly-close data points */