From: Frank Mori Hess Date: Sat, 30 Aug 2003 02:08:21 +0000 (+0000) Subject: coarse and fine pregain offsets were switched for pci-6024e X-Git-Tag: r0_7_22~129 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22b88279c2db04e1b9cd07d567ead1858585e133;p=comedilib.git coarse and fine pregain offsets were switched for pci-6024e --- 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;