From 22b88279c2db04e1b9cd07d567ead1858585e133 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 30 Aug 2003 02:08:21 +0000 Subject: [PATCH] coarse and fine pregain offsets were switched for pci-6024e --- comedi_calibrate/ni.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 718a640..4d1c775 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -903,9 +903,9 @@ static int cal_ni_pci_6024e(calibration_setup_t *setup) ni_caldac_layout_t layout; init_ni_caldac_layout( &layout ); - layout.adc_pregain_offset = 8; + layout.adc_pregain_offset = 0; layout.adc_postgain_offset = 4; - layout.adc_pregain_offset_fine = 0; + layout.adc_pregain_offset_fine = 8; layout.adc_gain = 2; layout.dac_offset[ 0 ] = 6; layout.dac_gain[ 0 ] = 11; -- 2.26.2