From: Frank Mori Hess Date: Mon, 13 Oct 2003 19:22:07 +0000 (+0000) Subject: fix coarse/fine ai pregain offset caldacs for pci-6025e X-Git-Tag: r0_7_22~121 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28ea3d0529423af82b6b7f718e8f96c9a1fe06eb;p=comedilib.git fix coarse/fine ai pregain offset caldacs for pci-6025e --- diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 4d1c775..496894f 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -922,9 +922,9 @@ static int cal_ni_pci_6025e(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;