From fb8121e28a0becdabebc0c87a268c0b2f72d4e02 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 00:01:49 +0900 Subject: fully implement disable timing cal percentage check --- device-functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit